Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
OpenGl_ModelWorldState Class Reference

Defines state of OCCT model-world transformation. More...

#include <OpenGl_ShaderStates.hxx>

Inheritance diagram for OpenGl_ModelWorldState:
Inheritance graph
[legend]

Public Member Functions

 OpenGl_ModelWorldState ()
 Creates uninitialized model-world state. More...
 
void Set (const Tmatrix3 &theModelWorldMatrix)
 Sets new model-world matrix. More...
 
const Tmatrix3ModelWorldMatrix () const
 Returns current model-world matrix. More...
 
const Tmatrix3ModelWorldMatrixInverse () const
 Returns inverse of current model-world 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...
 

Detailed Description

Defines state of OCCT model-world transformation.

Constructor & Destructor Documentation

OpenGl_ModelWorldState::OpenGl_ModelWorldState ( )

Creates uninitialized model-world state.

Member Function Documentation

const Tmatrix3& OpenGl_ModelWorldState::ModelWorldMatrix ( ) const

Returns current model-world matrix.

const Tmatrix3& OpenGl_ModelWorldState::ModelWorldMatrixInverse ( ) const

Returns inverse of current model-world matrix.

void OpenGl_ModelWorldState::Set ( const Tmatrix3 theModelWorldMatrix)

Sets new model-world matrix.


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