]> OCCT Git - occt-copy.git/commit
0031644: Visualization - flat skin for AIS_Manipulator presentation CR31644_1
authormzernova <mzernova@opencascade.com>
Fri, 25 Sep 2020 14:53:09 +0000 (17:53 +0300)
committermzernova <mzernova@opencascade.com>
Fri, 23 Oct 2020 12:20:20 +0000 (15:20 +0300)
commit3fb7f6481652d3b3be15ab9972f979fabf75f232
tree949821ea06ef1e50d2349e552a7668a190e0623d
parentae9f4b64cacf0df612944b3694a3bdfa5f1f29cf
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]