SoProfileCoordinateElement(3)

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

✨ SoProfileCoordinateElement ✨

okay bestie, gather round, because today we're reading the SoProfileCoordinateElement(3) page from the Coin manual πŸ’– it's a C++ class, it lives in the Inventor/elements cinematic universe, and honestly? it's giving "the docs said FIXME and we all just moved on." no cap. let's get into it 🫢


πŸŽ€ NAME πŸŽ€

SoProfileCoordinateElement β€” the SoProfileCoordinateElement class is yet to be documented. that's it, that's the whole name section. iconic honestly πŸ’…


🌸 SYNOPSIS 🌸

#include <Inventor/elements/SoProfileCoordinateElement.h>

Inherits SoReplacedElement.


πŸ‘‘ Public Member Functions πŸ‘‘

  • virtual void init (SoState *state)
  • int32_t getNum (void) const
  • const SbVec2f & get2 (const int index) const
  • const SbVec3f & get3 (const int index) const
  • SbBool is2D (void) const
  • const SbVec2f * getArrayPtr2 (void) const
  • const SbVec3f * getArrayPtr3 (void) const

πŸ’œ Public Member Functions inherited from SoReplacedElement

  • virtual SbBool matches (const SoElement *element) const
  • virtual SoElement * copyMatchInfo () const
  • SbUniqueId 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 set2 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec2f *const coords)
  • static void set3 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec3f *const coords)
  • static const SoProfileCoordinateElement * getInstance (SoState *const state)
  • static SbVec2f getDefault2 (void)
  • static SbVec3f getDefault3 (void)

πŸ’œ 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 ~SoProfileCoordinateElement ()

πŸ’œ 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 numCoords
  • const SbVec2f * coords2
  • const SbVec3f * coords3
  • SbBool coordsAre2D

πŸ’œ Protected Attributes inherited from SoReplacedElement

  • SbUniqueId 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 πŸ’–

so the SoProfileCoordinateElement class is yet to be documented. literally that's what it says bestie 😭

FIXME: write doc.

we're all just living in the FIXME era, and honestly? relatable.


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

SoProfileCoordinateElement::~SoProfileCoordinateElement (void ) [protected], [virtual]

Destructor. it's the goodbye girlie, protected and virtual, as she deserves πŸ’…


πŸ¦‹ Member Function Documentation πŸ¦‹

SoType SoProfileCoordinateElement::getClassTypeId (void ) [static]

this static method returns the SoType object associated with objects of this class. the little name-tag for the whole squad ✨

int SoProfileCoordinateElement::getClassStackIndex (void ) [static]

this static method returns the state stack index for the class. your seat number in the state-stack theater, if you will 🎟️

void * SoProfileCoordinateElement::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.

ngl if you're not the library, this one is not your business πŸ’€ it's internal, fr fr.

void SoProfileCoordinateElement::initClass (void ) [static]

initialize relevant common data for all instances, like the type system. the whole class gets its glow-up setup 🫢

void SoProfileCoordinateElement::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.

void SoProfileCoordinateElement::set2 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec2f *const coords) [static]

sets the profile coordinates. (the 2D flavor 🌸)

void SoProfileCoordinateElement::set3 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec3f *const coords) [static]

sets the profile coordinates. (the 3D flavor πŸ¦‹)

const SoProfileCoordinateElement * SoProfileCoordinateElement::getInstance (SoState *const state) [static]

returns the current element. the main character of the moment πŸ‘‘

int32_t SoProfileCoordinateElement::getNum (void ) const

returns the number of profile coordinates in this element. how many? yes. πŸ”’

const SbVec2f & SoProfileCoordinateElement::get2 (const int index) const

returns the index'th 2D coordinate.

See also: is2D()

const SbVec3f & SoProfileCoordinateElement::get3 (const int index) const

returns the index'th 3D coordinate.

See also: is2D()

SbBool SoProfileCoordinateElement::is2D (void ) const

returns if this element contains 2D coordinates. the vibe check on dimensionality ✨

SbVec2f SoProfileCoordinateElement::getDefault2 (void ) [static]

returns the default 2D coordinate. the fallback girlie πŸ’…

SbVec3f SoProfileCoordinateElement::getDefault3 (void ) [static]

returns the default 3D coordinate. her three-dimensional sister 🌈

const SbVec2f * SoProfileCoordinateElement::getArrayPtr2 (void ) const

returns a pointer to the 2D coordinates. point me to the coords, bestie πŸ‘‰βœ¨

const SbVec3f * SoProfileCoordinateElement::getArrayPtr3 (void ) const

returns a pointer to the 3D coordinates. same energy, extra dimension πŸ’œ


🌸 Member Data Documentation 🌸

int32_t SoProfileCoordinateElement::numCoords [protected]

FIXME: write doc.

const SbVec2f* SoProfileCoordinateElement::coords2 [protected]

FIXME: write doc.

const SbVec3f* SoProfileCoordinateElement::coords3 [protected]

FIXME: write doc.

SbBool SoProfileCoordinateElement::coordsAre2D [protected]

FIXME: write doc.

four protected members, four FIXMEs. the consistency is lowkey impressive 😭


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for Coin from the source code. so not a human author, a robot did this, and honestly the robot ate πŸ€–πŸ’…


and that's the whole page bestie!! πŸ¦‹βœ¨ this was Version 4.0.10, dated Thu Jun 25 2026 β€” so go forth, set your set2 and your set3, and remember: if a doc says FIXME, that's not on you, that's on the source code πŸ«ΆπŸ’–πŸŽ€ no cap, periodt.

πŸ“¦ where this page comes from