SoProfileCoordinateElement(3)
β¨ 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) constconst SbVec2f & get2 (const int index) constconst SbVec3f & get3 (const int index) constSbBool is2D (void) constconst SbVec2f * getArrayPtr2 (void) constconst SbVec3f * getArrayPtr3 (void) const
π Public Member Functions inherited from SoReplacedElement
virtual SbBool matches (const SoElement *element) constvirtual SoElement * copyMatchInfo () constSbUniqueId getNodeId () constvirtual void print (FILE *file) const
π¦ Public Member Functions inherited from SoElement
const SoType getTypeId (void) constint getStackIndex (void) constvirtual void push (SoState *state)virtual void pop (SoState *state, const SoElement *prevTopElement)void setDepth (const int depth)int getDepth (void) constvirtual ~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) constvirtual void captureThis (SoState *state) constvoid setTypeId (const SoType typeId)void setStackIndex (const int index)SoElement * getNextInStack (void) constSoElement * getNextFree (void) const
π Protected Attributes π
int32_t numCoordsconst SbVec2f * coords2const SbVec3f * coords3SbBool coordsAre2D
π Protected Attributes inherited from SoReplacedElement
SbUniqueId nodeId
π¦ Protected Attributes inherited from SoElement
SoType typeIdint stackIndexint depth
β Additional Inherited Members β
- Static Protected Member Functions inherited from
SoReplacedElementstatic SoElement * getElement (SoState *const state, const int stackIndex, SoNode *const node)
- Static Protected Member Functions inherited from
SoElementstatic 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
SoElementstatic int classStackIndexstatic 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
- 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