]> OCCT Git - occt.git/commit
0031779: Visualization, AIS_ViewController - controller should handle selection schemes
authormkrylova <mkrylova@opencascade.com>
Fri, 22 Jan 2021 07:44:42 +0000 (10:44 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 4 Mar 2021 16:43:13 +0000 (19:43 +0300)
commite3d4b87912755d074692ae638c8b5db82bc832af
treeb4b4553f25b8dffbd431f399d0066d86ec3eb019
parent329e5df986519164083d78b28ae62d1a3b10fa6a
0031779: Visualization, AIS_ViewController - controller should handle selection schemes

Added AIS_ViewController::MouseSelectionSchemes() property defining map of selection schemes for mouse+modifier combinations.
IsXOR flag has been replaced by AIS_SelectionScheme in interfaces.

Rubber-band selection with Shift key pressed now applies XOR selection scheme in in Draw Harness.
Command vselect has been extended to specify selection scheme by name.
22 files changed:
src/AIS/AIS_MouseGesture.hxx
src/AIS/AIS_ViewController.cxx
src/AIS/AIS_ViewController.hxx
src/AIS/AIS_ViewInputBuffer.hxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/bug10702
tests/bugs/vis/bug22048
tests/bugs/vis/bug23539_2
tests/bugs/vis/bug23649_1
tests/bugs/vis/bug23649_2
tests/bugs/vis/bug23649_3
tests/bugs/vis/bug23649_4
tests/bugs/vis/bug26147
tests/bugs/vis/bug26209
tests/bugs/vis/bug26462_1
tests/bugs/vis/bug26779
tests/bugs/vis/bug727
tests/v3d/materials/bug27818_2
tests/v3d/mesh/A1
tests/v3d/mesh/A2
tests/v3d/mesh/B2
tests/v3d/mesh/B3