SoResetMatrixElement(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– 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 given SoState, no cap πŸ’…

🌸 Public Member Functions inherited from SoElement

  • const SoType getTypeId (void) const β€” grab the type id
  • int getStackIndex (void) const β€” grab the stack index
  • virtual void push (SoState *state) β€” push it onto the state
  • virtual void pop (SoState *state, const SoElement *prevTopElement) β€” pop it back off
  • void setDepth (const int depth) β€” set the depth
  • int getDepth (void) const β€” read the depth
  • virtual void print (FILE *file=stdout) const β€” print it out, defaults to stdout πŸ–¨οΈ
  • virtual ~SoElement () β€” the destructor, bye bye πŸ‘‹

⭐ Static Public Member Functions

  • static SoType getClassTypeId (void) β€” the class type id, statically
  • static int getClassStackIndex (void) β€” the class stack index
  • static void * createInstance (void) β€” make an instance
  • static void initClass (void) β€” initialize the class
  • static void set (SoState *const state, const SbMatrix &m) β€” set the matrix into the state
  • static 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 flavor
  • virtual void setElt (const SbMatrix &matrix) β€” set the element's matrix
  • virtual 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) β€” constructor
  • void capture (SoState *const state) const
  • virtual void captureThis (SoState *state) const
  • void setTypeId (const SoType typeId)
  • void setStackIndex (const int index)
  • SoElement * getNextInStack (void) const
  • SoElement * 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 typeId
  • int stackIndex
  • int depth

πŸ’€ Static Protected Attributes inherited from SoElement

  • static int classStackIndex
  • static 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 a matches() function, it should also have a copyMatchInfo() 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