SOPOINTDETAIL(3iv)
π SoPointDetail β the manual page, but make it cute
okay so bestie, welcome to SoPointDetail(3IV), which is the manual page for this lil' class. grab a strawberry π and let's go, because this one is short but it is load-bearing, trust.
β¨ NAME β¨
SoPointDetail</puruple> β stores detail information about vertex-based shapes made of points
like. that's it. that's the job. it holds the β¨deetsβ¨ about a point. π
πΈ INHERITS FROM πΈ
SoDetail > SoPointDetail
so it's a SoDetail girlie first and a point-detail girlie second. the lineage is real, the family tree is slaying. π
π¦ SYNOPSIS π¦
first of all, the include. no cap, you need it:
#include <Inventor/details/SoPointDetail.h>
then here's everything it brings to the table, split by which ancestor it came from π
Methods from class SoPointDetail:
SoPointDetail()
virtual ~SoPointDetail()
int32_t getCoordinateIndex() const
int32_t getMaterialIndex() const
int32_t getNormalIndex() const
int32_t getTextureCoordIndex() const
Methods from class SoDetail:
SoDetail * copy() const
static SoType getClassTypeId()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
periodt. that's the whole roster. β¨
π DESCRIPTION π
so SoPointDetail contains detail information about a point in a vertex-based shape made of points. it's the class that gets called in when you need the receipts π about an intersection with β or about primitives generated by β a set of points.
and it's not just a solo act! it also gets used by SoFaceDetail and SoLineDetail to return information about the vertices of faces and line segments. so it's like, the shared detail-source for the whole friend group. iconic behavior honestly. π«Ά
π METHODS π
SoPointDetail()
virtual ~SoPointDetail()
constructor and destructor, bestie. the hello and the bye. π
int32_t getCoordinateIndex() const
returns the index of the point within the relevant coordinate node. that's the vibe check on where the point lives. π
int32_t getMaterialIndex() const
returns the index of the material for the point within the relevant material node. it's giving "what's the fit" energy. π
int32_t getNormalIndex() const
returns the index of the surface normal at the point within the relevant normal node.
β οΈ okay important, don't skip this: note that if normals have been generated for a shape, the index may not be into an existing normal node. so don't just assume, bestie. read the note. π
int32_t getTextureCoordIndex() const
returns the index of the texture coordinates for the point within the relevant normal node.
β οΈ and same energy here: note that if texture coordinates have been generated for a shape, the index may not be into an existing texture coordinate node. lowkey a trap if you don't read the fine print. π
π SEE ALSO π
go read these next, they're all in the group chat:
SoDetailSoPickedPointSoPrimitiveVertexSoVertexShapeSoFaceDetailSoLineDetail
and that's the whole page!! π§ the footer says it's SoPointDetail(3IV)(), so like, that's the source/version and the date situation β no extra date given, just the classic manual name-and-empty-parens combo. slay. now go index some points, bestie. πβ¨πΈ
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms