]> OCCT Git - occt-copy.git/commit
0030737: Visualization - implementing new selection schemes in context
authornds <nds@opencascade.com>
Fri, 18 Sep 2020 18:36:05 +0000 (21:36 +0300)
committernds <nds@opencascade.com>
Mon, 29 Mar 2021 09:58:09 +0000 (12:58 +0300)
commit9add1088c900b5fda635b843c6610c0dccda43eb
treecfedefe89a7eeb62c72d59839811f444cf11366e
parentb1afcbe6b661c230636bf19a30b5c3dd1db4fb78
0030737: Visualization - implementing new selection schemes in context

AIS_SelectionScheme enumeration is defined to set which selection behaviour is used in Select of context
AIS_InteractiveContext is corrected to use single Select method instead of combination of Select/ShiftSelect methods with a selection scheme parameter.
Upgrade: Select() -> SelectDetected/Rectangle/Polygon(AIS_SelectionScheme_Replace), ShiftSelect -> SelectDetected/Rectangle/Polygon(AIS_SelectionScheme_XOR)

(cherry picked from commit 75cf82505b83f6c85f43b1327e13bd5b88355ff5)
(cherry picked from commit c372bb79e9aee8d740d35cc9a2ffa6fde23693a0)
(cherry picked from commit 31d98879e11c7e83ba44eb96c7dc78a3c1a50cd9)
25 files changed:
dox/user_guides/visualization/images/visualization_selection_scheme_XOR.svg [new file with mode: 0644]
dox/user_guides/visualization/images/visualization_selection_scheme_add.svg [new file with mode: 0644]
dox/user_guides/visualization/images/visualization_selection_scheme_clear.svg [new file with mode: 0644]
dox/user_guides/visualization/images/visualization_selection_scheme_remove.svg [new file with mode: 0644]
dox/user_guides/visualization/images/visualization_selection_scheme_replace.svg [new file with mode: 0644]
dox/user_guides/visualization/visualization.md
samples/CSharp/OCCTProxy/OCCTProxy.cpp
samples/CSharp/OCCTProxy_D3D/OCCTProxyD3D.cpp
samples/mfc/standard/01_Geometry/src/GeometryDoc.cpp
samples/mfc/standard/02_Modeling/src/ModelingDoc.cpp
samples/mfc/standard/04_Viewer3d/src/Viewer3dDoc.cpp
samples/mfc/standard/08_HLR/src/HLRView3D.cpp
samples/mfc/standard/Common/OCC_3dBaseDoc.cpp
src/AIS/AIS_InteractiveContext.hxx
src/AIS/AIS_InteractiveContext_1.cxx
src/AIS/AIS_NArray1OfEntityOwner.hxx [new file with mode: 0644]
src/AIS/AIS_Selection.cxx
src/AIS/AIS_Selection.hxx
src/AIS/AIS_SelectionScheme.hxx [new file with mode: 0644]
src/AIS/AIS_ViewController.cxx
src/AIS/FILES
src/QABugs/QABugs_16.cxx
src/QABugs/QABugs_19.cxx
src/ViewerTest/ViewerTest_EventManager.hxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx