#include <ivf/IvfTriSet.h>
Inheritance diagram for CIvfTriSet:
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 () |
Implements an OpenGL GL_TRIANGLES primitive
Definition at line 39 of file IvfTriSet.h.
|
CIvfTriSet constructor |
|
CIvfTriSet destructor |
|
Forces an object recalculation. Reimplemented from CIvfShape. |
|
Return color usage |
|
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. |
|
Enable/disable usage of color values when rendering |
|
Updates vertex normals Should be overidden by derived classes. Reimplemented from CIvfGLPrimitive. |