]> OCCT Git - occt-copy.git/commit
0028954: Visualization - implement interactive object for camera manipulations
authoraba <aba@opencascade.com>
Fri, 8 Sep 2017 16:03:18 +0000 (19:03 +0300)
committernds <nds@opencascade.com>
Wed, 7 Nov 2018 15:51:29 +0000 (18:51 +0300)
commitb079e6b0539e45d515672a5bfb0ddf3f14a8bfc8
tree0adddc9bf20b961443149d5224b227dbd37fbbad
parent9bc5f5850a61be8afe2bd8c2490903a418fa8fc4
0028954: Visualization - implement interactive object for camera manipulations

Added new class AIS_ViewCube implementing interactive cube displaying orientation of the main axes of the model space in the viewer.
Each side, edge, or corner of the cube corresponds to particular orientation of the camera, and the class provides methods to move the camera to corresponding position (with animation if needed).

DRAW command vviewcube is added to use the cube in DRAW.

(cherry picked from commit cd47b946ed397b421d24a19da1928cd4d2391533)
src/AIS/AIS_ViewCube.cxx [new file with mode: 0644]
src/AIS/AIS_ViewCube.hxx [new file with mode: 0644]
src/AIS/FILES
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/v3d/viewcube/default [new file with mode: 0644]
tests/v3d/viewcube/move [new file with mode: 0644]
tests/v3d/viewcube/part [new file with mode: 0644]
tests/v3d/viewcube/style [new file with mode: 0644]
tests/v3d/viewcube/view [new file with mode: 0644]
tests/v3d/viewcube/view2 [new file with mode: 0644]