Open CASCADE Technology  7.2.0
Public Member Functions

SelectMgr_ViewClipRange Class Reference

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 new empty view clip range. More...
 
void Set (const Standard_Real theDepthMin, const Standard_Real theDepthMax)
 Sets boundaries and validates view clipping range. More...
 
Standard_Boolean IsValid () const
 Returns true if clip range is set and depth of each matched primitive must be tested for satisfying the defined interval. More...
 
Standard_Real MaxDepth () const
 Returns the upper bound of valid depth range. More...
 
Standard_Real MinDepth () const
 Returns the lower bound of valid depth range. More...
 
void Clear ()
 Invalidates view clipping range. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SelectMgr_ViewClipRange()

SelectMgr_ViewClipRange::SelectMgr_ViewClipRange ( )
inline

Creates new empty view clip range.

Member Function Documentation

◆ Clear()

void SelectMgr_ViewClipRange::Clear ( )
inline

Invalidates view clipping range.

◆ IsValid()

Standard_Boolean SelectMgr_ViewClipRange::IsValid ( ) const
inline

Returns true if clip range is set and depth of each matched primitive must be tested for satisfying the defined interval.

◆ MaxDepth()

Standard_Real SelectMgr_ViewClipRange::MaxDepth ( ) const
inline

Returns the upper bound of valid depth range.

◆ MinDepth()

Standard_Real SelectMgr_ViewClipRange::MinDepth ( ) const
inline

Returns the lower bound of valid depth range.

◆ Set()

void SelectMgr_ViewClipRange::Set ( const Standard_Real  theDepthMin,
const Standard_Real  theDepthMax 
)
inline

Sets boundaries and validates view clipping range.


The documentation for this class was generated from the following file: