1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0030695: Visualization - selection by box should use clipping planes set for viewer - moving check on touching the clipping plane in selection only.

This commit is contained in:
nds
2019-08-07 09:42:33 +03:00
committed by bugmaster
parent 87bda9d805
commit 8996b4490a
4 changed files with 150 additions and 9 deletions

View File

@@ -160,6 +160,8 @@ void StdSelect_ViewerSelector3d::Pick (const Standard_Integer theXPMin,
mySelectingVolumeMgr.BuildSelectingVolume (aMinMousePos,
aMaxMousePos);
mySelectingVolumeMgr.SetViewClipping (theView->ClipPlanes(), Handle(Graphic3d_SequenceOfHClipPlane)());
TraverseSensitives();
}
@@ -178,6 +180,8 @@ void StdSelect_ViewerSelector3d::Pick (const TColgp_Array1OfPnt2d& thePolyline,
mySelectingVolumeMgr.SetWindowSize (aWidth, aHeight);
mySelectingVolumeMgr.BuildSelectingVolume (thePolyline);
mySelectingVolumeMgr.SetViewClipping (theView->ClipPlanes(), Handle(Graphic3d_SequenceOfHClipPlane)());
TraverseSensitives();
}