1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
mkrylova e3d4b87912 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.
2021-03-04 19:43:13 +03:00

11 lines
216 B
Plaintext

vclear
meshfromstl m [locate_data_file b.stl]
vselmode m 8 1
vselect 150 100 -xor
vselect 200 200 -xor
vselect 250 250 -xor
vselect 200 100 -xor
vselect 250 100 -xor
meshshowsel m
vdump $::imagedir/${::casename}.png