]> OCCT Git - occt-copy.git/commit
0031549: Draw Harness, ViewerTest - add interactive polygon definition mode to vselec... CR31549
authormkrylova <mkrylova@opencascade.com>
Tue, 16 Jun 2020 12:16:34 +0000 (15:16 +0300)
committermkrylova <mkrylova@opencascade.com>
Tue, 16 Jun 2020 12:16:34 +0000 (15:16 +0300)
commit163e58793e90b5bc6abf6d726623273549defe25
tree71109c0ec40980e458d78d7d5a2cb1403730fdfb
parent32b723d5c6c781dec7fed9ddca674caf0ccf6979
0031549: Draw Harness, ViewerTest - add interactive polygon definition mode to vselect command

Has been added an option to interactive polygonal selection by
- addition new option "-polygonal" to vselect command
- addition activation polygonal selection mode in ViewerTest_ViewerCommands
- addition new AIS_MouseGesture
- addition new function in AIS_ViewController to set new AIS_MouseGesture
- addition Boolean variable in ViewerTest_EventManager to enable/disable polygonal selection
- editing functions in ViewerTest_EventManager for manipulation with selection
src/AIS/AIS_MouseGesture.hxx
src/AIS/AIS_ViewController.cxx
src/AIS/AIS_ViewController.hxx
src/ViewerTest/ViewerTest_EventManager.cxx
src/ViewerTest/ViewerTest_EventManager.hxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx