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::TextureTess Class Referenceabstract

#include <moOGLFT.h>

Public Member Functions

virtual ~TextureTess ()
 
virtual MOfloattexCoord (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 texture coordinate for each vertex.

Definition at line 264 of file moOGLFT.h.

Constructor & Destructor Documentation

virtual OGLFT::TextureTess::~TextureTess ( )
inlinevirtual

Definition at line 267 of file moOGLFT.h.

Member Function Documentation

virtual MOfloat* OGLFT::TextureTess::texCoord ( MOdouble p)
pure virtual

Compute a texture coordinate 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[2] (s,t) texture coordinates.

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