SoShapeStyleElement(3)
π SoShapeStyleElement π
okay bestie, welcome to Coinβs SoShapeStyleElement β and ngl, the class docs are literally just "yet to be documented" π so weβre gonna vibe with what weβve got. This is SoShapeStyleElement(3), manual page 3, sheβs a whole element class π
β¨ NAME β¨
SoShapeStyleElement β The SoShapeStyleElement class is yet to be documented. π«Ά
πΈ SYNOPSIS πΈ
#include <Inventor/elements/SoShapeStyleElement.h>
Inherits SoElement.
π Public Types π
enum Flagsβ the flag squad, and every single one is a hex value, no cap:LIGHTING = 0x00000100TEXENABLED = 0x00000200TEXFUNC = 0x00000400BBOXCMPLX = 0x00000800INVISIBLE = 0x00001000ABORTCB = 0x00002000OVERRIDE = 0x00004000TEX3ENABLED = 0x00008000BIGIMAGE = 0x00010000BUMPMAP = 0x00020000VERTEXARRAY = 0x00040000TRANSP_TEXTURE = 0x00080000TRANSP_MATERIAL = 0x00100000TRANSP_SORTED_TRIANGLES = 0x00200000SHADOWMAP = 0x00400000SHADOWS = 0x00800000
π Public Member Functions π
virtual void init(SoState *state)β sets the element to its default vibe.virtual void push(SoState *state)β FIXME: write doc. πvirtual void pop(SoState *state, const SoElement *prevTopElement)β FIXME: write doc. πvirtual SbBool matches(const SoElement *element) constβ FIXME: write doc. πvirtual SoElement *copyMatchInfo(void) constβ FIXME: write doc. πunsigned int getFlags(void) constβ hands you the state flags.SbBool mightNotRender(void) constβ FIXME: write doc. πSbBool needNormals(void) constβ FIXME: write doc. πSbBool needTexCoords(void) constβ FIXME: write doc. πint getRenderCaseMask(void) constβ not implemented in Coin, iykyk.SbBool isTextureFunction(void) constβ tells you if the texture function is currently on.
π Public Member Functions inherited from SoElement π
const SoType getTypeId(void) constint getStackIndex(void) constvoid setDepth(const int depth)int getDepth(void) constvirtual void print(FILE *file=stdout) constvirtual ~SoElement()
π¦ Static Public Member Functions π¦
static SoType getClassTypeId(void)static int getClassStackIndex(void)static void *createInstance(void)static void initClass(void)static const SoShapeStyleElement *get(SoState *const state)β FIXME: write doc. πstatic void setDrawStyle(SoState *const state, const int32_t value)β FIXME: write doc. πstatic void setComplexityType(SoState *const state, const int32_t value)β FIXME: write doc. πstatic void setTransparencyType(SoState *const state, const int32_t value)β FIXME: write doc. πstatic void setTextureEnabled(SoState *const state, const SbBool value)β FIXME: write doc. πstatic void setTexture3Enabled(SoState *const state, const SbBool value)β FIXME: write doc. πstatic void setTextureFunction(SoState *const state, const SbBool value)β FIXME: write doc. πstatic void setLightModel(SoState *const state, const int32_t value)β FIXME: write doc. πstatic void setOverrides(SoState *const state, const SbBool value)β FIXME: write doc. πstatic SbBool isScreenDoor(SoState *const state)β FIXME: write doc. πstatic int getTransparencyType(SoState *const state)static void setBumpmapEnabled(SoState *state, const SbBool value)static void setBigImageEnabled(SoState *state, const SbBool value)static void setVertexArrayRendering(SoState *state, const SbBool value)static void setTransparentMaterial(SoState *state, const SbBool value)static void setTransparentTexture(SoState *state, const SbBool value)static void setShadowMapRendering(SoState *state, const SbBool value)static void setShadowsRendering(SoState *state, const SbBool value)
π 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 ~SoShapeStyleElement()β destructor, sheβs protected.
π 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 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 SoElement π§
SoType typeIdint stackIndexint depth
β Static Protected Attributes inherited from SoElement β
static int classStackIndexstatic SoTypeList *stackToType
π Detailed Description π
The SoShapeStyleElement class is yet to be documented.
FIXME: write doc. π (yes, thatβs the whole thing, bestie, weβre working with crumbs here)
π¬ Constructor & Destructor Documentation π¬
SoShapeStyleElement::~SoShapeStyleElement() [protected], [virtual]
Destructor. π«‘
π οΈ Member Function Documentation π οΈ
SoType SoShapeStyleElement::getClassTypeId(void) [static]
This static method returns the SoType object associated with objects of this class. β¨
int SoShapeStyleElement::getClassStackIndex(void) [static]
This static method returns the state stack index for the class. π
void *SoShapeStyleElement::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. π
Creates a new instance of the class type corresponding to the SoType object.
void SoShapeStyleElement::initClass(void) [static]
Initialize relevant common data for all instances, like the type system. π
void SoShapeStyleElement::init(SoState *state) [virtual]
Initializes the element to its default value. The default value for flags is SoShapeStyleElement::LIGHTING. π‘
Reimplemented from SoElement.
void SoShapeStyleElement::push(SoState *state) [virtual]
FIXME: write doc. π
Reimplemented from SoElement.
void SoShapeStyleElement::pop(SoState *state, const SoElement *prevTopElement) [virtual]
FIXME: write doc. π
Reimplemented from SoElement.
SbBool SoShapeStyleElement::matches(const SoElement *element) const [virtual]
FIXME: write doc. π
Implements SoElement.
SoElement *SoShapeStyleElement::copyMatchInfo(void) const [virtual]
FIXME: write doc. π
Implements SoElement.
unsigned int SoShapeStyleElement::getFlags(void) const
Returns the state flags. Used internally to optimize rendering. β‘
Since Coin 2.4.
SbBool SoShapeStyleElement::mightNotRender(void) const
FIXME: write doc. π
SbBool SoShapeStyleElement::needNormals(void) const
FIXME: write doc. π
SbBool SoShapeStyleElement::needTexCoords(void) const
FIXME: write doc. π
int SoShapeStyleElement::getRenderCaseMask(void) const
Not implemented in Coin. It is used by SoVertexProperty in SGI OIV. π«
void SoShapeStyleElement::setTexture3Enabled(SoState *const state, const SbBool value) [static]
FIXME: write doc. π
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
Since Coin 2.0.
int SoShapeStyleElement::getTransparencyType(SoState *const state) [static]
Returns the current transparency type. π«§
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
Since Coin 2.0.
SbBool SoShapeStyleElement::isTextureFunction(void) const
Returns if texture function is currently enabled. πΌοΈ
void SoShapeStyleElement::setBumpmapEnabled(SoState *state, const SbBool value) [static]
Sets bumpmap enabled. πͺ¨
Since Coin 2.4.
void SoShapeStyleElement::setBigImageEnabled(SoState *state, const SbBool value) [static]
Sets bigimage enabled. π₯οΈ
Since Coin 2.4.
void SoShapeStyleElement::setVertexArrayRendering(SoState *state, const SbBool value) [static]
Sets if vertex array rendering might be used. πΊ
Since Coin 2.4.
void SoShapeStyleElement::setTransparentMaterial(SoState *state, const SbBool value) [static]
Sets material transparency. π«§
Since Coin 2.4.
void SoShapeStyleElement::setTransparentTexture(SoState *state, const SbBool value) [static]
Sets texture transparency. π«§
Since Coin 2.4.
void SoShapeStyleElement::setShadowMapRendering(SoState *state, const SbBool value) [static]
Sets whether we are rendering to a shadow (depth) map or not. π
Since Coin 2.5.
void SoShapeStyleElement::setShadowsRendering(SoState *state, const SbBool value) [static]
Sets whether we are rendering with shadows or not. π
Since Coin 2.5.
π Author π
Generated automatically by Doxygen for Coin from the source code. π€β¨
and thatβs the whole page, bestie!! π This was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it lives on page 3 as SoShapeStyleElement(3). slay, go forth and render ππ¦π
π¦ 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