Go to the documentation of this file.
4 #ifndef tools_tess_contour
5 #define tools_tess_contour
21 tess_contour(std::ostream& a_out,std::vector<tess_triangle>& a_triangles)
53 for(
unsigned int a=0;a<aContour.size();a++) {
55 if(aContour[a].
size()<=1)
continue;
56 size_t vecSize = aContour[a].size()-1;
59 point* tab =
new point[vecSize];
64 for(
size_t b=0;b<vecSize;b++) {
65 tab[b][0] = aContour[a][b][0];
66 tab[b][1] = aContour[a][b][1];
67 tab[b][2] = aContour[a][b][2];
174 #ifdef TOOLS_TESS_CONTOUR_STDCALL
181 #ifdef TOOLS_TESS_CONTOUR_STDCALL
191 #ifdef TOOLS_TESS_CONTOUR_STDCALL
196 This->
m_out <<
"tools::tess_contour::errorCallback : " << aErrorCode << std::endl;
201 #ifdef TOOLS_TESS_CONTOUR_STDCALL
207 #ifdef TOOLS_TESS_CONTOUR_STDCALL
216 #ifdef TOOLS_TESS_CONTOUR_STDCALL
225 double* vertex =
new double[3];
226 vertex[0] = coords[0];
227 vertex[1] = coords[1];
228 vertex[2] = coords[2];
void GLUAPIENTRY gluTessCallback_GLU_TESS_VERTEX_DATA(GLUtesselator *tess, void(GLUAPIENTRY *a_fn)(void *, void *))
void GLUAPIENTRY gluTessCallback_GLU_TESS_COMBINE_DATA(GLUtesselator *tess, void(GLUAPIENTRY *a_fn)(GLUdouble[3], void *[4], GLUfloat[4], void **, void *))
GLUAPI void GLUAPIENTRY gluTessBeginPolygon(GLUtesselator *tess, GLUvoid *data)
void GLUAPIENTRY gluTessCallback_GLU_TESS_ERROR_DATA(GLUtesselator *tess, void(GLUAPIENTRY *a_fn)(GLUenum, void *))
GLUAPI void GLUAPIENTRY gluTessBeginContour(GLUtesselator *tess)
#define GLU_TESS_WINDING_ODD
GLUAPI void GLUAPIENTRY gluTessEndContour(GLUtesselator *tess)
GLUAPI void GLUAPIENTRY gluDeleteTess(GLUtesselator *tess)
GLUAPI void GLUAPIENTRY gluTessEndPolygon(GLUtesselator *tess)
void GLUAPIENTRY gluTessCallback_GLU_TESS_BEGIN_DATA(GLUtesselator *tess, void(GLUAPIENTRY *a_fn)(GLUenum, void *))
GLUAPI GLUtesselator *GLUAPIENTRY gluNewTess(void)
GLUAPI void GLUAPIENTRY gluTessProperty(GLUtesselator *tess, GLUenum which, GLUdouble data)
#define GLU_TESS_WINDING_RULE
void GLUAPIENTRY gluTessCallback_GLU_TESS_END_DATA(GLUtesselator *tess, void(GLUAPIENTRY *a_fn)(void *))