Open CASCADE Technology
7.7.0
|
Defines state of OCCT world-view transformation. More...
#include <OpenGl_ShaderStates.hxx>
Public Member Functions | |
OpenGl_WorldViewState () | |
Creates uninitialized world-view state. More... | |
void | Set (const OpenGl_Mat4 &theWorldViewMatrix) |
Sets new world-view matrix. More... | |
const OpenGl_Mat4 & | WorldViewMatrix () const |
Returns current world-view matrix. More... | |
const OpenGl_Mat4 & | WorldViewMatrixInverse () const |
Returns inverse of current world-view 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... | |
Defines state of OCCT world-view transformation.
OpenGl_WorldViewState::OpenGl_WorldViewState | ( | ) |
Creates uninitialized world-view state.
void OpenGl_WorldViewState::Set | ( | const OpenGl_Mat4 & | theWorldViewMatrix | ) |
Sets new world-view matrix.
|
inline |
Returns current world-view matrix.
const OpenGl_Mat4& OpenGl_WorldViewState::WorldViewMatrixInverse | ( | ) | const |
Returns inverse of current world-view matrix.