SoFaceDetail(3)
π 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
- 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