Open CASCADE Technology
6.9.1
|
Software implementation for OpenGL matrix stack. More...
#include <OpenGl_Utils.hxx>
Public Member Functions | |
MatrixState () | |
Constructs matrix state object. More... | |
void | Push () |
Pushes current matrix into stack. More... | |
void | Pop () |
Pops matrix from stack to current. More... | |
const MatrixType< T >::Mat4 & | Current () |
void | SetCurrent (const typename MatrixType< T >::Mat4 &theNewCurrent) |
Sets given matrix as current. More... | |
template<typename Other_t > | |
void | SetCurrent (const typename MatrixType< Other_t >::Mat4 &theNewCurrent) |
Sets given matrix as current. More... | |
void | SetIdentity () |
Sets current matrix to identity. More... | |
Software implementation for OpenGL matrix stack.
|
inline |
Constructs matrix state object.
|
inline |
|
inline |
Pops matrix from stack to current.
|
inline |
Pushes current matrix into stack.
|
inline |
Sets given matrix as current.
|
inline |
Sets given matrix as current.
|
inline |
Sets current matrix to identity.