Open CASCADE Technology
7.5.0
|
Defines state of OCCT model-world transformation. More...
#include <OpenGl_ShaderStates.hxx>
Public Member Functions | |
OpenGl_ModelWorldState () | |
Creates uninitialized model-world state. More... | |
void | Set (const OpenGl_Mat4 &theModelWorldMatrix) |
Sets new model-world matrix. More... | |
const OpenGl_Mat4 & | ModelWorldMatrix () const |
Returns current model-world matrix. More... | |
const OpenGl_Mat4 & | ModelWorldMatrixInverse () const |
Returns inverse of current model-world 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 model-world transformation.
OpenGl_ModelWorldState::OpenGl_ModelWorldState | ( | ) |
Creates uninitialized model-world state.
|
inline |
Returns current model-world matrix.
const OpenGl_Mat4& OpenGl_ModelWorldState::ModelWorldMatrixInverse | ( | ) | const |
Returns inverse of current model-world matrix.
void OpenGl_ModelWorldState::Set | ( | const OpenGl_Mat4 & | theModelWorldMatrix | ) |
Sets new model-world matrix.