SoGLTextur...ateElement(3)

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

πŸ’… NAME πŸ’…

SoGLTextureCoordinateElement β€” the class that stores the current gltexture coordinates. She's a manual-page girlie from the Library Functions Manual, and bestie, she holds the vibes (and the coords) so you don't have to. πŸŽ€


✨ SYNOPSIS ✨

#include <Inventor/elements/SoGLTextureCoordinateElement.h>

Inherits SoTextureCoordinateElement. Family tree slay. 🌸

🫢 Public Member Functions

  • virtual void init (SoState *state) β€” FIXME: write doc. (yes, she's shy, the docs are literally TBD πŸ’€)
  • virtual void push (SoState *state) β€” FIXME: write doc.
  • virtual void pop (SoState *state, const SoElement *prevTopElement) β€” FIXME: write doc.
  • virtual CoordType getType () const β€” FIXME: write doc.
  • void send (const int index) const β€” FIXME: write doc.
  • void send (const int index, const SbVec3f &c, const SbVec3f &n) const β€” FIXME: write doc.
  • void initMulti (SoState *state) const β€” no notes, she's just there, iconic. πŸ‘‘

πŸ¦‹ Public Member Functions inherited from SoTextureCoordinateElement

  • const SbVec4f & get (const SbVec3f &point, const SbVec3f &normal) const
  • int32_t getNum (void) const β€” FIXME: write doc.
  • SbBool is2D (void) const β€” FIXME: write doc. (for backwards compability. Use getDimension() instead).
  • int32_t getDimension (void) const
  • const SbVec2f & get2 (const int index) const β€” FIXME: write doc.
  • const SbVec3f & get3 (const int index) const
  • const SbVec4f & get4 (const int index) const β€” FIXME: write doc.
  • const SbVec2f * getArrayPtr2 (void) const
  • const SbVec3f * getArrayPtr3 (void) const
  • const SbVec4f * getArrayPtr4 (void) const

🌈 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
  • 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 setTexGen (SoState *const state, SoNode *const node, SoTexCoordTexgenCB *const texgenFunc, void *const texgenData=NULL, SoTextureCoordinateFunctionCB *const func=NULL, void *const funcData=NULL) β€” FIXME: write doc.
  • static const SoGLTextureCoordinateElement * getInstance (SoState *const state) β€” FIXME: write doc.

🌸 Static Public Member Functions inherited from SoTextureCoordinateElement

  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void * createInstance (void)
  • static void initClass (void)
  • static void setDefault (SoState *const state, SoNode *const node) β€” FIXME: write doc.
  • static void setFunction (SoState *const state, SoNode *const node, SoTextureCoordinateFunctionCB *const func, void *const userdata) β€” FIXME: write doc.
  • static void set2 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec2f *const coords) β€” FIXME: write doc.
  • static void set3 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec3f *const coords)
  • static void set4 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec4f *const coords) β€” FIXME: write doc.
  • static CoordType getType (SoState *const state)
  • static const SoTextureCoordinateElement * 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 ~SoGLTextureCoordinateElement ()
  • virtual void setElt (SoTexCoordTexgenCB *func, void *data=NULL) β€” FIXME: write doc.

πŸ”’ Protected Member Functions inherited from SoTextureCoordinateElement

  • virtual ~SoTextureCoordinateElement ()

πŸ”’ 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

Public Types inherited from SoTextureCoordinateElement

  • enum CoordType { NONE = 0, TEXGEN = 0, EXPLICIT = 1, FUNCTION = 2, DEFAULT = 3 }

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 SoTextureCoordinateElement

  • CoordType whatKind
  • SoTextureCoordinateFunctionCB * funcCB
  • void * funcCBData
  • int32_t numCoords
  • const SbVec2f * coords2
  • const SbVec3f * coords3
  • const SbVec4f * coords4
  • SbBool coordsDimension
  • SbVec2f convert2
  • SbVec3f convert3
  • SbVec4f convert4

Protected Attributes inherited from SoReplacedElement

  • uint32_t 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 🌟

The SoGLTextureCoordinateElement class stores the current gltexture coordinates. That's it, that's the whole personality, and honestly? She serves. πŸ’–


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

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

The destructor. She's saying bye bestie, clean up after yourself. 🫢


πŸ”₯ Member Function Documentation πŸ”₯

void * SoGLTextureCoordinateElement::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, not your business, but okay. πŸ’…

void SoGLTextureCoordinateElement::initClass (void ) [static]

This static method initializes static data for the SoGLTextureCoordinateElement class. The classic init-class moment, we love to see it. ✨

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

FIXME: write doc.

Reimplemented from SoTextureCoordinateElement.

void SoGLTextureCoordinateElement::push (SoState * state) [virtual]

FIXME: write doc.

Reimplemented from SoElement.

void SoGLTextureCoordinateElement::pop (SoState * state, const SoElement * prevTopElement) [virtual]

FIXME: write doc.

Reimplemented from SoElement.

SoGLTextureCoordinateElement::CoordType SoGLTextureCoordinateElement::getType (void ) const [virtual]

FIXME: write doc.

Reimplemented from SoTextureCoordinateElement.

void SoGLTextureCoordinateElement::initMulti (SoState * state) const

Called from SoTextureCoordinateBundle to initialize multi texturing. Multi texturing said "I got you," and she did. πŸ‘‘


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. Not a human author, just a robot doing its little thing, and honestly? She ate. πŸ”₯


That's the whole page, bestie! πŸ’– This iconic manual page comes to you from Coin, Version 3.1.3, and the footer calls her SoGLTextur...ateElement(3) β€” the truncated legend herself. Now go forth and store those gltexture coordinates, no cap. πŸ¦‹βœ¨

πŸ“¦ where this page comes from