occt: master 4af098ba

Author Committer Branch Timestamp Parent
ibs bugmaster master 2015-02-12 08:59:56 master 0090ae85
Affected Issues  0025723: Visualization, TKV3d - the center of rotation should be calculated taking into account structure visibility and selection flags
Changeset 0025723: Visualization, TKV3d - the center of rotation should be calculated taking into account structure visibility and selection flags

V3d_View::Gravity() - compute scene bounding box only including highlighted objects, if there are any, to provide context-oriented center of gravity.
Skip hidden objects, if there are any visible.
Do not return any value from this method.

Extend command vrotate with new flags -mouseStart and -mouseMove, to emulate rotation by mouse.

Unused argument theDi of VRotate disabled
mod - src/V3d/V3d_View.cdl Diff File
mod - src/V3d/V3d_View.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
add - tests/bugs/vis/bug25723 Diff File
add - tests/bugs/vis/bug25723_1 Diff File