]> OCCT Git - occt-copy.git/commit
0028390: Visualization, AIS_InteractiveContext - add topmost-only picking strategy CR28390_710
authorkgv <kgv@opencascade.com>
Tue, 11 Apr 2017 07:25:21 +0000 (10:25 +0300)
committerkgv <kgv@opencascade.com>
Thu, 13 Apr 2017 12:07:27 +0000 (15:07 +0300)
commit59df732aaafbd4012fea134aa7d5a0b816512b7d
treeb1f6cf8d94d247f786a6a79b8b81988b73ca6ef0
parent89aebdea8d6f4d15cfc50e9458cd8e2e25022326
0028390: Visualization, AIS_InteractiveContext - add topmost-only picking strategy

AIS_InteractiveContext::PickingStrategy(), added new property
defining picking strategy SelectMgr_PickingStrategy.
Strategy SelectMgr_PickingStrategy_OnlyTopmost allows picking only
topmost detected entity not rejected by Selection Filters.
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_InteractiveContext.hxx
src/AIS/AIS_InteractiveContext_1.cxx
src/SelectMgr/FILES
src/SelectMgr/SelectMgr_PickingStrategy.hxx [new file with mode: 0644]
src/ViewerTest/ViewerTest_ViewerCommands.cxx