#include <FTVectoriser.h>
Definition at line 80 of file FTVectoriser.h.
typedef FTVector<FTTesselation*> FTMesh::TesselationVector [private] |
Definition at line 82 of file FTVectoriser.h.
typedef FTList<FTPoint> FTMesh::PointList [private] |
Definition at line 83 of file FTVectoriser.h.
typedef FTVector<FTTesselation*> FTMesh::TesselationVector [private] |
Definition at line 82 of file FTVectoriser.h.
typedef FTList<FTPoint> FTMesh::PointList [private] |
Definition at line 83 of file FTVectoriser.h.
FTMesh::FTMesh | ( | ) |
Default constructor
Definition at line 51 of file FTVectoriser.cxx.
References FTVector< FT_VECTOR_ITEM_TYPE >::reserve(), and tesselationList.
FTMesh::~FTMesh | ( | ) |
Destructor
Definition at line 59 of file FTVectoriser.cxx.
References FTVector< FT_VECTOR_ITEM_TYPE >::clear(), FTVector< FT_VECTOR_ITEM_TYPE >::size(), size_t, t, and tesselationList.
FTMesh::FTMesh | ( | ) |
Default constructor
FTMesh::~FTMesh | ( | ) |
Destructor
void FTMesh::AddPoint | ( | const FTGL_DOUBLE | x, | |
const FTGL_DOUBLE | y, | |||
const FTGL_DOUBLE | z | |||
) |
Add a point to the mesh
Definition at line 70 of file FTVectoriser.cxx.
References FTTesselation::AddPoint(), and currentTesselation.
Referenced by ftglVertex().
const FTGL_DOUBLE * FTMesh::Combine | ( | const FTGL_DOUBLE | x, | |
const FTGL_DOUBLE | y, | |||
const FTGL_DOUBLE | z | |||
) |
Create a combine point for the gluTesselator
Definition at line 76 of file FTVectoriser.cxx.
References FTList< FT_LIST_ITEM_TYPE >::back(), FTList< FT_LIST_ITEM_TYPE >::push_back(), and tempPointList.
Referenced by ftglCombine().
void FTMesh::Begin | ( | GLenum | meshType | ) |
Begin a new polygon
Definition at line 83 of file FTVectoriser.cxx.
References currentTesselation.
Referenced by ftglBegin().
void FTMesh::End | ( | ) |
End a polygon
Definition at line 89 of file FTVectoriser.cxx.
References currentTesselation, FTVector< FT_VECTOR_ITEM_TYPE >::push_back(), and tesselationList.
Referenced by ftglEnd().
void FTMesh::Error | ( | GLenum | e | ) | [inline] |
Record a gluTesselation error
Definition at line 119 of file FTVectoriser.h.
Referenced by ftglError().
unsigned int FTMesh::TesselationCount | ( | ) | const [inline] |
The number of tesselations in the mesh
Definition at line 124 of file FTVectoriser.h.
Referenced by FTExtrdGlyph::FTExtrdGlyph(), and FTPolyGlyph::FTPolyGlyph().
const FTTesselation * FTMesh::Tesselation | ( | unsigned int | index | ) | const |
Get a tesselation by index
Definition at line 95 of file FTVectoriser.cxx.
References NULL, FTVector< FT_VECTOR_ITEM_TYPE >::size(), and tesselationList.
Referenced by FTExtrdGlyph::FTExtrdGlyph(), and FTPolyGlyph::FTPolyGlyph().
const PointList& FTMesh::TempPointList | ( | ) | const [inline] |
Return the temporary point list. For testing only.
Definition at line 134 of file FTVectoriser.h.
GLenum FTMesh::Error | ( | ) | const [inline] |
Get the GL ERROR returned by the glu tesselator
Definition at line 139 of file FTVectoriser.h.
void FTMesh::AddPoint | ( | const FTGL_DOUBLE | x, | |
const FTGL_DOUBLE | y, | |||
const FTGL_DOUBLE | z | |||
) |
Add a point to the mesh
const FTGL_DOUBLE* FTMesh::Combine | ( | const FTGL_DOUBLE | x, | |
const FTGL_DOUBLE | y, | |||
const FTGL_DOUBLE | z | |||
) |
Create a combine point for the gluTesselator
void FTMesh::Begin | ( | GLenum | meshType | ) |
Begin a new polygon
void FTMesh::End | ( | ) |
End a polygon
void FTMesh::Error | ( | GLenum | e | ) | [inline] |
Record a gluTesselation error
Definition at line 119 of file FTVectoriser.h.
unsigned int FTMesh::TesselationCount | ( | ) | const [inline] |
The number of tesselations in the mesh
Definition at line 124 of file FTVectoriser.h.
const FTTesselation* FTMesh::Tesselation | ( | unsigned int | index | ) | const |
Get a tesselation by index
const PointList& FTMesh::TempPointList | ( | ) | const [inline] |
Return the temporary point list. For testing only.
Definition at line 134 of file FTVectoriser.h.
GLenum FTMesh::Error | ( | ) | const [inline] |
Get the GL ERROR returned by the glu tesselator
Definition at line 139 of file FTVectoriser.h.
FTTesselation* FTMesh::currentTesselation [private] |
The current sub mesh that we are constructing.
Definition at line 145 of file FTVectoriser.h.
Referenced by AddPoint(), Begin(), and End().
TesselationVector FTMesh::tesselationList [private] |
Holds each sub mesh that comprises this glyph.
Definition at line 150 of file FTVectoriser.h.
Referenced by End(), FTMesh(), Tesselation(), and ~FTMesh().
PointList FTMesh::tempPointList [private] |
Holds extra points created by gluTesselator. See ftglCombine.
Definition at line 155 of file FTVectoriser.h.
Referenced by Combine().
GLenum FTMesh::err [private] |
GL ERROR returned by the glu tesselator
Definition at line 160 of file FTVectoriser.h.
FTTesselation* FTMesh::currentTesselation [private] |
The current sub mesh that we are constructing.
Definition at line 145 of file FTVectoriser.h.