Open CASCADE Technology 7.8.0
|
Software implementation for OpenGL matrix stack. More...
#include <OpenGl_MatrixState.hxx>
Public Member Functions | |
OpenGl_MatrixState () | |
Constructs matrix state object. | |
void | Push () |
Pushes current matrix into stack. | |
void | Pop () |
Pops matrix from stack to current. | |
const OpenGl::MatrixType< T >::Mat4 & | Current () |
void | SetCurrent (const typename OpenGl::MatrixType< T >::Mat4 &theNewCurrent) |
Sets given matrix as current. | |
OpenGl::MatrixType< T >::Mat4 & | ChangeCurrent () |
Change current matrix. | |
template<typename Other_t > | |
void | SetCurrent (const typename OpenGl::MatrixType< Other_t >::Mat4 &theNewCurrent) |
Sets given matrix as current. | |
void | SetIdentity () |
Sets current matrix to identity. | |
void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const |
Dumps the content of me into the stream. | |
Software implementation for OpenGL matrix stack.
|
inline |
Constructs matrix state object.
|
inline |
Change current matrix.
|
inline |
|
inline |
Dumps the content of me into the stream.
|
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.