mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026641: Visualization, TKOpenGl - handle correctly transformation persistence within perspective projection.
Add a new method AIS_InteractiveContext::SetTransformPersistence, which sets transform persistence to object and selection. Add a new method SelectMgr_SelectionManager::UpdateSelection, which re-adds selectable object in BVHs in all viewer selectors. Add a new method SelectMgr_ViewerSelector::MoveSelectableObject, which moves object from set of not transform persistence objects to set of transform persistence objects (or vice versa). Add a new method Graphic3d_TransformUtils::Convert, which converts gp_Trsf to Graphic3d_Mat4. Remove the method PrsMgr_PresentableObject::SetTransformPersistence(flag, point).
This commit is contained in:
@@ -601,6 +601,10 @@ public:
|
||||
//! for the view of the Interactive Object anObj.
|
||||
Standard_EXPORT void Status (const Handle(AIS_InteractiveObject)& anObj, TCollection_ExtendedString& astatus) const;
|
||||
|
||||
//! Sets transform persistence.
|
||||
Standard_EXPORT void SetTransformPersistence (const Handle(AIS_InteractiveObject)& theObj,
|
||||
const Graphic3d_TransModeFlags& theFlag,
|
||||
const gp_Pnt& thePoint = gp_Pnt (0.0, 0.0, 0.0));
|
||||
|
||||
//! Updates the current viewer, the viewer in Neutral Point.
|
||||
//! Objects selected when there is no open local context
|
||||
|
Reference in New Issue
Block a user