SoProfileElement(3)
β¨ NAME β¨
SoProfileElement β bestie, lowkey this class is yet to be documented π (that's the actual official description, not me being lazy, I promise π«Ά). It's a Coin class, manual section 3, so it lives in the programmer's-manual girlie aisle π .
πΈ SYNOPSIS πΈ
#include <Inventor/elements/SoProfileElement.h>
It inherits from SoAccumulatedElement, so it's picking up everything that class has going on π§¬β¨
π Public Types
enum Profile { START_FIRST, START_NEW, ADD_TO_CURRENT }β the three vibes of profile, all listed exactly like that, no cap.
π Public Member Functions
virtual void init (SoState *state)virtual void push (SoState *state)
π¦ Public Member Functions inherited from SoAccumulatedElement
virtual SbBool matches (const SoElement *element) const
π¦ Public Member Functions inherited from SoElement
const SoType getTypeId (void) constint getStackIndex (void) constvirtual void pop (SoState *state, const SoElement *prevTopElement)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 void add (SoState *const state, SoProfile *const profile)static const SoNodeList & get (SoState *const state)
π¦ Static Public Member Functions inherited from SoAccumulatedElement
static SoType getClassTypeId (void)static int getClassStackIndex (void)static void initClass (void)
π¦ 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 ~SoProfileElement ()
π¦ Protected Member Functions inherited from SoAccumulatedElement
virtual ~SoAccumulatedElement ()void clearNodeIds (void)void addNodeId (const SoNode *const node)void setNodeId (const SoNode *const node)void copyNodeIds (const SoAccumulatedElement *copyfrom)virtual SoElement * copyMatchInfo (void) constvirtual void captureThis (SoState *state) const
π¦ Protected Member Functions inherited from SoElement
SoElement (void)void capture (SoState *const state) constvoid setTypeId (const SoType typeId)void setStackIndex (const int index)SoElement * getNextInStack (void) constSoElement * getNextFree (void) const
π Protected Attributes
SoNodeList profiles
π¦ Protected Attributes inherited from SoAccumulatedElement
SbList< SbUniqueId > nodeIds
π¦ Protected Attributes inherited from SoElement
SoType typeIdint stackIndexint depth
π«Ά 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)
π¦ Static Protected Attributes inherited from SoElement
static int classStackIndexstatic SoTypeList * stackToType
π Detailed Description π
Not me having to tell you this: the SoProfileElement class is yet to be documented. That's it. That's the whole description. π
FIXME: write doc. β the actual words in the source, bestie, I'm just the messenger π«
π§ Member Enumeration Documentation π§
enum SoProfileElement::Profile
FIXME: write doc. (yes, again π)
π Constructor & Destructor Documentation π
SoProfileElement::~SoProfileElement (void ) [protected], [virtual]
It's the destructor. Does what a destructor does. Cleanup era. β¨
π Member Function Documentation π
SoType SoProfileElement::getClassTypeId (void ) [static]
This static method returns the SoType object associated with objects of this class. πͺͺβ¨
int SoProfileElement::getClassStackIndex (void ) [static]
This static method returns the state stack index for the class. Slay, now you know where it sits in the stack π
void * SoProfileElement::createInstance (void ) [static]
Okay so this API member is considered internal to the library, because it is not likely to be of interest to the application programmer. Periodt β not for you, bestie, it's a library-internals thing π
It creates a new instance of the class type corresponding to the SoType object. π£
void SoProfileElement::init (SoState * state) [virtual]
This function initializes the element type in the given SoState. It is called for the first element of each enabled element type in SoState objects. π¬
Reimplemented from SoAccumulatedElement.
void SoProfileElement::push (SoState * state) [virtual]
This method is called every single time a new element is required in one of the stacks. That happens when a writable element is requested, using SoState::getElement() or indirectly SoElement::getElement(), and the depth of the current element is less than the state depth. π
Override this method if your element needs to copy data from the previous top of stack. The push() method is called on the new element, and the previous element can be found using SoElement::getNextInStack(). π
Reimplemented from SoAccumulatedElement.
void SoProfileElement::add (SoState *const state, SoProfile *const profile) [static]
Adds profile to the list of profiles. Adding to the list = self care, honestly πΈ
const SoNodeList & SoProfileElement::get (SoState *const state) [static]
Returns the current list of profiles. Get you a list of profiles that can do both π
π Member Data Documentation π
SoNodeList SoProfileElement::profiles [protected]
FIXME: write doc. (third time's the charm and still nothing, I can't π)
π Author π
Generated automatically by Doxygen for Coin from the source code. It literally wrote itself, main character energy fr fr β¨π€
And that's a wrap, bestie π¬π This was SoProfileElement(3) from Coin, version 4.0.10, dated Thu Jun 25 2026 00:00:00 β screenshot it, cite it, slay it. Byeee π¦π
π¦ 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