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);
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition SbMatrix.h:37
The SbRotation class represents a rotation in 3D space.
Definition SbRotation.h:33
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:40
The SoAccumulatedElement class is an abstract class for storing accumulated state.
Definition SoAccumulatedElement.h:30
virtual void push(SoState *state)
Definition SoAccumulatedElement.cpp:74
virtual SbBool matches(const SoElement *element) const
Definition SoAccumulatedElement.cpp:83
virtual void init(SoState *state)
Definition SoAccumulatedElement.cpp:66
SoElement is the abstract base class for all elements.
Definition SoElement.h:34
The SoModelMatrixElement class is used to manage the current transformation.
Definition SoModelMatrixElement.h:31
SbMatrix modelMatrix
Definition SoModelMatrixElement.h:78
uint32_t flags
Definition SoModelMatrixElement.h:81
SbMatrix combinedMatrix
Definition SoModelMatrixElement.h:80
SbMatrix cullMatrix
Definition SoModelMatrixElement.h:79
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoState class manages the Coin scenegraph traversal state data.
Definition SoState.h:35
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.