libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
OGLFT::ColorTess Class Referenceabstract

#include <moOGLFT.h>

Public Member Functions

virtual ~ColorTess ()
 
virtual MOfloatcolor (MOdouble *p)=0
 

Detailed Description

During tesselation of a polygonal Face (outline, filled or solid), an object which implements this interface can be used to compute a different color for each vertex.

Definition at line 246 of file moOGLFT.h.

Constructor & Destructor Documentation

virtual OGLFT::ColorTess::~ColorTess ( )
inlinevirtual

Definition at line 250 of file moOGLFT.h.

Member Function Documentation

virtual MOfloat* OGLFT::ColorTess::color ( MOdouble p)
pure virtual

Compute a color for this position. Note that the position is in the glyph's local coordinate system.

Parameters
pvertex position in glyph's local coordinate system. Argument is a GLdouble[3].
Returns
GLfloat[4] (RGBA) color specification.

The documentation for this class was generated from the following file: