]> 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)
committerabv <abv@opencascade.com>
Fri, 21 Sep 2018 13:04:22 +0000 (16:04 +0300)
commit886850930b079aa796947619335ed2d20e9ba488
treed927006ceabdf426e4ab7e8b81c3b157077d31ce
parentf4e250cd5c1c06eb8dc8e1bc6cb7ec0f8525ad95
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]