mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0031650: Visualization - invalid picking of object with local transformation and per-object clipping plane
SelectMgr_SelectingVolumeManager::SetViewClipping() now updates clipping range using picking ray in world coordinates, as clipping planes are always defined in world space.
This commit is contained in:
@@ -172,10 +172,12 @@ public:
|
||||
|
||||
//! Valid for point selection only!
|
||||
//! Computes depth range for clipping planes.
|
||||
//! @param theViewPlanes global view planes
|
||||
//! @param theObjPlanes object planes
|
||||
//! @param theViewPlanes [in] global view planes
|
||||
//! @param theObjPlanes [in] object planes
|
||||
//! @param theWorldSelMgr [in] selection volume in world space for computing clipping plane ranges
|
||||
Standard_EXPORT void SetViewClipping (const Handle(Graphic3d_SequenceOfHClipPlane)& theViewPlanes,
|
||||
const Handle(Graphic3d_SequenceOfHClipPlane)& theObjPlanes);
|
||||
const Handle(Graphic3d_SequenceOfHClipPlane)& theObjPlanes,
|
||||
const SelectMgr_SelectingVolumeManager* theWorldSelMgr);
|
||||
|
||||
//! Copy clipping planes from another volume manager.
|
||||
Standard_EXPORT void SetViewClipping (const SelectMgr_SelectingVolumeManager& theOther);
|
||||
|
Reference in New Issue
Block a user