1 #ifndef COIN_SOMODELMATRIXELEMENT_H 2 #define COIN_SOMODELMATRIXELEMENT_H 27 #include <Inventor/elements/SoAccumulatedElement.h> 28 #include <Inventor/SbMatrix.h> 29 #include <Inventor/lists/SbPList.h> 36 static void initClass(
void);
44 static void makeIdentity(
SoState *
const state,
SoNode *
const node);
51 static void translateBy(
SoState *
const state,
SoNode *
const node,
53 static void rotateBy(
SoState *
const state,
SoNode *
const node,
55 static void scaleBy(
SoState *
const state,
SoNode *
const node,
63 static const SbMatrix &
get(
SoState *
const state, SbBool & isIdentity);
65 const SbMatrix & getModelMatrix(
void)
const;
68 virtual void makeEltIdentity(
void);
69 virtual void setElt(
const SbMatrix & matrix);
70 virtual void multElt(
const SbMatrix & matrix);
71 virtual void translateEltBy(
const SbVec3f & translation);
72 virtual void rotateEltBy(
const SbRotation & rotation);
73 virtual void scaleEltBy(
const SbVec3f & scaleFactor);
74 virtual SbMatrix pushMatrixElt(
void);
75 virtual void popMatrixElt(
const SbMatrix & matrix);
85 #endif // !COIN_SOMODELMATRIXELEMENT_H SbMatrix cullMatrix
Definition: SoModelMatrixElement.h:79
SbMatrix combinedMatrix
Definition: SoModelMatrixElement.h:80
virtual void init(SoState *state)
Definition: SoAccumulatedElement.cpp:66
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
uint32_t flags
Definition: SoModelMatrixElement.h:81
The SbRotation class represents a rotation in 3D space.SbRotation is used extensively throughout the ...
Definition: SbRotation.h:33
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
SbMatrix modelMatrix
Definition: SoModelMatrixElement.h:78
The SoModelMatrixElement class is used to manage the current transformation.SoModelMatrixElement cont...
Definition: SoModelMatrixElement.h:31
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:37
The SoAccumulatedElement class is an abstract class for storing accumulated state.This is the superclass of elements where new element data accumulates with older data.
Definition: SoAccumulatedElement.h:30
virtual SbBool matches(const SoElement *element) const
Definition: SoAccumulatedElement.cpp:83
virtual void push(SoState *state)
Definition: SoAccumulatedElement.cpp:74