]> 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>
Tue, 30 Apr 2019 11:08:12 +0000 (14:08 +0300)
commit2e0ccd4408adf82c5d1a09b5dac2eceffdb20171
treebae198ceb6c5d7b4e4574ce1a12d43fa6ec1c099
parent66278500dbab688281beafd70d0a7eb1a74396d9
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 commits: b079e6b0539e45d515672a5bfb0ddf3f14a8bfc8e9a83b5f5946eb3fff861ad58e02165af7133cca)
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]