Open CASCADE Technology  7.3.1.dev
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 an empty clip range. More...
 
Standard_Boolean IsClipped (const Standard_Real theDepth) const
 Check if the given depth is not within clipping range(s), e.g. TRUE means depth is clipped. More...
 
void SetVoid ()
 Clears clipping range. More...
 
Bnd_RangeChangeUnclipRange ()
 Returns the main unclipped range; [-inf, inf] by default. More...
 
void AddClipSubRange (const Bnd_Range &theRange)
 Adds a clipping sub-range (for clipping chains). 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 an empty clip range.

Member Function Documentation

◆ 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.

◆ IsClipped()

Standard_Boolean SelectMgr_ViewClipRange::IsClipped ( const Standard_Real  theDepth) const
inline

Check if the given depth is not within clipping range(s), e.g. TRUE means depth is clipped.

◆ SetVoid()

void SelectMgr_ViewClipRange::SetVoid ( )
inline

Clears clipping range.


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