]> 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)
committerkgv <kgv@opencascade.com>
Tue, 5 Mar 2019 12:13:51 +0000 (15:13 +0300)
commitd6c2c8203445ee72ecf45e1cd3aaf80f7a0a60bd
tree604f68eeb59da81f7952e05d1834126dd60546c4
parentb4880d3d23d78dd86fb0089093cc41bdca6f4088
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.
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]