SoPointDetail(3IV)NAMESoPointDetail (SoPtDtl) - stores detail information about vertex-based
shapes made of points
INHERITS FROM
SoDetail > SoPointDetailSYNOPSIS
#include <Inventor_c/details/SoPointDetail.h>
typedef SoPointDetail SoPtDtl
Functions from class SoPointDetail:
SoPointDetail * SoPtDtlCreate()
void SoPtDtlDelete(SoPtDtl *this)
int32_t SoPtDtlGetCoordInd(const SoPtDtl *this)
int32_t SoPtDtlGetMtlInd(const SoPtDtl *this)
int32_t SoPtDtlGetNormInd(const SoPtDtl *this)
int32_t SoPtDtlGetTexCoordInd(const SoPtDtl *this)
Functions from class SoDetail:
SoDetail * SoPtDtlVirtual(const SoPtDtl *this)
SoType SoPtDtlGetClassTypeId()
SoType SoPtDtlGetTypeId(const SoPtDtl *this)
SbBool SoPtDtlIsOfType(const SoPtDtl *this, SoType type)
DESCRIPTION
This class contains detail information about a point in a vertex-based
shape made of points. It is used for returning information about an
intersection with or primitives generated by a set of points. It is also
used by SoFaceDetail and SoLineDetail to return information about the
vertices of faces and line segments.
FUNCTIONSSoPointDetail * SoPtDtlCreate()
void SoPtDtlDelete(SoPtDtl *this)
Constructor and destructor.
int32_t SoPtDtlGetCoordInd(const SoPtDtl *this)
Returns the index of the point within the relevant coordinate node.
int32_t SoPtDtlGetMtlInd(const SoPtDtl *this)
Returns the index of the material for the point within the relevant
material node.
int32_t SoPtDtlGetNormInd(const SoPtDtl *this)
Returns the index of the surface normal at the point within the
relevant normal node. Note that if normals have been generated for a
shape, the index may not be into an existing normal node.
Page 1SoPointDetail(3IV)
int32_t SoPtDtlGetTexCoordInd(const SoPtDtl *this)
Returns the index of the texture coordinates for the point within
the relevant normal node. Note that if texture coordinates have been
generated for a shape, the index may not be into an existing texture
coordinate node.
SEE ALSO
SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape, SoFaceDetail,
SoLineDetail
Page 2