SoShininessElement(3)
β¨ 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) constvirtual SoElement * copyMatchInfo() constSbUniqueId getNodeId() constvirtual void print(FILE *file) const
π Public Member Functions inherited from SoElement
const SoType getTypeId(void) constint getStackIndex(void) constvirtual void push(SoState *state)virtual void pop(SoState *state, const SoElement *prevTopElement)void setDepth(const int depth)int getDepth(void) constvirtual ~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) constvirtual void captureThis(SoState *state) constvoid setTypeId(const SoType typeId)void setStackIndex(const int index)SoElement * getNextInStack(void) constSoElement * 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 typeIdint stackIndexint depth
πΊ Static Protected Attributes inherited from SoElement
static int classStackIndexstatic 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
- 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