SoShapeStyleElement(3)

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

πŸ’– 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 = 0x00000100
    • TEXENABLED = 0x00000200
    • TEXFUNC = 0x00000400
    • BBOXCMPLX = 0x00000800
    • INVISIBLE = 0x00001000
    • ABORTCB = 0x00002000
    • OVERRIDE = 0x00004000
    • TEX3ENABLED = 0x00008000
    • BIGIMAGE = 0x00010000
    • BUMPMAP = 0x00020000
    • VERTEXARRAY = 0x00040000
    • TRANSP_TEXTURE = 0x00080000
    • TRANSP_MATERIAL = 0x00100000
    • TRANSP_SORTED_TRIANGLES = 0x00200000
    • SHADOWMAP = 0x00400000
    • SHADOWS = 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) const
  • int getStackIndex(void) const
  • void setDepth(const int depth)
  • int getDepth(void) const
  • virtual void print(FILE *file=stdout) const
  • virtual ~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) 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 SoElement 🧚

  • SoType typeId
  • int stackIndex
  • int depth

⭐ Static Protected Attributes inherited from SoElement ⭐

  • static int classStackIndex
  • static 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