SoResetMatrixElement(3)
π NAME π
SoResetMatrixElement β bestie, it's an element class in Coin, and it's here to reset your matrix energy β¨
π¦ SYNOPSIS π¦
Inherits SoElement.
π Public Member Functions
virtual void init (SoState *state)β sets the element type up inside a givenSoState, no cap π
πΈ Public Member Functions inherited from SoElement
const SoType getTypeId (void) constβ grab the type idint getStackIndex (void) constβ grab the stack indexvirtual void push (SoState *state)β push it onto the statevirtual void pop (SoState *state, const SoElement *prevTopElement)β pop it back offvoid setDepth (const int depth)β set the depthint getDepth (void) constβ read the depthvirtual void print (FILE *file=stdout) constβ print it out, defaults tostdoutπ¨οΈvirtual ~SoElement ()β the destructor, bye bye π
β Static Public Member Functions
static SoType getClassTypeId (void)β the class type id, staticallystatic int getClassStackIndex (void)β the class stack indexstatic void * createInstance (void)β make an instancestatic void initClass (void)β initialize the classstatic void set (SoState *const state, const SbMatrix &m)β set the matrix into the statestatic const SbMatrix & get (SoState *state)β pull the matrix back out
π Static Public Member Functions inherited from SoElement
static void initClass (void)static SoType getClassTypeId (void)static int getClassStackIndex (void)static void initElements (void)static int getNumStackIndices (void)static SoType getIdFromStackIndex (const int stackIndex)
π Protected Member Functions
virtual ~SoResetMatrixElement ()β destructor, protected flavorvirtual void setElt (const SbMatrix &matrix)β set the element's matrixvirtual SbBool matches (const SoElement *element) constβ do these two elements match?virtual SoElement * copyMatchInfo (void) constβ copy over the info needed for matching
π Protected Member Functions inherited from SoElement
SoElement (void)β constructorvoid capture (SoState *const state) constvirtual void captureThis (SoState *state) constvoid setTypeId (const SoType typeId)void setStackIndex (const int index)SoElement * getNextInStack (void) constSoElement * getNextFree (void) const
π«Ά Additional Inherited Members π«Ά
π§ Static Protected Member Functions inherited from SoElement
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)
π Protected Attributes inherited from SoElement
SoType typeIdint stackIndexint depth
π Static Protected Attributes inherited from SoElement
static int classStackIndexstatic SoTypeList * stackToType
π Constructor & Destructor Documentation π
SoResetMatrixElement::~SoResetMatrixElement (void ) [protected], [virtual]
Destructor. That's it, that's the whole vibe. She's done, she's logging off π
π₯ Member Function Documentation π₯
void SoResetMatrixElement::initClass (void ) [static]
Initializes the relevant common data for all the instances, like the type system. Group project but make it functional π
void SoResetMatrixElement::init (SoState * state) [virtual]
This one initializes the element type inside the given SoState. It gets called for the first element of each enabled element type in SoState objects. first one in, main character energy β¨
Reimplemented from SoElement.
SbBool SoResetMatrixElement::matches (const SoElement * element) const [protected], [virtual]
Returns TRUE if the element matches another element (of the same class), with respect to cache validity. are we the same? vibe check passed?
Heads up bestie: if your application programmer's extension element has amatches()function, it should also have acopyMatchInfo()function. They're a package deal, fr fr π«Ά
Implements SoElement.
SoElement * SoResetMatrixElement::copyMatchInfo (void ) const [protected], [virtual]
Creates a copy of the element with enough info in it to let the matches() function actually do its thing. It's here to help with scene graph traversal caching operations. teamwork makes the dream work π
Implements SoElement.
βοΈ Author βοΈ
Generated automatically by Doxygen for Coin from the source code. She was born in a doc generator and she's thriving, ngl π
Coin version 4.0.10 β dated Thu Jun 25 2026 00:00:00. That's the whole page bestie, thanks for reading, mwah π
ππ
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms