SoProfilerElement(3)
π SoProfilerElement β Coin's profiler element, bestie edition
okay so welcome to SoProfilerElement(3), a page from Coin, and honestly? she's giving behind-the-scenes icon. β¨ This is the element class whose whole job is registering statistics during scene graph traversals. no cap. π
β¨ NAME β¨
SoProfilerElement β the element class that's all about registering statistics while the scene graph gets traversed. that's the vibe. that's the assignment. π
π¦ SYNOPSIS π¦
#include <Inventor/annex/Profiler/SoProfilerElement.h>
Inherits SoElement. so yes she's part of the family tree, we love a legacy. π
πΈ Public Member Functions πΈ
virtual SbBool matches (const SoElement *element) constvirtual SoElement * copyMatchInfo (void) constSbProfilingData & getProfilingData (void)const SbProfilingData & getProfilingData (void) const
π§ Public Member Functions inherited from SoElement π§
const SoType getTypeId (void) constint getStackIndex (void) constvirtual void init (SoState *state)void setDepth (const int depth)int getDepth (void) constvirtual void print (FILE *file=stdout) constvirtual ~SoElement ()
β Static Public Member Functions β
static SoType getClassTypeId (void)static int getClassStackIndex (void)static void * createInstance (void)static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting the necessary info to the Coin type system. the setup era. π«Άstatic SoProfilerElement * get (SoState *state)
π 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 Attributes π
SbProfilingData data
π Protected Attributes inherited from SoElement π
SoType typeIdint stackIndexint depth
π Additional Inherited Members π
π Protected Member Functions inherited from SoElement π
SoElement (void)void 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
π¦ 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)
β Static Protected Attributes inherited from SoElement β
static int classStackIndexstatic SoTypeList * stackToType
π Detailed Description π
The SoProfilerElement element class is for registering statistics during scene graph traversals. that's it, that's the whole personality, and she does it flawlessly. periodt. π
π Member Function Documentation π
πΈ SoType SoProfilerElement::getClassTypeId (void ) [static] πΈ
this static method hands you the SoType object associated with objects of this class. your class ID card, basically. πͺͺ
π int SoProfilerElement::getClassStackIndex (void ) [static] π
this static method returns the state stack index for the class. knowing your place in the stack? iconic behaviour. π
β¨ void * SoProfilerElement::createInstance (void ) [static] β¨
π¨ heads up bestie: this API member is considered internal to the library, as it is not likely to be of interest to the application programmer. so likeβ¦ not your problem, but noted. π
Creates a new instance of the class type corresponding to the SoType object. brand new baby element, freshly spawned. π£
π¦ SoProfilerElement * SoProfilerElement::get (SoState * state) [static] π¦
this is the required method of fetching the SoProfilerElement instance. the one you literally have to use. no substitutes. π«Ά
π SbBool SoProfilerElement::matches (const SoElement * element) const [virtual] π
this function returns TRUE if the element matches another element (of the same class), with respect to cache validity. yes, capital-T TRUE, we're fancy like that.
and listen β if the application programmer's extension element has a matches() function, it should also have a copyMatchInfo() function. they're a package deal. matching set. iykyk. π
Implements SoElement.
π SoElement * SoProfilerElement::copyMatchInfo (void ) const [virtual] π
this function creates a copy of the element that contains enough information to enable the matches() function to work. like making a lil photocopy so the matching can happen. π
used to help with scene graph traversal caching operations. the support system of the whole operation, fr fr.
Implements SoElement.
ποΈ Author ποΈ
Generated automatically by Doxygen for Coin from the source code. she wrote herself, kinda slay of her. π€β¨
and that's the whole page, bestie! π this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's SoProfilerElement(3) forever and always. go forth and profile those traversals, you main character. ππ¦π
π
π¦ 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