Open CASCADE Technology  7.5.0
Public Member Functions | Protected Attributes

OpenGl_ClippingState Class Reference

Defines generic state of OCCT clipping state. More...

#include <OpenGl_ShaderStates.hxx>

Public Member Functions

 OpenGl_ClippingState ()
 Creates new clipping state. More...
 
Standard_Size Index () const
 Returns current state index. More...
 
void Update ()
 Updates current state. More...
 
void Revert ()
 Reverts current state. More...
 

Protected Attributes

Standard_Size myIndex
 Current state index. More...
 
Standard_Size myNextIndex
 Next state index. More...
 
NCollection_List< Standard_SizemyStateStack
 Stack of previous states. More...
 

Detailed Description

Defines generic state of OCCT clipping state.

Constructor & Destructor Documentation

◆ OpenGl_ClippingState()

OpenGl_ClippingState::OpenGl_ClippingState ( )

Creates new clipping state.

Member Function Documentation

◆ Index()

Standard_Size OpenGl_ClippingState::Index ( ) const
inline

Returns current state index.

◆ Revert()

void OpenGl_ClippingState::Revert ( )

Reverts current state.

◆ Update()

void OpenGl_ClippingState::Update ( )

Updates current state.

Field Documentation

◆ myIndex

Standard_Size OpenGl_ClippingState::myIndex
protected

Current state index.

◆ myNextIndex

Standard_Size OpenGl_ClippingState::myNextIndex
protected

Next state index.

◆ myStateStack

NCollection_List<Standard_Size> OpenGl_ClippingState::myStateStack
protected

Stack of previous states.


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