1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

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.
This commit is contained in:
kgv
2017-04-11 10:25:21 +03:00
committed by bugmaster
parent 973d410ea4
commit 14c4193d11
7 changed files with 137 additions and 30 deletions

View File

@@ -119,6 +119,7 @@ myDefaultDrawer(new Prs3d_Drawer()),
myCurLocalIndex(0),
myCurDetected(0),
myCurHighlighted(0),
myPickingStrategy (SelectMgr_PickingStrategy_FirstAcceptable),
myIsAutoActivateSelMode(Standard_True)
{
myStyles[Prs3d_TypeOfHighlight_None] = myDefaultDrawer;