OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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.
    size_t Index () const
     Returns current state index.
    void Update ()
     Updates current state.
    void Revert ()
     Reverts current state.

    Protected Attributes

    size_t myIndex
     Current state index.
    size_t myNextIndex
     Next state index.
    NCollection_List< size_t > myStateStack
     Stack of previous states.

    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()

    size_t 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

    size_t OpenGl_ClippingState::myIndex
    protected

    Current state index.

    ◆ myNextIndex

    size_t OpenGl_ClippingState::myNextIndex
    protected

    Next state index.

    ◆ myStateStack

    NCollection_List<size_t> OpenGl_ClippingState::myStateStack
    protected

    Stack of previous states.


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