CIvfVertexElements Class Reference

#include <ivf/IvfVertexElements.h>

Inheritance diagram for CIvfVertexElements:

CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Types

enum  TPrimitiveType {
  PT_POINTS, PT_LINES, PT_LINE_STRIP, PT_LINE_LOOP,
  PT_TRIANGLES, PT_TRIANGLE_STRIP, PT_TRIANGLE_FAN, PT_QUADS,
  PT_QUAD_STRIP, PT_POLYGON
}

Public Member Functions

 CIvfVertexElements ()
virtual ~CIvfVertexElements ()
 IvfClassInfo ("CIvfVertexElements", CIvfShape)
void setIndices (CIvfVertexIndex *index)
void setVertices (CIvfVertexList *vertices)
void setColors (CIvfColorList *colors)
void setNormals (CIvfNormalList *normals)
void setPrimitive (TPrimitiveType primitive)
TPrimitiveType getPrimitive ()

Protected Member Functions

virtual void createGeometry ()

Detailed Description

Vertex element class

Implements the OpenGL glDrawElements command

Definition at line 43 of file IvfVertexElements.h.


Constructor & Destructor Documentation

CIvfVertexElements::CIvfVertexElements  ) 
 

CIvfVertexElements constructor

virtual CIvfVertexElements::~CIvfVertexElements  )  [virtual]
 

CIvfVertexElements destructor


Member Function Documentation

virtual void CIvfVertexElements::createGeometry  )  [protected, virtual]
 

Forces an object recalculation.

Reimplemented from CIvfShape.

TPrimitiveType CIvfVertexElements::getPrimitive  ) 
 

Return primitive type

void CIvfVertexElements::setColors CIvfColorList colors  ) 
 

Set color list

void CIvfVertexElements::setIndices CIvfVertexIndex index  ) 
 

Set index list

void CIvfVertexElements::setNormals CIvfNormalList normals  ) 
 

Set normal list

void CIvfVertexElements::setPrimitive TPrimitiveType  primitive  ) 
 

Set primitive type to be drawn

void CIvfVertexElements::setVertices CIvfVertexList vertices  ) 
 

Set vertex list


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:37:00 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO