52#ifndef _SO_POINT_DETAIL_
53#define _SO_POINT_DETAIL_
130 void setCoordinateIndex(int32_t i) { coordIndex = i; }
131 void setMaterialIndex(int32_t i) { materialIndex = i; }
132 void setNormalIndex(int32_t i) { normalIndex = i; }
133 void setTextureCoordIndex(int32_t i) { texCoordIndex = i; }
139 void setCoordinateIndex(
long i)
140 { setCoordinateIndex ((int32_t) i); }
145 void setMaterialIndex(
long i)
146 { setMaterialIndex ((int32_t) i); }
151 void setNormalIndex(
long i)
152 { setNormalIndex ((int32_t) i); }
157 void setTextureCoordIndex(
long i)
158 { setTextureCoordIndex ((int32_t) i); }
166 static void initClass();
167 static void exitClass();
170 int32_t coordIndex, materialIndex, normalIndex, texCoordIndex;
#define SO_DETAIL_HEADER(className)
Base class for describing detail information about a shape node.
Stores detail information about vertex-based shapes made of points.
SoPointDetail()
Constructor.
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
int32_t getNormalIndex() const
Returns the index of the surface normal at the point within the relevant normal node.
int32_t getMaterialIndex() const
Returns the index of the material for the point within the relevant material node.
virtual ~SoPointDetail()
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.