View Issue Details

IDProjectCategoryView StatusLast Update
0028505Open CASCADEOCCT:Visualizationpublic2024-03-28 17:13
ReporterabaAssigned Tobugmaster  
Status closedResolutionno change required 
Product Version7.1.0 
Target VersionUnscheduled 
Summary0028505: Visualization - let dynamic elements of interactive object notify of bounding box changing
DescriptionNow AIS interactive object (or structure) hasn't any interface to hold properly dynamically changing parts of presentation (OpenGl elements).
It is needed to control that bounding box is always up-to-date.

Though, it is possible today to develop both "dynamic" element drawing (OpenGl_Element) and element selection (Select3D_SensitiveEntity). However existing mechanism of caching presentation-level BVH tree does not expect changes of presentation's sub-elements and therefore there is no way to have selection working properly. Selection manager should be aware of such changes and reconstruct 1st level BVH or should avoid using it for mutable presentations at all.

Expected consequence after implementing this feature: to have working selection with dynamically changing geometry defined by OpenGl_Element elements and sensitive entities.
TagsNo tags attached.
Test case number



2024-03-14 18:10

developer   ~0115366

In the current version of OCCT (7.8), there are already some methods that can be used at an application level to monitor and update the bounding boxes of Interactive objects.
From the Interactive Objects, we have access to different presentations/structures and in each one we can have multiple groups of primitives (Graphic3d_Groups). These groups have the dynamic counter part in OpenGl_Groups which can contain many OpenGl_Elements.
We have already the option in both Graphic3d_Structure and Graphic3d_Group levels to update the bounding box publicly:
- Graphic3d_Structure::MinMaxValues
- Graphic3d_Group::MinMaxValues

The method from groups updates the bounding box when adding new primitives. For structures, the method goes through every descendent structure and in turn for every groups in the structure to update its bounding box. In turn the upgrade of these bounding boxes is currently working on the different selections of objects by the usage of sensitive entities. So when the selection process is triggered, the bounding boxes of dynamic elements should already be updated at that point.

In conclusion, currently this issue is no longer relevant.
Dear Bugmaster please close it.


2024-03-28 17:13

administrator   ~0115502


Issue History

Date Modified Username Field Change
2017-03-02 16:05 aba New Issue
2017-03-02 16:05 aba Assigned To => aba
2017-03-02 16:34 apl Description Updated
2017-07-20 11:30 kgv Target Version 7.2.0 => 7.4.0
2019-09-04 12:58 abv Target Version 7.4.0 => 7.5.0
2020-09-21 17:20 kgv Target Version 7.5.0 => 7.6.0
2021-08-24 14:26 kgv Target Version 7.6.0 => 7.7.0
2022-08-17 11:55 kgv Target Version 7.7.0 => 7.8.0
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled
2024-03-13 14:08 ebelouso Assigned To aba => drochalo
2024-03-14 18:10 drochalo Note Added: 0115366
2024-03-14 18:11 drochalo Assigned To drochalo => bugmaster
2024-03-14 18:11 drochalo Status new => acknowledged
2024-03-28 17:13 vglukhik Status acknowledged => closed
2024-03-28 17:13 vglukhik Resolution open => no change required
2024-03-28 17:13 vglukhik Note Added: 0115502