Open CASCADE Technology 7.8.2.dev
|
Defines state of OCCT world-view transformation. More...
#include <OpenGl_ShaderStates.hxx>
Public Member Functions | |
OpenGl_WorldViewState () | |
Creates uninitialized world-view state. | |
void | Set (const OpenGl_Mat4 &theWorldViewMatrix) |
Sets new world-view matrix. | |
const OpenGl_Mat4 & | WorldViewMatrix () const |
Returns current world-view matrix. | |
const OpenGl_Mat4 & | WorldViewMatrixInverse () const |
Returns inverse of current world-view matrix. | |
Public Member Functions inherited from OpenGl_StateInterface | |
OpenGl_StateInterface () | |
Creates new state. | |
Standard_Size | Index () const |
Returns current state index. | |
void | Update () |
Increment current state. | |
Additional Inherited Members | |
Protected Attributes inherited from OpenGl_StateInterface | |
Standard_Size | myIndex |
current state index | |
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.