ReactOS 0.4.15-dev-7906-g1b85a5f
tess.h File Reference
#include <setjmp.h>
#include "mesh.h"
#include "dict.h"
#include "priorityq.h"
Include dependency graph for tess.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CachedVertex
 
struct  GLUtesselator
 

Macros

#define TESS_MAX_CACHE   100
 
#define CALL_BEGIN_OR_BEGIN_DATA(a)
 
#define CALL_VERTEX_OR_VERTEX_DATA(a)
 
#define CALL_EDGE_FLAG_OR_EDGE_FLAG_DATA(a)
 
#define CALL_END_OR_END_DATA()
 
#define CALL_COMBINE_OR_COMBINE_DATA(a, b, c, d)
 
#define CALL_ERROR_OR_ERROR_DATA(a)
 

Typedefs

typedef struct CachedVertex CachedVertex
 

Enumerations

enum  TessState { T_DORMANT , T_IN_POLYGON , T_IN_CONTOUR }
 

Functions

void GLAPIENTRY __gl_noBeginData (GLenum type, void *polygonData)
 
void GLAPIENTRY __gl_noEdgeFlagData (GLboolean boundaryEdge, void *polygonData)
 
void GLAPIENTRY __gl_noVertexData (void *data, void *polygonData)
 
void GLAPIENTRY __gl_noEndData (void *polygonData)
 
void GLAPIENTRY __gl_noErrorData (GLenum errnum, void *polygonData)
 
void GLAPIENTRY __gl_noCombineData (GLdouble coords[3], void *data[4], GLfloat weight[4], void **outData, void *polygonData)
 

Macro Definition Documentation

◆ CALL_BEGIN_OR_BEGIN_DATA

#define CALL_BEGIN_OR_BEGIN_DATA (   a)
Value:
if (tess->callBeginData != &__gl_noBeginData) \
(*tess->callBeginData)((a),tess->polygonData); \
else (*tess->callBegin)((a));
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define a
Definition: ke_i.h:78
void GLAPIENTRY __gl_noBeginData(GLenum type, void *polygonData)
Definition: tess.c:67

Definition at line 135 of file tess.h.

◆ CALL_COMBINE_OR_COMBINE_DATA

#define CALL_COMBINE_OR_COMBINE_DATA (   a,
  b,
  c,
  d 
)
Value:
if (tess->callCombineData != &__gl_noCombineData) \
(*tess->callCombineData)((a),(b),(c),(d),tess->polygonData); \
else (*tess->callCombine)((a),(b),(c),(d));
const GLubyte * c
Definition: glext.h:8905
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
#define d
Definition: ke_i.h:81
#define c
Definition: ke_i.h:80
#define b
Definition: ke_i.h:79
void GLAPIENTRY __gl_noCombineData(GLdouble coords[3], void *data[4], GLfloat weight[4], void **outData, void *polygonData)
Definition: tess.c:76

Definition at line 155 of file tess.h.

◆ CALL_EDGE_FLAG_OR_EDGE_FLAG_DATA

#define CALL_EDGE_FLAG_OR_EDGE_FLAG_DATA (   a)
Value:
if (tess->callEdgeFlagData != &__gl_noEdgeFlagData) \
(*tess->callEdgeFlagData)((a),tess->polygonData); \
else (*tess->callEdgeFlag)((a));
void GLAPIENTRY __gl_noEdgeFlagData(GLboolean boundaryEdge, void *polygonData)
Definition: tess.c:69

Definition at line 145 of file tess.h.

◆ CALL_END_OR_END_DATA

#define CALL_END_OR_END_DATA ( )
Value:
if (tess->callEndData != &__gl_noEndData) \
(*tess->callEndData)(tess->polygonData); \
else (*tess->callEnd)();
void GLAPIENTRY __gl_noEndData(void *polygonData)
Definition: tess.c:73

Definition at line 150 of file tess.h.

◆ CALL_ERROR_OR_ERROR_DATA

#define CALL_ERROR_OR_ERROR_DATA (   a)
Value:
if (tess->callErrorData != &__gl_noErrorData) \
(*tess->callErrorData)((a),tess->polygonData); \
else (*tess->callError)((a));
void GLAPIENTRY __gl_noErrorData(GLenum errnum, void *polygonData)
Definition: tess.c:74

Definition at line 160 of file tess.h.

◆ CALL_VERTEX_OR_VERTEX_DATA

#define CALL_VERTEX_OR_VERTEX_DATA (   a)
Value:
if (tess->callVertexData != &__gl_noVertexData) \
(*tess->callVertexData)((a),tess->polygonData); \
else (*tess->callVertex)((a));
void GLAPIENTRY __gl_noVertexData(void *data, void *polygonData)
Definition: tess.c:71

Definition at line 140 of file tess.h.

◆ TESS_MAX_CACHE

#define TESS_MAX_CACHE   100

Definition at line 52 of file tess.h.

Typedef Documentation

◆ CachedVertex

Enumeration Type Documentation

◆ TessState

Enumerator
T_DORMANT 
T_IN_POLYGON 
T_IN_CONTOUR 

Definition at line 47 of file tess.h.

@ T_IN_CONTOUR
Definition: tess.h:47
@ T_IN_POLYGON
Definition: tess.h:47
@ T_DORMANT
Definition: tess.h:47

Function Documentation

◆ __gl_noBeginData()

void GLAPIENTRY __gl_noBeginData ( GLenum  type,
void polygonData 
)

Definition at line 67 of file tess.c.

68 {}

Referenced by gluNewTess(), gluTessCallback(), and gluTessEndPolygon().

◆ __gl_noCombineData()

void GLAPIENTRY __gl_noCombineData ( GLdouble  coords[3],
void data[4],
GLfloat  weight[4],
void **  outData,
void polygonData 
)

Definition at line 76 of file tess.c.

80 {}

Referenced by gluNewTess(), and gluTessCallback().

◆ __gl_noEdgeFlagData()

void GLAPIENTRY __gl_noEdgeFlagData ( GLboolean  boundaryEdge,
void polygonData 
)

Definition at line 69 of file tess.c.

70 {}

Referenced by gluNewTess(), gluTessCallback(), and gluTessEndPolygon().

◆ __gl_noEndData()

void GLAPIENTRY __gl_noEndData ( void polygonData)

Definition at line 73 of file tess.c.

73{}

Referenced by gluNewTess(), gluTessCallback(), and gluTessEndPolygon().

◆ __gl_noErrorData()

void GLAPIENTRY __gl_noErrorData ( GLenum  errnum,
void polygonData 
)

Definition at line 74 of file tess.c.

75 {}

Referenced by gluNewTess(), and gluTessCallback().

◆ __gl_noVertexData()

void GLAPIENTRY __gl_noVertexData ( void data,
void polygonData 
)

Definition at line 71 of file tess.c.

72 {}

Referenced by gluNewTess(), gluTessCallback(), and gluTessEndPolygon().