0026641: Visualization, TKOpenGl - handle correctly transformation persistence within...
authorisk <isk@opencascade.com>
Tue, 5 Jul 2016 10:32:52 +0000 (13:32 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 7 Jul 2016 11:30:18 +0000 (14:30 +0300)
commit1d92133e83d9115bc790ac76aec4e04f8cd63d9f
treea9f0393ccce5d2325f923035bf7faf2b769e8f17
parentfbad941bd42dde17b5cda333ea6e1643d6f64fb0
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).
20 files changed:
src/AIS/AIS_GlobalStatus.hxx
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_InteractiveContext.hxx
src/Graphic3d/Graphic3d_TransformPers.hxx
src/Graphic3d/Graphic3d_TransformUtils.hxx
src/OpenGl/OpenGl_Layer.cxx
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_View.cxx
src/PrsMgr/PrsMgr_PresentableObject.cxx
src/PrsMgr/PrsMgr_PresentableObject.hxx
src/QABugs/QABugs_11.cxx
src/SelectMgr/SelectMgr_SelectionManager.cxx
src/SelectMgr/SelectMgr_SelectionManager.hxx
src/SelectMgr/SelectMgr_ViewerSelector.cxx
src/SelectMgr/SelectMgr_ViewerSelector.hxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/bug26344
tests/bugs/vis/bug26641 [new file with mode: 0644]