![]() |
Coin3D is Free Software, published under the BSD 3-clause license. |
https://coin3d.github.io https://www.kongsberg.com/en/kogt/ |
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>
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 |
![]() | |
const SoType | getTypeId (void) const |
int | getStackIndex (void) const |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
void | setDepth (const int depth) |
int | getDepth (void) const |
virtual void | print (FILE *file=stdout) const |
virtual | ~SoElement () |
Additional Inherited Members | |
![]() | |
static SoElement * | getElement (SoState *const state, const int stackIndex) |
static const SoElement * | getConstElement (SoState *const state, const int stackIndex) |
static int | createStackIndex (const SoType id) |
![]() | |
SbMatrix | modelMatrix |
SbMatrix | cullMatrix |
SbMatrix | combinedMatrix |
uint32_t | flags |
![]() | |
SbList< SbUniqueId > | nodeIds |
![]() | |
SoType | typeId |
int | stackIndex |
int | depth |
![]() | |
static int | classStackIndex |
static SoTypeList * | stackToType |
The SoBBoxModelMatrixElement class keeps track of the current model matrix during a scene graph traversal. It is used by amongst others the SoGetBoundingBoxAction class.
|
protectedvirtual |
Destructor.
This static method returns the SoType object associated with objects of this class.
|
static |
This static method returns the state stack index for the class.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object.
Initialize relevant common data for all instances, like the type system.
FIXME: write doc.
Reimplemented from SoModelMatrixElement.
FIXME: write doc.
Reimplemented from SoModelMatrixElement.
This method is for the SoGetBoundingBoxAction class so it can reset the current model matrix and all local matrices to identity.
|
static |
This method keeps two matrices up-to-date as opposed to the method it replaces.
|
static |
This method keeps two matrices up-to-date as opposed to the method it replaces.
FIXME: write doc.
Reimplemented from SoModelMatrixElement.
FIXME: write doc.
Reimplemented from SoModelMatrixElement.
FIXME: write doc.
Reimplemented from SoModelMatrixElement.
FIXME: write doc.
Reimplemented from SoModelMatrixElement.
|
protectedvirtual |
FIXME: write doc.
Reimplemented from SoModelMatrixElement.
FIXME: write doc.
Reimplemented from SoModelMatrixElement.
This method is for debug use only.
Reimplemented from SoModelMatrixElement.
This method is for debug use only.
Reimplemented from SoModelMatrixElement.