SoShadowStyleElement(3)

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

πŸ’– SoShadowStyleElement πŸ’–

okay so this is the manual page for SoShadowStyleElement from Coin β€” section 3 of the manual, bestie. pull up a chair, we're doing this together. 🫢✨


✨ NAME ✨

SoShadowStyleElement β€” and the actual official description is, word for word, that the SoShadowStyleElement class is yet to be documented. πŸ’€ yeah. that's it. that's the name section. we move.


🌸 SYNOPSIS 🌸

#include <Inventor/annex/FXViz/elements/SoShadowStyleElement.h>

she Inherits SoInt32Element, btw. a whole legacy lineage, we respect it. πŸ‘‘

πŸŽ€ Public Types πŸŽ€

enum StyleFlags {
     NO_SHADOWING = 0x0,
     CASTS_SHADOW = 0x1,
     SHADOWED = 0x2,
     CASTS_SHADOW_AND_SHADOWED = CASTS_SHADOW|SHADOWED
}

so real quick, the style flags are: NO_SHADOWING which is 0x0, CASTS_SHADOW which is 0x1, SHADOWED which is 0x2, and CASTS_SHADOW_AND_SHADOWED which is literally CASTS_SHADOW|SHADOWED. the way it just ors them together?? obsessed. πŸ’…

πŸ’œ Public Member Functions πŸ’œ

  • virtual void init (SoState *state) β€” initializes the element, more on that below, hold on bestie.

πŸ¦‹ Public Member Functions inherited from SoInt32Element

  • virtual SbBool matches (const SoElement *element) const
  • virtual SoElement * copyMatchInfo (void) const
  • virtual void print (FILE *file) const
  • virtual void setElt (int32_t 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 int styleflags) β€” FIXME: write doc.
  • static void set (SoState *const state, const int styleflags) β€” FIXME: write doc.
  • static int get (SoState *const state) β€” FIXME: write doc.
  • static int getDefault (void) β€” FIXME: write doc.
not me reading FIXME: write doc. four times in a row 😭 the docs team said "later" and meant it fr fr.

πŸ¦‹ Static Public Member Functions inherited from SoInt32Element

  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void initClass (void)
  • static void set (const int index, SoState *const state, SoNode *const node, const int32_t value)
  • static void set (const int index, SoState *const state, const int32_t value)
  • static int32_t get (const int index, 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 ~SoShadowStyleElement ()

πŸ¦‹ Protected Member Functions inherited from SoInt32Element

  • virtual ~SoInt32Element ()

πŸ¦‹ 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 SoInt32Element

  • int32_t 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 πŸ“–

so, the <pink>SoShadowStyleElement</pink> class is β€” say it with me β€” yet to be documented. πŸ’€

FIXME: write doc.

Since Coin 2.5 β€” yeah she's been around since 2.5, an elder, a legend, a queen who simply never got her docs written. πŸ‘‘


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

SoShadowStyleElement::~SoShadowStyleElement (void ) [protected], [virtual]

Destructor. that's the whole description, no notes. 🫢


πŸ’… Member Function Documentation πŸ’…

SoType SoShadowStyleElement::getClassTypeId (void ) [static]

this static method returns the SoType object associated with objects of this class. iconic behavior honestly. ✨

int SoShadowStyleElement::getClassStackIndex (void ) [static]

this static method returns the state stack index for the class. πŸŽ€

void * SoShadowStyleElement::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, if you're an app dev, this one's not for you bestie, it's an iykyk situation. πŸ™ˆ

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

void SoShadowStyleElement::initClass (void ) [static]

initialize relevant common data for all instances, like the type system. setting up the whole squad before the party starts, fr. πŸŽ‰

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

initializes the element to its default value. and the default value is SoShadowStyleElement::CASTS_SHADOW_AND_SHADOWED. so it comes out the gate casting shadows and being shadowed. main character energy, honestly. πŸ‘‘

Reimplemented from SoInt32Element.


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for Coin from the source code. (so like, nobody wrote this, a robot did, and the robot also left all those FIXMEs. we don't blame the robot. 🫢)


and that's the whole page bestie!! this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's the SoShadowStyleElement(3) page. slay, you read the entire thing, I'm so proud of you. πŸŒˆβ­πŸ’– go hydrate and go write those FIXME docs, periodt. πŸ’…

πŸ“¦ where this page comes from