.TH "SoBBoxModelMatrixElement" 3 "Fri Sep 6 2024 15:32:06" "Version 4.0.3" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoBBoxModelMatrixElement \- The \fBSoBBoxModelMatrixElement\fP class keeps track of the current model matrix during a scene graph traversal\&. It is used by amongst others the \fBSoGetBoundingBoxAction\fP class\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSoModelMatrixElement\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual void \fBinit\fP (\fBSoState\fP *state)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual void \fBpush\fP (\fBSoState\fP *state)" .br .RI "FIXME: write doc\&. " .in -1c Public Member Functions inherited from \fBSoModelMatrixElement\fP .in +1c .ti -1c .RI "virtual SbBool \fBmatches\fP (const \fBSoElement\fP *element) const" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBgetModelMatrix\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoAccumulatedElement\fP Public Member Functions inherited from \fBSoElement\fP .in +1c .ti -1c .RI "const \fBSoType\fP \fBgetTypeId\fP (void) const" .br .ti -1c .RI "int \fBgetStackIndex\fP (void) const" .br .ti -1c .RI "virtual void \fBpop\fP (\fBSoState\fP *state, const \fBSoElement\fP *prevTopElement)" .br .ti -1c .RI "void \fBsetDepth\fP (const int \fBdepth\fP)" .br .ti -1c .RI "int \fBgetDepth\fP (void) const" .br .ti -1c .RI "virtual void \fBprint\fP (FILE *file=stdout) const" .br .ti -1c .RI "virtual \fB~SoElement\fP ()" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static int \fBgetClassStackIndex\fP (void)" .br .ti -1c .RI "static void * \fBcreateInstance\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static void \fBreset\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node)" .br .ti -1c .RI "static void \fBpushMatrix\fP (\fBSoState\fP *const state, \fBSbMatrix\fP &matrix, \fBSbMatrix\fP &localmatrix)" .br .ti -1c .RI "static void \fBpopMatrix\fP (\fBSoState\fP *const state, const \fBSbMatrix\fP &matrix, const \fBSbMatrix\fP &localmatrix)" .br .in -1c Static Public Member Functions inherited from \fBSoModelMatrixElement\fP .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static int \fBgetClassStackIndex\fP (void)" .br .ti -1c .RI "static void * \fBcreateInstance\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static void \fBmakeIdentity\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node)" .br .ti -1c .RI "static void \fBset\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const \fBSbMatrix\fP &matrix)" .br .ti -1c .RI "static void \fBsetCullMatrix\fP (\fBSoState\fP *state, \fBSoNode\fP *node, const \fBSbMatrix\fP &matrix)" .br .ti -1c .RI "static void \fBmult\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const \fBSbMatrix\fP &matrix)" .br .ti -1c .RI "static void \fBtranslateBy\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const \fBSbVec3f\fP &translation)" .br .ti -1c .RI "static void \fBrotateBy\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const \fBSbRotation\fP &rotation)" .br .ti -1c .RI "static void \fBscaleBy\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const \fBSbVec3f\fP &scaleFactor)" .br .ti -1c .RI "static \fBSbMatrix\fP \fBpushMatrix\fP (\fBSoState\fP *const state)" .br .ti -1c .RI "static void \fBpopMatrix\fP (\fBSoState\fP *const state, const \fBSbMatrix\fP &matrix)" .br .ti -1c .RI "static const \fBSbMatrix\fP & \fBgetCombinedCullMatrix\fP (\fBSoState\fP *const state)" .br .ti -1c .RI "static const \fBSbMatrix\fP & \fBget\fP (\fBSoState\fP *const state)" .br .ti -1c .RI "static const \fBSbMatrix\fP & \fBget\fP (\fBSoState\fP *const state, SbBool &isIdentity)" .br .in -1c Static Public Member Functions inherited from \fBSoAccumulatedElement\fP .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static int \fBgetClassStackIndex\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoElement\fP .in +1c .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static int \fBgetClassStackIndex\fP (void)" .br .ti -1c .RI "static void \fBinitElements\fP (void)" .br .ti -1c .RI "static int \fBgetNumStackIndices\fP (void)" .br .ti -1c .RI "static \fBSoType\fP \fBgetIdFromStackIndex\fP (const int \fBstackIndex\fP)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual \fB~SoBBoxModelMatrixElement\fP ()" .br .ti -1c .RI "virtual void \fBmakeEltIdentity\fP (void)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual void \fBsetElt\fP (const \fBSbMatrix\fP &matrix)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual void \fBmultElt\fP (const \fBSbMatrix\fP &matrix)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual void \fBtranslateEltBy\fP (const \fBSbVec3f\fP &translation)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual void \fBrotateEltBy\fP (const \fBSbRotation\fP &translation)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual void \fBscaleEltBy\fP (const \fBSbVec3f\fP &scaleFactor)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual \fBSbMatrix\fP \fBpushMatrixElt\fP ()" .br .ti -1c .RI "virtual void \fBpopMatrixElt\fP (const \fBSbMatrix\fP &matrix)" .br .in -1c Protected Member Functions inherited from \fBSoModelMatrixElement\fP .in +1c .ti -1c .RI "virtual \fB~SoModelMatrixElement\fP ()" .br .in -1c Protected Member Functions inherited from \fBSoAccumulatedElement\fP .in +1c .ti -1c .RI "virtual \fB~SoAccumulatedElement\fP ()" .br .ti -1c .RI "void \fBclearNodeIds\fP (void)" .br .ti -1c .RI "void \fBaddNodeId\fP (const \fBSoNode\fP *const node)" .br .ti -1c .RI "void \fBsetNodeId\fP (const \fBSoNode\fP *const node)" .br .ti -1c .RI "void \fBcopyNodeIds\fP (const \fBSoAccumulatedElement\fP *copyfrom)" .br .ti -1c .RI "virtual \fBSoElement\fP * \fBcopyMatchInfo\fP (void) const" .br .ti -1c .RI "virtual void \fBcaptureThis\fP (\fBSoState\fP *state) const" .br .in -1c Protected Member Functions inherited from \fBSoElement\fP .in +1c .ti -1c .RI "\fBSoElement\fP (void)" .br .ti -1c .RI "void \fBcapture\fP (\fBSoState\fP *const state) const" .br .ti -1c .RI "void \fBsetTypeId\fP (const \fBSoType\fP \fBtypeId\fP)" .br .ti -1c .RI "void \fBsetStackIndex\fP (const int index)" .br .ti -1c .RI "\fBSoElement\fP * \fBgetNextInStack\fP (void) const" .br .ti -1c .RI "\fBSoElement\fP * \fBgetNextFree\fP (void) const" .br .in -1c .SS "Additional Inherited Members" Static Protected Member Functions inherited from \fBSoElement\fP .in +1c .ti -1c .RI "static \fBSoElement\fP * \fBgetElement\fP (\fBSoState\fP *const state, const int \fBstackIndex\fP)" .br .ti -1c .RI "static const \fBSoElement\fP * \fBgetConstElement\fP (\fBSoState\fP *const state, const int \fBstackIndex\fP)" .br .ti -1c .RI "static int \fBcreateStackIndex\fP (const \fBSoType\fP id)" .br .in -1c Protected Attributes inherited from \fBSoModelMatrixElement\fP .in +1c .ti -1c .RI "\fBSbMatrix\fP \fBmodelMatrix\fP" .br .ti -1c .RI "\fBSbMatrix\fP \fBcullMatrix\fP" .br .ti -1c .RI "\fBSbMatrix\fP \fBcombinedMatrix\fP" .br .ti -1c .RI "uint32_t \fBflags\fP" .br .in -1c Protected Attributes inherited from \fBSoAccumulatedElement\fP .in +1c .ti -1c .RI "\fBSbList\fP< SbUniqueId > \fBnodeIds\fP" .br .in -1c Protected Attributes inherited from \fBSoElement\fP .in +1c .ti -1c .RI "\fBSoType\fP \fBtypeId\fP" .br .ti -1c .RI "int \fBstackIndex\fP" .br .ti -1c .RI "int \fBdepth\fP" .br .in -1c Static Protected Attributes inherited from \fBSoElement\fP .in +1c .ti -1c .RI "static int \fBclassStackIndex\fP" .br .ti -1c .RI "static \fBSoTypeList\fP * \fBstackToType\fP" .br .in -1c .SH "Detailed Description" .PP The \fBSoBBoxModelMatrixElement\fP class keeps track of the current model matrix during a scene graph traversal\&. It is used by amongst others the \fBSoGetBoundingBoxAction\fP class\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoBBoxModelMatrixElement::~SoBBoxModelMatrixElement ()\fR [protected]\fP, \fR [virtual]\fP" Destructor\&. .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoBBoxModelMatrixElement::getClassTypeId (void )\fR [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .br .SS "int SoBBoxModelMatrixElement::getClassStackIndex (void )\fR [static]\fP" This static method returns the state stack index for the class\&. .br .SS "void * SoBBoxModelMatrixElement::createInstance (void )\fR [static]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Creates a new instance of the class type corresponding to the \fBSoType\fP object\&. .br .SS "void SoBBoxModelMatrixElement::initClass (void )\fR [static]\fP" Initialize relevant common data for all instances, like the type system\&. .SS "void SoBBoxModelMatrixElement::init (\fBSoState\fP * state)\fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "void SoBBoxModelMatrixElement::push (\fBSoState\fP * state)\fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "void SoBBoxModelMatrixElement::reset (\fBSoState\fP *const state, \fBSoNode\fP *const node)\fR [static]\fP" This method is for the \fBSoGetBoundingBoxAction\fP class so it can reset the current model matrix and all local matrices to identity\&. .SS "void SoBBoxModelMatrixElement::pushMatrix (\fBSoState\fP *const state, \fBSbMatrix\fP & matrix, \fBSbMatrix\fP & localmatrix)\fR [static]\fP" This method keeps two matrices up-to-date as opposed to the method it replaces\&. .SS "void SoBBoxModelMatrixElement::popMatrix (\fBSoState\fP *const state, const \fBSbMatrix\fP & matrix, const \fBSbMatrix\fP & localmatrix)\fR [static]\fP" This method keeps two matrices up-to-date as opposed to the method it replaces\&. .SS "void SoBBoxModelMatrixElement::makeEltIdentity (void )\fR [protected]\fP, \fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "void SoBBoxModelMatrixElement::setElt (const \fBSbMatrix\fP & matrix)\fR [protected]\fP, \fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "void SoBBoxModelMatrixElement::multElt (const \fBSbMatrix\fP & matrix)\fR [protected]\fP, \fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "void SoBBoxModelMatrixElement::translateEltBy (const \fBSbVec3f\fP & translation)\fR [protected]\fP, \fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "void SoBBoxModelMatrixElement::rotateEltBy (const \fBSbRotation\fP & translation)\fR [protected]\fP, \fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "void SoBBoxModelMatrixElement::scaleEltBy (const \fBSbVec3f\fP & scaleFactor)\fR [protected]\fP, \fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "\fBSbMatrix\fP SoBBoxModelMatrixElement::pushMatrixElt (void )\fR [protected]\fP, \fR [virtual]\fP" This method is for debug use only\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SS "void SoBBoxModelMatrixElement::popMatrixElt (const \fBSbMatrix\fP & m)\fR [protected]\fP, \fR [virtual]\fP" This method is for debug use only\&. .PP Reimplemented from \fBSoModelMatrixElement\fP\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.