]> OCCT Git - occt.git/commit
0031644: Visualization - flat skin for AIS_Manipulator presentation
authormzernova <mzernova@opencascade.com>
Fri, 25 Sep 2020 14:53:09 +0000 (15:53 +0100)
committermzernova <mzernova@opencascade.com>
Sat, 1 Feb 2025 14:00:35 +0000 (14:00 +0000)
commita8a8017114260d1d4d88e0655d6568cba52cc1bd
tree6f3c0c14bf1792a155606f0f9e646856cddb2902
parent60360e3204795dc4184f5b947218bf9a73a65629
0031644: Visualization - flat skin for AIS_Manipulator presentation

Created flat skin for AIS_Manipulator presentation
Added "-flat" option to vmanipulator command

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.

v3d/manipulator/flat: test case added
14 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
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/v3d/manipulator/flat [new file with mode: 0644]