52#ifndef _SO_FACE_DETAIL_
53#define _SO_FACE_DETAIL_
56class SoFaceDetailImpl;
132 void setNumPoints(int32_t num);
138 void setFaceIndex(int32_t i);
139 void setPartIndex(int32_t i);
147 void setNumPoints(
long num)
148 { setNumPoints ((int32_t) num); }
154 { setPoint ((int32_t) index, pd); }
159 void setFaceIndex(
long i)
160 { setFaceIndex ((int32_t) i); }
165 void setPartIndex(
long i)
166 { setPartIndex ((int32_t) i); }
174 static void initClass();
175 static void exitClass();
178 SoFaceDetailImpl* m_impl;
#define SO_DETAIL_HEADER(className)
Base class for describing detail information about a shape node.
Stores detail information about vertex-based shapes made of faces.
SoFaceDetail()
Constructor.
int32_t getPartIndex() const
Returns the index of the part containing the face within the shape.
virtual ~SoFaceDetail()
Destructor.
int32_t getNumPoints() const
Returns the number of points in the face.
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
int32_t getFaceIndex() const
Returns the index of the face within the shape.
const SoPointDetail * getPoint(int i) const
Returns information about the point forming the i'th vertex of the face, represented as an SoPointDet...
Stores detail information about vertex-based shapes made of points.