DiscussionsIssue archiveOCCT:Visualization

Archived issue #0024610

Visualization, Visual3d_View::MinMaxValues() - skip erased objects while computing bounding box for Fit All operations

Open CASCADEOCCT:Visualizationclosed6 public notes

Search issues

Description

The problem is found in DRAWEXE. It is necessary to check whether this bug is issue of "verase" command or whether the bug is related to erase of objects from v3d viewer and AIS interactive context.

Steps to reproduce

pload ALL
box b 10 10 10
vdisplay b
vfit

box b2 10 10 10
ttranslate b2 50 50 50
vdisplay b2
vfit

verase b2
vfit --> BUG: only the first box is visible, however fit all takes into account both of them.

vremove b2
vfit --> fit all takes into account only first box

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


This branch includes the following new commits:

       new 2c97a4b 0024610: "vfit" takes into account erased objects Visual3d_View::MinMaxValues() corrected to ignore hidden Graphic3d_Structure instances, unused Graphic3d_StructureManager::MinMaxValues() removed.


Detailed log of new commits:

[revision removed]
Author: san
Date: Sun Aug 17 16:40:42 2014 +0400

    0024610: "vfit" takes into account erased objects
    Visual3d_View::MinMaxValues() corrected to ignore hidden
    Graphic3d_Structure instances,
    unused Graphic3d_StructureManager::MinMaxValues() removed.
02Commenter 2
Branch CR24610 ready for reviewing.
03Commenter 3
Dear Commenter 1,

Please test the patch.
04Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


      from 2c97a4b 0024610: "vfit" takes into account erased objects Visual3d_View::MinMaxValues() corrected to ignore hidden Graphic3d_Structure instances, unused Graphic3d_StructureManager::MinMaxValues() removed.
       new 35512f7 0024610: Visualization, Visual3d_View::MinMaxValues() - skip erased objects while computing bounding box for Fit All operations Correction of test-case


Detailed log of new commits:

[revision removed]
Author: apv
Date: Tue Aug 19 13:58:04 2014 +0400

    0024610: Visualization, Visual3d_View::MinMaxValues() - skip erased objects while computing bounding box for Fit All operations
    Correction of test-case

05Commenter 5
Dear Commenter 1,

Branch CR24610 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:
occt component:
   Linux: 15 (15 on master)
   Windows: 0 (0 on master)
products component:
   Linux: 11 (11 on master)
   Windows: 1 (1 on master)

Regressions/Differences:
Not detected

Testing case:
bugs vis bug24610 - OK
http://occt-tests/CR24610-master-occt/Debian60-64/bugs/vis/bug24610.html
http://occt-tests/CR24610-master-occt/Windows-32-VC10/bugs/vis/bug24610.html

Testing on Linux:
Total MEMORY difference: 341758872 / 341447496
Total CPU difference: 41650.53999999999 / 42265.69000000015

Testing on Windows:
Total MEMORY difference: 239930648 / 239736748
Total CPU difference: 34476.453125 / 32650.6875

There are differences in images found by testdiff:
http://occt-tests/CR24610-master-occt/Debian60-64/diff-Debian60-64.html
http://occt-tests/CR24610-master-occt/Windows-32-VC10/diff-Windows-32-VC10.html

06Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]