]> OCCT Git - occt-copy.git/commit
0026209: Visualization - provide a method to fit view to the specific bounding box
authorvpa <vpa@opencascade.com>
Thu, 14 May 2015 16:32:05 +0000 (19:32 +0300)
committervsr <vsr@opencascade.com>
Wed, 10 Jun 2015 13:16:13 +0000 (16:16 +0300)
commitb8551e8ce178afac344729284dba3daad0d90e8a
tree4add506128e20b0e3ba146bf7474319b755f4181
parent792c7a1ebc46eb5dce8d93fb18fe232a51d34a55
0026209: Visualization - provide a method to fit view to the specific bounding box

Methods V3d_View::FitAll and NIS_View::FitAll3d now take arbitrary bounding box as a parameter;
Option -selected added to vfit command to fit only selected entities in Draw;
F key press now fits selected objects if any by default.
15 files changed:
src/AIS/AIS_InteractiveContext.cdl
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_InteractiveContext_1.cxx
src/AIS/AIS_LocalContext.cxx
src/AIS/AIS_LocalContext.lxx
src/AIS/AIS_LocalContext_1.cxx
src/SelectMgr/FILES
src/SelectMgr/SelectMgr.cdl
src/SelectMgr/SelectMgr_IndexedMapOfOwner.hxx [new file with mode: 0644]
src/SelectMgr/SelectMgr_SelectableObject.cdl
src/SelectMgr/SelectMgr_SelectableObject.cxx
src/V3d/V3d_View.cdl
src/V3d/V3d_View.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/bug26209 [new file with mode: 0644]