SoFaceDetail(3)

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

πŸ’… SoFaceDetail β€” the Coin manpage, but make it cute

okay bestie, so this is SoFaceDetail(3) from the Coin library, and it's literally the glow-up page for polygon detail storage. buckle up πŸŽ€


✨ NAME ✨

SoFaceDetail β€” the class that's out here storing detailed polygon information. that's her whole job. iconic. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Inventor/details/SoFaceDetail.h>

She inherits SoDetail, so everything SoDetail has, she has too. nepotism but make it inheritance πŸ’…

πŸ’« Public Member Functions

virtual SoType getTypeId (void) const
SoFaceDetail (void)
virtual ~SoFaceDetail ()
virtual SoDetail * copy (void) const
int getNumPoints (void) const
const SoPointDetail * getPoint (const int idx) const
SoPointDetail * getPoints (void)
int getFaceIndex (void) const
int getPartIndex (void) const
void setNumPoints (const int num)
void setPoint (const int idx, const SoPointDetail *const detail)
void setFaceIndex (const int idx)
void setPartIndex (const int idx)
void incFaceIndex (void)
void incPartIndex (void)

🌸 Public Member Functions inherited from SoDetail

virtual ~SoDetail ()
SbBool isOfType (const SoType type) const

🧚 Static Public Member Functions

static SoType getClassTypeId (void)
static void cleanupClass (void)
static void initClass (void)

⭐ Static Public Member Functions inherited from SoDetail

static void initClass (void)
static void initClasses (void)
static SoType getClassTypeId (void)

🌈 Additional Inherited Members

Protected Member Functions inherited from SoDetail

SoDetail (void)

πŸ‘‘ Detailed Description πŸ‘‘

The SoFaceDetail class is for storing detailed polygon information. fr fr, that's the whole vibe.

Instances of this class are used among other things for storing information about polygons after pick operations, and for storing information returned to tessellation callbacks. she's booked and busy πŸ’…

Note that a SoFaceDetail instance consists of a set of SoPointDetail instances, one for each vertex of the polygon it represents. one point detail per vertex, no more no less, periodt.

See also

  • SoRayPickAction, SoPickedPoint, SoCallbackAction

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

SoFaceDetail::SoFaceDetail (void )

Default constructor sets up an empty, non-valid detail specification. so she starts empty. we love a blank slate era ✨

SoFaceDetail::~SoFaceDetail () [virtual]

Destructor, free internal resources used for storing the polygon vertices. she's cleaning up after herself, as she should πŸ’–


πŸ”₯ Member Function Documentation πŸ”₯

SoType SoFaceDetail::getTypeId (void ) const [virtual]

Returns the type identification of an object derived from a class inheriting SoDetail. This is used for runtime type checking and "downward" casting. basically the "who are you really" check bestie πŸ’…

Implements SoDetail.

SoType SoFaceDetail::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class. class-wide type id, slay.

void SoFaceDetail::cleanupClass (void ) [inline], [static]

This static method cleans up static data of the class. she tidies up 🧹✨

SoDetail * SoFaceDetail::copy (void ) const [virtual]

Return a deep copy of ourself. not a shallow copy, a deep one. she's thorough.

Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable are using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. πŸ’€ this is the scary part, bestie, do not skip it.

Implements SoDetail.

int SoFaceDetail::getNumPoints (void ) const

Number of vertices making up the polygon. how many points, that's the number 🫢

const SoPointDetail * SoFaceDetail::getPoint (const int idx) const

Returns a pointer into the array of vertices, starting at the idx'th vertex of the polygon.

The array will contain (SoFaceDetail::getNumPoints() - idx) elements. do the math, she's giving offset energy πŸ’…

SoPointDetail * SoFaceDetail::getPoints (void )

Returns the full array of vertices details for the polygon. The array will contain SoFaceDetail::getNumPoints() elements. the whole squad, nobody left behind πŸ’–

int SoFaceDetail::getFaceIndex (void ) const

Returns the index of this polygon within the faceset node it is part of. which face in the faceset, that's the one 🌸

int SoFaceDetail::getPartIndex (void ) const

If this SoFaceDetail represents a triangle tessellated from a complex shape, this method returns the index of the part of the complex shape it was tessellated from. tessellation lore ✨

void SoFaceDetail::setNumPoints (const int num)

Used internally from library client code setting up a SoFaceDetail instance. that's an internal thing, not your business (respectfully) πŸ™ˆ

See also

  • getNumPoints()

void SoFaceDetail::setPoint (const int idx, const SoPointDetail *const detail)

Used internally from library client code setting up a SoFaceDetail instance. internal again, iykyk πŸ’…

See also

  • getPoint(), getPoints()

void SoFaceDetail::setFaceIndex (const int idx)

Used internally from library client code setting up a SoFaceDetail instance. internal, yes, again πŸŽ€

See also

  • getFaceIndex()

void SoFaceDetail::setPartIndex (const int idx)

Used internally from library client code setting up a SoFaceDetail instance. internal, bestie 🌈

See also

  • getPartIndex()

void SoFaceDetail::incFaceIndex (void )

Used internally from library client code setting up a SoFaceDetail instance.

This function is specific for Coin, and is not present in SGI/TGS Open Inventor. she's Coin-exclusive, no cap πŸ‘‘

void SoFaceDetail::incPartIndex (void )

Used internally from library client code setting up a SoFaceDetail instance.

This function is specific for Coin, and is not present in SGI/TGS Open Inventor. Coin-only again, she ate πŸ’…


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for Coin from the source code. the robots wrote it, we just made it cute 🫢


and that's the whole page, bestie!! no details skipped, every flag and function accounted for, we did NOT cut corners πŸ’–βœ¨

Version 4.0.10 β€” dated Thu Jun 25 2026 00:00:00 β€” and this lil rewrite is still filed under SoFaceDetail(3). mwah πŸ’‹ go forth and store your polygon details, main character πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from