CIvfTriSet Class Reference

#include <ivf/IvfTriSet.h>

Inheritance diagram for CIvfTriSet:

CIvfGLPrimitive CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfTriSet ()
virtual ~CIvfTriSet ()
 IvfClassInfo ("CIvfTriSet", CIvfGLPrimitive)
void setUseColor (bool flag)
bool getUseColor ()
void setDrawInterval (int interval)

Protected Member Functions

virtual void updateVertexNormals ()
virtual void calcNormal (CIvfIndex *idx)
virtual void createGeometry ()

Detailed Description

Tri set class

Implements an OpenGL GL_TRIANGLES primitive

Author:
Jonas Lindemann
Examples:

advgeom.cpp.

Definition at line 39 of file IvfTriSet.h.


Constructor & Destructor Documentation

CIvfTriSet::CIvfTriSet  ) 
 

CIvfTriSet constructor

virtual CIvfTriSet::~CIvfTriSet  )  [virtual]
 

CIvfTriSet destructor


Member Function Documentation

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

Forces an object recalculation.

Reimplemented from CIvfShape.

bool CIvfTriSet::getUseColor  ) 
 

Return color usage

void CIvfTriSet::setDrawInterval int  interval  ) 
 

Set draw interval

Initially interval is set to 1, which renders all triangles. If for example set to 3 every third triangle will be drawn.

void CIvfTriSet::setUseColor bool  flag  ) 
 

Enable/disable usage of color values when rendering

virtual void CIvfTriSet::updateVertexNormals  )  [protected, virtual]
 

Updates vertex normals

Should be overidden by derived classes.

Reimplemented from CIvfGLPrimitive.


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