SoNormalElement(3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

✨ SoNormalElement ✨

okay so bestie, welcome to the SoNormalElement page πŸ’– it lives in section 3 of the library functions manual, and honestly? the class itself is yet to be documented. that's not me being shady, that's literally what the source says. we're all just here vibing with the FIXMEs together 🫢


🌸 SYNOPSIS 🌸

#include <Inventor/elements/SoNormalElement.h>

Inherits SoReplacedElement.

Inherited by SoGLNormalElement.

πŸ’… Public Member Functions

  • virtual void init (SoState *state) β€” FIXME: write doc. 😭
  • int32_t getNum (void) const β€” FIXME: write doc. 😭
  • const SbVec3f & get (const int index) const β€” FIXME: write doc. 😭
  • const SbVec3f * getArrayPtr (void) const β€” no doc line at all, she's mysterious like that πŸ™ˆ
  • SbBool areNormalsUnitLength (void) const β€” also no doc line, keep scrolling bestie

πŸ¦‹ Public Member Functions inherited from SoReplacedElement

  • virtual SbBool matches (const SoElement *element) const
  • virtual SoElement * copyMatchInfo () const
  • uint32_t 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 numNormals, const SbVec3f *const normals, const SbBool normalsAreUnitLength=FALSE) β€” FIXME: write doc. 😭
  • static const SoNormalElement * getInstance (SoState *const 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 ~SoNormalElement ()

πŸŽ€ 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

πŸ’œ Protected Attributes

  • int32_t numNormals
  • const SbVec3f * normals
  • SbBool unitLength

πŸ’œ Protected Attributes inherited from SoReplacedElement

  • uint32_t nodeId

πŸ’œ Protected Attributes inherited from SoElement

  • SoType typeId
  • int stackIndex
  • int depth

🌈 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)

🌟 Static Protected Attributes inherited from SoElement

  • static int classStackIndex
  • static SoTypeList * stackToType

πŸ’– Detailed Description πŸ’–

The SoNormalElement class is yet to be documented.

FIXME: write doc.

bestie the whole detailed description is two lines and one of them is a FIXME 😭 we are working with what we have. no cap.

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

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

The destructor. she's protected, she's virtual, she's doing her little cleanup thing πŸ’…


πŸ”₯ Member Function Documentation πŸ”₯

void * SoNormalElement::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… mind your business bestie πŸ™ˆ iykyk.

void SoNormalElement::initClass (void ) [static]

This static method initializes static data for the SoNormalElement class. she's setting up the static stuff, iconic behavior ⭐

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

FIXME: write doc. 😭

Reimplemented from SoReplacedElement.

Reimplemented in SoGLNormalElement.

const SbVec3f * SoNormalElement::getArrayPtr (void ) const

Returns a pointer to the normal array. This method is not part of the OIV API β€” so fr fr, don't go building your whole app on it 🫢


🌈 Member Data Documentation 🌈

int32_t SoNormalElement::numNormals [protected]

FIXME: write doc. 😭

const SbVec3f* SoNormalElement::normals [protected]

FIXME: write doc. 😭


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. so technically Doxygen is the author, and honestly? she ate πŸ’…βœ¨


and that's the whole page, bestie πŸŽ€ it's a Coin joint, Version 3.1.3, filed under SoNormalElement(3) β€” go forth and element your normals, no cap πŸ’–πŸ¦‹

πŸ“¦ where this page comes from