SoProfilerElement(3)
β¨ NAME β¨
okay so bestie, welcome to the SoProfilerElement(3) page π β this one lives in the Library Functions Manual and it's all about SoProfilerElement: the element class that's for registering statistics during scene graph traversals. no cap, that's literally her whole job π
πΈ SYNOPSIS πΈ
#include <Inventor/annex/Profiler/SoProfilerElement.h>
Inherits SoElement. she got it from her mom, iconic π
π Public Member Functions π
virtual SbBool matches (const SoElement *element) constβ the cache-validity match check π«Άvirtual SoElement * copyMatchInfo (void) constβ makes the copy that letsmatches()do its thing β¨SbProfilingData & getProfilingData (void)β hands you theSbProfilingDataπconst SbProfilingData & getProfilingData (void) constβ same but const, we love a const queen π
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)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 the vibe, that's the whole assignment π
π Member Function Documentation π
void * SoProfilerElement::createInstance (void ) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. so likeβ¦ respectfully, don't touch, she's doing backend stuff π
SoProfilerElement * SoProfilerElement::get (SoState * state) [static]
This is the required method of fetching the SoProfilerElement instance. this is the one you actually reach for, bestie π«Ά
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.
If the 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 * SoProfilerElement::copyMatchInfo (void ) const [virtual]
This function creates a copy of the element that contains enough information to enable the matches() function to work.
Used to help with scenegraph traversal caching operations.
Implements SoElement.
βοΈ Author βοΈ
Generated automatically by Doxygen for Coin from the source code. she was born in a doc generator and she's still slaying πβ¨
and that's the whole page, bestie β sending you off with the official sign-off: this is Coin, Version 3.1.3, page SoProfilerElement(3). periodt ππ
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms