man SoPointDetail () - stores detail information about vertex-based shapes made of points

NAME

SoPointDetail - stores detail information about vertex-based shapes made of points

INHERITS FROM

SoDetail > SoPointDetail

SYNOPSIS

#include <Inventor/details/SoPointDetail.h> Methods from class SoPointDetail: c } c } SoPointDetail()

c } c } ~SoPointDetail()

c } c } getCoordinateIndex() const

c } c } getMaterialIndex() const

c } c } getNormalIndex() const

c } c } getTextureCoordIndex() const Methods from class SoDetail: c } c } copy() const

c } c } getClassTypeId()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

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.

METHODS

c } c } SoPointDetail()

c } c } ~SoPointDetail()

Constructor and destructor. c } c } getCoordinateIndex() const

Returns the index of the point within the relevant coordinate node. c } c } getMaterialIndex() const

Returns the index of the material for the point within the relevant material node. c } c } getNormalIndex() const

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. c } c } getTextureCoordIndex() const

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