SoShininessElement(3)

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

✨ SoShininessElement ✨

okay bestie, pull up a chair, we're reading a Coin manpage together πŸ’– this one's from the SoShininessElement(3) corner of the manual, and lowkey the docs are still a work in progress, but we're gonna walk through every single thing on this page together, no skips, no cap 🫢


🌸 NAME 🌸

SoShininessElement β€” the class is yet to be documented, bestie. that's literally the whole name section, it's giving "we'll finish this later" 😭


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Inventor/elements/SoShininessElement.h>

Inherits SoReplacedElement. so it's a nepo baby of the element hierarchy, iconic πŸ’…

πŸ’œ Public Member Functions

  • virtual void init(SoState *state)
  • int32_t getNum(void) const β€” FIXME: write doc. yeah, they haven't written it yet πŸ™ˆ
  • float get(const int index) const β€” FIXME: write doc. same vibe, no doc yet 😭
  • const float * getArrayPtr(void) const

πŸŽ€ 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 numvalues, const float *const values) β€” FIXME: write doc. (the FIXMEs really said "we'll get to it" fr fr)
  • static const SoShininessElement * 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 ~SoShininessElement()

πŸ“ 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 SoShininessElement class is, and I quote, yet to be documented.

FIXME: write doc. β€” the devs left us a lil sticky note, bestie, and honestly same 😭

one thing we do know: this element is part of the SoLazyElement in some other OI implementations. so it's the kind of thing that got folded into another class elsewhere, iykyk πŸ’«


πŸŽ€ CONSTRUCTOR & DESTRUCTOR DOCUMENTATION πŸŽ€

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

Destructor. that's it, that's the whole note, short and sweet 🫢


⭐ MEMBER FUNCTION DOCUMENTATION ⭐

SoType SoShininessElement::getClassTypeId(void) [static]

This static method returns the SoType object associated with objects of this class. so it's the "who dis" function for the type system πŸ’…

int SoShininessElement::getClassStackIndex(void) [static]

This static method returns the state stack index for the class. like a lil seat number in the state stack auditorium 🎟️

void * SoShininessElement::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. (translation: not for you, bestie, but we still list it πŸ’–)

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

void SoShininessElement::initClass(void) [static]

Initialize relevant common data for all instances, like the type system. the whole class getting its glow-up before anyone shows up ✨

void SoShininessElement::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 float * SoShininessElement::getArrayPtr(void) const

Returns a pointer to the shininess values. This method is not part of the OIV API. so it's a lil bonus, off-menu item, we love a secret πŸ“


🌈 AUTHOR 🌈

Generated automatically by Doxygen for Coin from the source code. the robot wrote this one, no cap πŸ€–


and that's the whole page, bestie!! you ate that read πŸ’… this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's the SoShininessElement(3) manual page from Coin. go forth and be shiny βœ¨πŸ¦‹πŸŽ€πŸ’–

πŸ“¦ where this page comes from