1 #ifndef B_MATRIX_STACK_H 
    2 #define B_MATRIX_STACK_H 
    6 #include "vmmlib/util.hpp" 
    7 #include "vmmlib/vector.hpp" 
   30     virtual void pushMatrix(
const vmml::Matrix4f &matrix);
 
   48     std::vector<vmml::Matrix4f> _matrixStack;
 
virtual void pushMatrix(const vmml::Matrix4f &matrix)
Push a matrix to the stack. 
Definition: MatrixStack.cpp:3
virtual ~MatrixStack()
Virtual destructor. 
Definition: MatrixStack.h:25
virtual void clearMatrixStack()
Deletes all matrices in the stack. 
Definition: MatrixStack.cpp:13
virtual vmml::Matrix4f getMatrix()
Returns the matrix as the product of all pushed transformations. 
Definition: MatrixStack.cpp:19
virtual void popMatrix()
Delete last element on the stack. 
Definition: MatrixStack.cpp:8
This is a matrix stack to temporarily store transformation matrices. 
Definition: MatrixStack.h:13
std::shared_ptr< MatrixStack > MatrixStackPtr
Definition: MatrixStack.h:51
MatrixStack()
Constructor. 
Definition: MatrixStack.h:21