View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0028505 | Open CASCADE | OCCT:Visualization | public | 2017-03-02 16:05 | 2024-03-28 17:13 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | no change required | ||
Product Version | 7.1.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0028505: Visualization - let dynamic elements of interactive object notify of bounding box changing | ||||
Description | Now 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. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
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. |
|
closed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-02 16:05 |
|
New Issue | |
2017-03-02 16:05 |
|
Assigned To | => aba |
2017-03-02 16:34 |
|
Description Updated | |
2017-07-20 11:30 | kgv | Target Version | 7.2.0 => 7.4.0 |
2019-09-04 12:58 |
|
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 |
|
Note Added: 0115366 | |
2024-03-14 18:11 |
|
Assigned To | drochalo => bugmaster |
2024-03-14 18:11 |
|
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 |