SoComplexityElement(3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

hiii bestie, welcome to SoComplexityElement(3) β€” yeah, section 3, Library Functions Manual, we're in the library functions girlies today ✨

so like, SoComplexityElement is the class that holds the current shape complexity for a graph traverser. that's the whole job. she's a container, she's booked and busy, periodt πŸ’…


🌸 SYNOPSIS 🌸

#include <Inventor/elements/SoComplexityElement.h>

okay so first thing, she inherits SoFloatElement. that's the family tree, no cap 🌳

✨ Public Member Functions ✨

  • virtual void init (SoState *state) β€” FIXME: write doc. (bestie the docs literally say FIXME, I am not making this up 😭)

πŸŽ€ Public Member Functions inherited from SoFloatElement πŸŽ€

  • virtual SbBool matches (const SoElement *element) const
  • virtual SoElement * copyMatchInfo (void) const
  • virtual void print (FILE *file) const
  • virtual void setElt (float value)

πŸ¦‹ Public Member Functions inherited from SoElement πŸ¦‹

  • const SoType getTypeId (void) const
  • int getStackIndex (void) const
  • virtual void push (SoState *state)
  • virtual void pop (SoState *state, const SoElement *prevTopElement)
  • void setDepth (const int depth)
  • int getDepth (void) const
  • virtual ~SoElement ()

⭐ Static Public Member Functions ⭐

  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void * createInstance (void)
  • static void initClass (void)
  • static void set (SoState *const state, SoNode *const node, const float complexity) β€” FIXME: write doc. πŸ™ˆ
  • static void set (SoState *const state, const float complexity) β€” FIXME: write doc. πŸ™ˆ
  • static float get (SoState *const state) β€” FIXME: write doc. πŸ™ˆ
  • static float getDefault (void) β€” FIXME: write doc. πŸ™ˆ

🌈 Static Public Member Functions inherited from SoFloatElement 🌈

  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void initClass (void)
  • static void set (const int stackIndex, SoState *const state, SoNode *const node, const float value)
  • static void set (const int stackIndex, SoState *const state, const float value)
  • static float get (const int stackIndex, SoState *const 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 Member Functions πŸ’œ

  • virtual ~SoComplexityElement ()

πŸ“ Protected Member Functions inherited from SoFloatElement πŸ“

  • virtual ~SoFloatElement ()

🌸 Protected Member Functions inherited from SoElement 🌸

  • SoElement (void)
  • 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 SoFloatElement πŸŽ€

  • float data

πŸ’– Protected Attributes inherited from SoElement πŸ’–

  • SoType typeId
  • int stackIndex
  • int depth

πŸ¦‹ Static Protected Attributes inherited from SoElement πŸ¦‹

  • static int classStackIndex
  • static SoTypeList * stackToType

πŸ”₯ Detailed Description πŸ”₯

okay so real talk, here's the whole tea: the SoComplexityElement class contains the current shape complexity for a graph traverser. that's literally the entire description and honestly? she said what she said πŸ’…


✨ Constructor & Destructor Documentation ✨

πŸ’€ SoComplexityElement::~SoComplexityElement (void ) [protected], [virtual]

it's giving the destructor. she cleans up after herself, as she should 🫢


🌟 Member Function Documentation 🌟

void * SoComplexityElement::createInstance (void ) [static]

ngl bestie, this one is internal to the library β€” like, it is not likely to be of interest to the application programmer. so if you're out here writing apps, this is not your moment, she's for the library only πŸ™ˆ

void SoComplexityElement::initClass (void ) [static]

this static method initializes static data for the SoComplexityElement class. class setup behavior, iconic, necessary, we love her ✨

void SoComplexityElement::init (SoState * state) [virtual]

FIXME: write doc. 😭

and also β€” reimplemented from SoFloatElement. so yeah, she's overriding her parent's version, main character energy fr fr πŸ‘‘


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for Coin from the source code. β€” so nobody hand-wrote this beauty, the machine did it πŸ’…


aaaand that's the page bestie!! πŸ’– this whole thing comes to you from Coin, Version 3.1.3, and it lives at SoComplexityElement(3). go forth and traverse those graphs, you absolute icon πŸ¦‹βœ¨

πŸ“¦ where this page comes from