Class for handling depth clipping range. It is used to perform checks in case if global (for the whole view) clipping planes are defined inside of SelectMgr_RectangularFrustum class methods.
More...
#include <SelectMgr_ViewClipRange.hxx>
Class for handling depth clipping range. It is used to perform checks in case if global (for the whole view) clipping planes are defined inside of SelectMgr_RectangularFrustum class methods.
◆ SelectMgr_ViewClipRange()
SelectMgr_ViewClipRange::SelectMgr_ViewClipRange |
( |
| ) |
|
|
inline |
Creates an empty clip range.
◆ AddClippingPlanes()
Add clipping planes. Planes and picking ray should be defined in the same coordinate system.
◆ AddClipSubRange()
void SelectMgr_ViewClipRange::AddClipSubRange |
( |
const Bnd_Range & | theRange | ) |
|
|
inline |
Adds a clipping sub-range (for clipping chains).
◆ ChangeUnclipRange()
Bnd_Range & SelectMgr_ViewClipRange::ChangeUnclipRange |
( |
| ) |
|
|
inline |
Returns the main unclipped range; [-inf, inf] by default.
◆ DumpJson()
Dumps the content of me into the stream.
◆ GetNearestDepth()
Calculates the min not clipped value from the range. Returns FALSE if the whole range is clipped.
◆ IsClipped()
Check if the given depth is not within clipping range(s), e.g. TRUE means depth is clipped.
◆ SetVoid()
void SelectMgr_ViewClipRange::SetVoid |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: