DiscussionsIssue archiveOCCT:Visualization

Archived issue #0029086

Visualization, SelectMgr_ViewerSelector - drop Owners detected only by part of Entities within Box selection

Open CASCADEOCCT:Visualizationclosed11 public notes

Search issues

Description

Current behavior of SelectMgr_ViewerSelector in case of Box/Polyline selection is awkward and unusual - even with SelectMgr_ViewerSelector::AllowOverlapDetection() set to FALSE, detection returns Owners only partially covered (e.g. full covering of single Entity is enough).

Steps to reproduce

pload MODELING VISUALIZATION
box b 200 20 10
vclear
vinit View1
vaxo
vdisplay -dispMode 1 b
vselprops selHighlight -dispMode -1
vfit
vzoom 0.5
vselect 90 130 130 200 -allowoverlap 0
if { [vreadpixel 140 170 rgb name] != "DARKGOLDENROD3" } { puts "Error: object should not be selected!" }
vselect 90 130 310 280 -allowoverlap 0
if { [vreadpixel 140 170 rgb name] == "DARKGOLDENROD3" } { puts "Error: object should be selected!" }

Public activity

11 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Sep 6 22:04:25 2017 +0300

    0029086: Visualization, SelectMgr_ViewerSelector - drop Owners detected only by part of Entities within Box selection
02Author
Patch is ready for review.
03Commenter 2
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Thu Sep 7 18:29:13 2017 +0300

    Invalid test cases have been removed (checking OPPOSITE to what they are intended to test).

04Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Sep 6 22:04:25 2017 +0300

    0029086: Visualization, SelectMgr_ViewerSelector - drop Owners detected only by part of Entities within Box selection
05Author
06Commenter 6
Branch CR29086_1 reviewed without remarks, ready for testing.
07Commenter 1
Combination:

OCCT : CR29086_1 [revision removed]
Products : master

http://jenkins-test-10.nnov.opencascade.com/view/CR29086_1-master-KGV/

Number of compiler warnings:

Products :
Linux: 4 (4 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:

Windows:
OCCT
Total CPU difference: 17330.010689098726 / 17295.75286949859 [+0.20%]
Producst
Total CPU difference: 7688.758886599963 / 7720.302288799964 [-0.41%]

Linux:
OCCT
Total CPU difference: 19451.89000000023 / 19456.560000000376 [-0.02%]
Products
Total CPU difference: 7703.40000000009 / 7725.120000000072 [-0.28%]

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

08Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]
09Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]
10Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: mnv
Date: Wed Aug 1 18:09:37 2018 +0300

    0029076: Visualization - implement element shrinking Shader
    
    Element shrinking shader was implemented.
    Added new Interior styles:
    - Pixel Shrink: display shrunk triangulation of surface on pixels
    - Scale Shrink: display shrunk triangulation of surface on scalability
    - Solid Wireframe: display boundaries and surface
    Hollow, HiddenLine, Shrinks and Solid Wireframe interior styles are drawing by shader program with geometry shader.
    Added new parameter for vsetedgetype command:
    [-width] - set width of wireframe line.
    [-scalefactor] - set scale factor value for Scale Shrink presentation.
    Updated vsetinteriorstyle command.
    Updated behaviour of vsetedgetype command.
    Added quad presentation mode.
11Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]