55#ifndef _SO_POINT_DETAIL_
56#define _SO_POINT_DETAIL_
119 { setCoordinateIndex ((
int32_t) i); }
121 { setMaterialIndex ((
int32_t) i); }
123 { setNormalIndex ((
int32_t) i); }
125 { setTextureCoordIndex ((
int32_t) i); }
132 int32_t coordIndex, materialIndex, normalIndex, texCoordIndex;
#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 points.
void setNormalIndex(long i)
SoPointDetail()
Constructor and destructor.
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
void setCoordinateIndex(long i)
void setTextureCoordIndex(long i)
void setNormalIndex(int32_t i)
void setMaterialIndex(long i)
void setTextureCoordIndex(int32_t i)
void setMaterialIndex(int32_t i)
int32_t getNormalIndex() const
Returns the index of the surface normal at the point within the relevant normal node.
void setCoordinateIndex(int32_t i)
Each of these sets one of the indices in the detail.
int32_t getMaterialIndex() const
Returns the index of the material for the point within the relevant material node.
virtual ~SoPointDetail()
Constructor and destructor.
int32_t getTextureCoordIndex() const
Returns the index of the texture coordinates for the point within the relevant normal node.
int32_t getCoordinateIndex() const
Returns the index of the point within the relevant coordinate node.