SoFaceDetail — stores detail information about vertex-based shapes made of faces
Contents
Description
This class contains detail information about a point on a face in a vertex-based shape made of faces. The
information includes the number of points in the face, the points forming the vertices of the face, and
the index of the face within the shape.
Note that when an SoFaceDetail is returned from picking (in an SoPickedPoint), it will contain details
for all points defining the face that was intersected. However, when an SoFaceDetail is created for a
triangle produced during primitive generation (in an SoPrimitiveVertex), it will contain details for only
the three vertices of the triangle.
Inherits From
SoDetail > SoFaceDetail
Methods
SoFaceDetail()virtual~SoFaceDetail()
Constructor and destructor.
longgetNumPoints()const
Returns the number of points in the face.
constSoPointDetail*getPoint(inti)const
Returns information about the point forming the i'th vertex of the face, represented as an
SoPointDetail.
int32_tgetFaceIndex()const
Returns the index of the face within the shape.
int32_tgetPartIndex()const
Returns the index of the part containing the face within the shape.
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoFaceDetail — stores detail information about vertex-based shapes made of faces
See Also
SoDetail,SoPickedPoint,SoPrimitiveVertex,SoVertexShapeSoFaceDetail(3IV)()
Synopsis
#include<Inventor/details/SoFaceDetail.h>
Methods from class SoFaceDetail:
SoFaceDetail()virtual~SoFaceDetail()longgetNumPoints()constconstSoPointDetail*getPoint(inti)constint32_tgetFaceIndex()constint32_tgetPartIndex()conststaticSoTypegetClassTypeId()
Methods from class SoDetail:
SoDetail*copy()constvirtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)const