]> OCCT Git - occt-copy.git/commit
Added functionality to transform the manipulator depending on the camera rotation. CR31644
authormzernova <mzernova@opencascade.com>
Fri, 23 Oct 2020 12:05:57 +0000 (15:05 +0300)
committermzernova <mzernova@opencascade.com>
Fri, 23 Oct 2020 12:19:15 +0000 (15:19 +0300)
commit9cc4eb28e6671f1a9afc42cb71d47d9ee28bbc71
tree949821ea06ef1e50d2349e552a7668a190e0623d
parentfb390c0ef06fcbff0a60ac199e461526ecf3b92f
Added functionality to transform the manipulator depending on the camera rotation.

Added local transformation for Graphic3d_Group.

Added RecomputeTransformation method to PrsMgr_PresentableObject.
When overloading this method, you can set a transformation for an object depending on the rotation of the camera.
12 files changed:
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_Manipulator.cxx
src/AIS/AIS_Manipulator.hxx
src/AIS/AIS_ViewController.cxx
src/Graphic3d/Graphic3d_CView.cxx
src/Graphic3d/Graphic3d_Group.hxx
src/Graphic3d/Graphic3d_Structure.hxx
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_Structure.hxx
src/PrsMgr/PrsMgr_PresentableObject.hxx
src/PrsMgr/PrsMgr_Presentation.cxx
src/PrsMgr/PrsMgr_Presentation.hxx