Open CASCADE Technology  7.3.0
Public Member Functions
OpenGl_ProjectionState Class Reference

Defines state of OCCT projection transformation. More...

#include <OpenGl_ShaderStates.hxx>

Inheritance diagram for OpenGl_ProjectionState:
Inheritance graph
[legend]

Public Member Functions

 OpenGl_ProjectionState ()
 Creates uninitialized projection state. More...
 
void Set (const OpenGl_Mat4 &theProjectionMatrix)
 Sets new projection matrix. More...
 
const OpenGl_Mat4ProjectionMatrix () const
 Returns current projection matrix. More...
 
const OpenGl_Mat4ProjectionMatrixInverse () const
 Returns inverse of current projection matrix. More...
 
- Public Member Functions inherited from OpenGl_StateInterface
 OpenGl_StateInterface ()
 Creates new state. More...
 
Standard_Size Index () const
 Returns current state index. More...
 
void Update ()
 Increment current state. More...
 

Additional Inherited Members

- Protected Attributes inherited from OpenGl_StateInterface
Standard_Size myIndex
 current state index More...
 

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 OpenGl_Mat4& OpenGl_ProjectionState::ProjectionMatrix ( ) const

Returns current projection matrix.

◆ ProjectionMatrixInverse()

const OpenGl_Mat4& OpenGl_ProjectionState::ProjectionMatrixInverse ( ) const

Returns inverse of current projection matrix.

◆ Set()

void OpenGl_ProjectionState::Set ( const OpenGl_Mat4 theProjectionMatrix)

Sets new projection matrix.


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