Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030641Open CASCADE[OCCT] OCCT:Visualizationpublic2019-04-09 11:352019-09-25 07:50
Assigned Tobugmaster 
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version[OCCT] 7.4.0 
Target Version[OCCT] 7.4.0Fixed in Version 
Summary0030641: Visualization - possibility to select in predefined ZLayers only
DescriptionThe reason of proposed improvement:

- the viewer scene contains objects in several layers (layer of usual 3D objects and several layers with objects used 2D persistent),
- there are a lot of objects displayed in default ZLayer,
- some of application algorithm requires selection of objects in only one of layers(e.g. in 2D layer).
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0028638newkgv Community Improve pick performance by applying filter before geometry checking 

-  Notes
nds (developer)
2019-04-09 11:36

One of possible solution is to Deactivate/Activate not necessary objects, but it seems that (as there are a lot of objects) it breaks performance.

So, is it possible to provide an interface to deactivate temporary some of ZLayers in selection mechanism of Visualization?
kgv (developer)
2019-04-09 11:49
edited on: 2019-04-09 11:49

It looks clumsy introducing extra means of ZLayers deactivation/activation in selection.
Selection restrictions are usually done via selection filters (AIS_InteractiveContext::AddFilter()).

The performance of Deactivation/Activation is another issue.
One of possible improvements is splitting selection entities into dedicated BVH trees per Z-Layer, which would be consistent to how TKOpenGl already manages presentations.
So that adding/removing selectable object into auxiliary Z layer would not be slow in case of a large scene.

git (administrator)
2019-04-09 12:07

Branch CR30641 has been created by nds.

SHA-1: 6e940e66ffe4746f50d088289c0104a2724e89ea

Detailed log of new commits:

Author: nds
Date: Tue Apr 9 12:00:28 2019 +0300

    0030641: Visualization - possibility to select in predefined ZLayers only
nds (developer)
2019-04-09 12:10

Dear Kirill,

please have a look at CR30641.

Best regards, Natalia
nds (developer)
2019-09-04 18:11

Dear bugmaster,

please close this issue.

The reason is that the expected problem with performance has not been discovered in checked cases even without modifications prepared for this issue.

- Issue History
Date Modified Username Field Change
2019-04-09 11:35 nds New Issue
2019-04-09 11:35 nds Assigned To => kgv
2019-04-09 11:36 nds Note Added: 0083553
2019-04-09 11:49 kgv Note Added: 0083555
2019-04-09 11:49 kgv Note Edited: 0083555 View Revisions
2019-04-09 11:49 kgv Note Edited: 0083555 View Revisions
2019-04-09 12:07 git Note Added: 0083557
2019-04-09 12:10 nds Note Added: 0083558
2019-04-09 12:21 kgv Assigned To kgv => nds
2019-04-09 12:21 kgv Status new => feedback
2019-04-09 13:35 kgv Relationship added related to 0028638
2019-09-04 18:11 nds Note Added: 0086745
2019-09-04 18:11 nds Assigned To nds => bugmaster
2019-09-25 07:50 bugmaster Status feedback => closed
2019-09-25 07:50 bugmaster Resolution open => no change required

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker