OCCT3D 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_ModelWorldState Class Reference

    Defines state of OCCT model-world transformation. More...

    #include <OpenGl_ShaderStates.hxx>

    Inheritance diagram for OpenGl_ModelWorldState:

    Public Member Functions

     OpenGl_ModelWorldState ()
     Creates uninitialized model-world state.
    void Set (const NCollection_Mat4< float > &theModelWorldMatrix)
     Sets new model-world matrix.
    const NCollection_Mat4< float > & ModelWorldMatrix () const
     Returns current model-world matrix.
    const NCollection_Mat4< float > & ModelWorldMatrixInverse () const
     Returns inverse of current model-world matrix.
    Public Member Functions inherited from OpenGl_StateInterface
     OpenGl_StateInterface ()
     Creates new state.
    size_t Index () const
     Returns current state index.
    void Update ()
     Increment current state.

    Additional Inherited Members

    Protected Attributes inherited from OpenGl_StateInterface
    size_t myIndex
     current state index

    Detailed Description

    Defines state of OCCT model-world transformation.

    Constructor & Destructor Documentation

    ◆ OpenGl_ModelWorldState()

    OpenGl_ModelWorldState::OpenGl_ModelWorldState ( )

    Creates uninitialized model-world state.

    Member Function Documentation

    ◆ ModelWorldMatrix()

    const NCollection_Mat4< float > & OpenGl_ModelWorldState::ModelWorldMatrix ( ) const
    inline

    Returns current model-world matrix.

    ◆ ModelWorldMatrixInverse()

    const NCollection_Mat4< float > & OpenGl_ModelWorldState::ModelWorldMatrixInverse ( ) const

    Returns inverse of current model-world matrix.

    ◆ Set()

    void OpenGl_ModelWorldState::Set ( const NCollection_Mat4< float > & theModelWorldMatrix)

    Sets new model-world matrix.


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