![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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>
Public Member Functions | |
| SelectMgr_ViewClipRange () | |
| Creates an empty clip range. | |
| bool | IsClipped (const double theDepth) const |
| Check if the given depth is not within clipping range(s), e.g. TRUE means depth is clipped. | |
| bool | GetNearestDepth (const Bnd_Range &theRange, double &theDepth) const |
| Calculates the min not clipped value from the range. Returns FALSE if the whole range is clipped. | |
| void | SetVoid () |
| Clears clipping range. | |
| void | AddClippingPlanes (const Graphic3d_SequenceOfHClipPlane &thePlanes, const gp_Ax1 &thePickRay) |
| Add clipping planes. Planes and picking ray should be defined in the same coordinate system. | |
| Bnd_Range & | ChangeUnclipRange () |
| Returns the main unclipped range; [-inf, inf] by default. | |
| void | AddClipSubRange (const Bnd_Range &theRange) |
| Adds a clipping sub-range (for clipping chains). | |
| void | DumpJson (Standard_OStream &theOStream, int theDepth=-1) const |
| Dumps the content of me into the stream. | |
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.
|
inline |
Creates an empty clip range.
| void SelectMgr_ViewClipRange::AddClippingPlanes | ( | const Graphic3d_SequenceOfHClipPlane & | thePlanes, |
| const gp_Ax1 & | thePickRay ) |
Add clipping planes. Planes and picking ray should be defined in the same coordinate system.
Adds a clipping sub-range (for clipping chains).
|
inline |
Returns the main unclipped range; [-inf, inf] by default.
| void SelectMgr_ViewClipRange::DumpJson | ( | Standard_OStream & | theOStream, |
| int | theDepth = -1 ) const |
Dumps the content of me into the stream.
|
inline |
Calculates the min not clipped value from the range. Returns FALSE if the whole range is clipped.
Check if the given depth is not within clipping range(s), e.g. TRUE means depth is clipped.
|
inline |
Clears clipping range.