|
Open CASCADE Technology
6.8.0
|
Defines state of OCCT projection transformation. More...
#include <OpenGl_ShaderStates.hxx>

Public Member Functions | |
| OpenGl_ProjectionState () | |
| Creates uninitialized projection state. More... | |
| void | Set (const OpenGl_Mat4 &theProjectionMatrix) |
| Sets new projection matrix. More... | |
| const OpenGl_Mat4 & | ProjectionMatrix () const |
| Returns current projection matrix. More... | |
| const OpenGl_Mat4 & | ProjectionMatrixInverse () const |
| Returns inverse of current projection matrix. More... | |
Public Member Functions inherited from OpenGl_StateInterface | |
| OpenGl_StateInterface () | |
| Creates new OCCT state. More... | |
| Standard_Size | Index () const |
| Returns current state index. More... | |
| void | Update () |
| Updates current state. More... | |
| void | Revert () |
| Reverts current state. More... | |
Additional Inherited Members | |
Protected Attributes inherited from OpenGl_StateInterface | |
| Standard_Size | myIndex |
| Current state index. More... | |
| Standard_Size | myNextIndex |
| Next state index. More... | |
| NCollection_List< Standard_Size > | myStateStack |
| Stack of previous states. More... | |
Defines state of OCCT projection transformation.
| OpenGl_ProjectionState::OpenGl_ProjectionState | ( | ) |
Creates uninitialized projection state.
| const OpenGl_Mat4& OpenGl_ProjectionState::ProjectionMatrix | ( | ) | const |
Returns current projection matrix.
| const OpenGl_Mat4& OpenGl_ProjectionState::ProjectionMatrixInverse | ( | ) | const |
Returns inverse of current projection matrix.
| void OpenGl_ProjectionState::Set | ( | const OpenGl_Mat4 & | theProjectionMatrix | ) |
Sets new projection matrix.
1.8.5