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_ProjectionState Class Reference

    Defines state of OCCT projection transformation. More...

    #include <OpenGl_ShaderStates.hxx>

    Inheritance diagram for OpenGl_ProjectionState:

    Public Member Functions

     OpenGl_ProjectionState ()
     Creates uninitialized projection state.
    void Set (const NCollection_Mat4< float > &theProjectionMatrix)
     Sets new projection matrix.
    const NCollection_Mat4< float > & ProjectionMatrix () const
     Returns current projection matrix.
    const NCollection_Mat4< float > & ProjectionMatrixInverse () const
     Returns inverse of current projection 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 projection transformation.

    Constructor & Destructor Documentation

    ◆ OpenGl_ProjectionState()

    OpenGl_ProjectionState::OpenGl_ProjectionState ( )

    Creates uninitialized projection state.

    Member Function Documentation

    ◆ ProjectionMatrix()

    const NCollection_Mat4< float > & OpenGl_ProjectionState::ProjectionMatrix ( ) const
    inline

    Returns current projection matrix.

    ◆ ProjectionMatrixInverse()

    const NCollection_Mat4< float > & OpenGl_ProjectionState::ProjectionMatrixInverse ( ) const

    Returns inverse of current projection matrix.

    ◆ Set()

    void OpenGl_ProjectionState::Set ( const NCollection_Mat4< float > & theProjectionMatrix)

    Sets new projection matrix.


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