50#ifndef _SO_PRIMITIVE_VERTEX_ 
   51#define _SO_PRIMITIVE_VERTEX_ 
   53#include <Inventor/SbLinear.h> 
   57class SoTextureCoordinateBundle;
 
  170  void                setPoint(
const SbVec3f &pt)       { point     = pt; }
 
  171  void                setNormal(
const SbVec3f &norm)    { normal    = norm; }
 
  172  void                setTextureCoords( 
const SbVec4f &t ){ m_texCoords = t; }
 
  173  void                setTextureCoords( 
const SoTextureCoordinateBundle  *tcb, 
int curCoord );
 
  176  void                setMaterialIndex(
int index)  { materialIndex = index; }
 
  180  void                setDetail(
SoDetail *d)            { detail = d; }
 
  193  mutable const SoTextureCoordinateBundle*  m_tcb;
 
  194  mutable int                               m_currCoord;
 
 
Base class for describing detail information about a shape node.
 
Stores detail information about vertex-based shapes made of points.
 
Represents a vertex of a generated primitive.
 
const SbVec3f & getNormal() const
Returns the normal in object space.
 
const SbVec3f & getPoint() const
Returns the surface point in object space.
 
SoPrimitiveVertex(const SoPrimitiveVertex &pv)
Constructor.
 
const SoPointDetail * getPointDetail() const
Returns the point detail giving more information about the vertex.
 
const SbVec4f & getTextureCoords() const
Returns the texture coordinates in object space.
 
SoPrimitiveVertex & operator=(const SoPrimitiveVertex &pv)
Copies the given vertex.
 
~SoPrimitiveVertex()
Destructor.
 
const SoDetail * getDetail() const
Returns the detail giving more information about the vertex.
 
SoPrimitiveVertex()
Default constructor.
 
int getMaterialIndex() const
Returns the index into the current set of materials of the material active at the vertex.