The SoBBoxModelMatrixElement class keeps track of the current model matrix during a scene graph traversal. It is used by amongst others the SoGetBoundingBoxAction class.
More...
#include <Inventor/elements/SoBBoxModelMatrixElement.h>
List of all members.
Public Member Functions |
virtual void | init (SoState *state) |
| FIXME: write doc.
|
virtual void | push (SoState *state) |
| FIXME: write doc.
|
virtual SbBool | matches (const SoElement *element) const |
const SbMatrix & | getModelMatrix (void) const |
Static Public Member Functions |
static SoType | getClassTypeId (void) |
static int | getClassStackIndex (void) |
static void * | createInstance (void) |
static void | initClass (void) |
static void | reset (SoState *const state, SoNode *const node) |
static void | pushMatrix (SoState *const state, SbMatrix &matrix, SbMatrix &localmatrix) |
static void | popMatrix (SoState *const state, const SbMatrix &matrix, const SbMatrix &localmatrix) |
static void | makeIdentity (SoState *const state, SoNode *const node) |
static void | set (SoState *const state, SoNode *const node, const SbMatrix &matrix) |
static void | setCullMatrix (SoState *state, SoNode *node, const SbMatrix &matrix) |
static void | mult (SoState *const state, SoNode *const node, const SbMatrix &matrix) |
static void | translateBy (SoState *const state, SoNode *const node, const SbVec3f &translation) |
static void | rotateBy (SoState *const state, SoNode *const node, const SbRotation &rotation) |
static void | scaleBy (SoState *const state, SoNode *const node, const SbVec3f &scaleFactor) |
static SbMatrix | pushMatrix (SoState *const state) |
static void | popMatrix (SoState *const state, const SbMatrix &matrix) |
static const SbMatrix & | getCombinedCullMatrix (SoState *const state) |
static const SbMatrix & | get (SoState *const state) |
static const SbMatrix & | get (SoState *const state, SbBool &isIdentity) |
Detailed Description
The SoBBoxModelMatrixElement class keeps track of the current model matrix during a scene graph traversal. It is used by amongst others the SoGetBoundingBoxAction class.
Constructor & Destructor Documentation
SoBBoxModelMatrixElement::~SoBBoxModelMatrixElement |
( |
| ) |
|
|
protectedvirtual |
Member Function Documentation
SoType SoBBoxModelMatrixElement::getClassTypeId |
( |
void |
| ) |
|
|
static |
int SoBBoxModelMatrixElement::getClassStackIndex |
( |
void |
| ) |
|
|
static |
This static method returns the state stack index for the class.
Reimplemented from SoModelMatrixElement.
void * SoBBoxModelMatrixElement::createInstance |
( |
void |
| ) |
|
|
static |
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Reimplemented from SoModelMatrixElement.
void SoBBoxModelMatrixElement::initClass |
( |
void |
| ) |
|
|
static |
void SoBBoxModelMatrixElement::reset |
( |
SoState *const |
state, |
|
|
SoNode *const |
node |
|
) |
| |
|
static |
This method is for the SoGetBoundingBoxAction class so it can reset the current model matrix and all local matrices to identity.
This method keeps two matrices up-to-date as opposed to the method it replaces.
void SoBBoxModelMatrixElement::popMatrix |
( |
SoState *const |
state, |
|
|
const SbMatrix & |
matrix, |
|
|
const SbMatrix & |
localmatrix |
|
) |
| |
|
static |
This method keeps two matrices up-to-date as opposed to the method it replaces.
SbMatrix SoBBoxModelMatrixElement::pushMatrixElt |
( |
void |
| ) |
|
|
protectedvirtual |
void SoBBoxModelMatrixElement::popMatrixElt |
( |
const SbMatrix & |
m | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: