SoEmissiveColorElement(3)

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

πŸ’… SoEmissiveColorElement β€” the Coin manual, section 3, no cap

Hiii bestie 🫢 you've landed on the SoEmissiveColorElement(3) page from the Coin manual. Buckle up, it's giving ✨mysterious✨ because half of this class is literally "FIXME: write doc." β€” but we're gonna walk through every last bit of it together. πŸ’–


✨ NAME ✨

SoEmissiveColorElement β€” okay so, the whole vibe here is that this class is yet to be documented. That's it. That's the name section. πŸ’€


πŸ¦‹ SYNOPSIS πŸ¦‹

The way you pull this baby in:

#include <Inventor/elements/SoEmissiveColorElement.h>

And it Inherits SoReplacedElement. Family tree matters, iykyk. 🌈

πŸŽ€ Public Member Functions πŸŽ€

  • virtual void init (SoState *state) β€” sets the element type up in the given SoState (more on this below, she's important).
  • int32_t getNum (void) const β€” FIXME: write doc. πŸ™ˆ
  • const SbColor & get (const int index) const β€” FIXME: write doc. πŸ™ˆ
  • const SbColor * getArrayPtr (void) const β€” grabs you a pointer to the color array.

πŸ’œ Public Member Functions inherited from SoReplacedElement

  • virtual SbBool matches (const SoElement *element) const
  • virtual SoElement * copyMatchInfo () const
  • SbUniqueId getNodeId () const
  • virtual void print (FILE *file) const

🌸 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 int32_t numcolors, const SbColor *const colors) β€” FIXME: write doc. πŸ™ˆ
  • static const SoEmissiveColorElement * getInstance (SoState *state) β€” FIXME: write doc. πŸ™ˆ

πŸ’– Static Public Member Functions inherited from SoReplacedElement

  • 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 ~SoEmissiveColorElement ()

πŸŽ€ Protected Member Functions inherited from SoReplacedElement

  • virtual ~SoReplacedElement ()

🌈 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 SoReplacedElement

  • static SoElement * getElement (SoState *const state, const int stackIndex, SoNode *const node)

πŸ’« 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 SoReplacedElement

  • SbUniqueId nodeId

πŸ“ 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 πŸ”₯

So, the SoEmissiveColorElement class is yet to be documented.

FIXME: write doc. 😭 That's the whole thing. She's a mystery, bestie.


🎬 Constructor & Destructor Documentation 🎬

SoEmissiveColorElement::~SoEmissiveColorElement () [protected], [virtual]

Destructor. πŸ’… That's the documentation. Short and iconic.


πŸ“– Member Function Documentation πŸ“–

SoType SoEmissiveColorElement::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class.

int SoEmissiveColorElement::getClassStackIndex (void ) [static]

This static method returns the state stack index for the class.

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

Okay so real talk: this API member is considered internal to the library, as it is not likely to be of interest to the application programmer. So if you're an app dev, this one's not for you, and that's fine. 🫢

It creates a new instance of the class type corresponding to the SoType object.

void SoEmissiveColorElement::initClass (void ) [static]

Initialize relevant common data for all instances, like the type system. ✨

void SoEmissiveColorElement::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 SoReplacedElement.

const SbColor * SoEmissiveColorElement::getArrayPtr (void ) const

Returns a pointer to the color array. Heads up though β€” this method is not part of the OIV API. πŸ‘€


✍️ Author ✍️

Generated automatically by Doxygen for Coin from the source code. She was born this way, no author hand-wrote her. πŸ€–πŸ’–


And that's the whole page, bestie!! πŸŽ€ We did it. Nothing skipped, nothing invented, every FIXME lovingly preserved. πŸ’…

Version 4.0.10 Β· dated Thu Jun 25 2026 00:00:00 Β· and that footer is the Coin manual signing off, mwah πŸ’‹ slay, bye!! πŸ¦‹βœ¨

πŸ“¦ where this page comes from