55#ifndef _SO_FACE_DETAIL_ 
   56#define _SO_FACE_DETAIL_ 
  130                { setNumPoints ((
int32_t) num); }
 
 
  132                { setPoint ((
int32_t) index, pd); }
 
 
  134                { setFaceIndex ((
int32_t) i); }
 
 
  136                { setPartIndex ((
int32_t) i); }
 
 
 
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
 
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
 
#define SO_DETAIL_HEADER(className)
Macros to be called within the class definition header for a detail subclass:
 
Base class for describing detail information about a shape node.
 
Stores detail information about vertex-based shapes made of faces.
 
SoFaceDetail()
Constructor and destructor.
 
void setFaceIndex(long i)
 
int32_t getPartIndex() const
Returns the index of the part containing the face within the shape.
 
void setPartIndex(int32_t i)
 
void setNumPoints(int32_t num)
Sets the number of points in the face and allocates room for the points.
 
void setPoint(int32_t index, const SoPointDetail *pd)
Copies a point detail from the given detail.
 
void setPartIndex(long i)
 
void setFaceIndex(int32_t i)
Sets the face index and part index.
 
virtual ~SoFaceDetail()
Constructor and destructor.
 
SoPointDetail * getPoints()
Return a pointer to the point details.
 
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...
 
void setPoint(long index, const SoPointDetail *pd)
 
void setNumPoints(long num)
 
Stores detail information about vertex-based shapes made of points.