Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
tess.h File Reference
#include "GL_glu.h"
#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:

Classes

struct  CachedVertex
 
struct  GLUtesselator
 

Macros

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

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_noCombineData (GLdouble coords[3], void *data[4], GLfloat weight[4], void **outData, void *polygonData)
 
void GLAPIENTRY __gl_noEdgeFlagData (GLboolean boundaryEdge, void *polygonData)
 
void GLAPIENTRY __gl_noEndData (void *polygonData)
 
void GLAPIENTRY __gl_noErrorData (GLenum errnum, void *polygonData)
 
void GLAPIENTRY __gl_noVertexData (void *data, 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));
#define a(i)
Definition RSha256.hxx:99
void GLAPIENTRY __gl_noBeginData(GLenum type, void *polygonData)
Definition tess.c:73

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));
#define d(i)
Definition RSha256.hxx:102
#define b(i)
Definition RSha256.hxx:100
#define c(i)
Definition RSha256.hxx:101
void GLAPIENTRY __gl_noCombineData(GLdouble coords[3], void *data[4], GLfloat weight[4], void **outData, void *polygonData)
Definition tess.c:82

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:75

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:79

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:80

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:77

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

typedef struct CachedVertex CachedVertex

Enumeration Type Documentation

◆ TessState

enum TessState
Enumerator
T_DORMANT 
T_IN_POLYGON 
T_IN_CONTOUR 

Definition at line 47 of file tess.h.

Function Documentation

◆ __gl_noBeginData()

void GLAPIENTRY __gl_noBeginData ( GLenum  type,
void polygonData 
)

Definition at line 73 of file tess.c.

◆ __gl_noCombineData()

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

Definition at line 82 of file tess.c.

◆ __gl_noEdgeFlagData()

void GLAPIENTRY __gl_noEdgeFlagData ( GLboolean  boundaryEdge,
void polygonData 
)

Definition at line 75 of file tess.c.

◆ __gl_noEndData()

void GLAPIENTRY __gl_noEndData ( void polygonData)

Definition at line 79 of file tess.c.

◆ __gl_noErrorData()

void GLAPIENTRY __gl_noErrorData ( GLenum  errnum,
void polygonData 
)

Definition at line 80 of file tess.c.

◆ __gl_noVertexData()

void GLAPIENTRY __gl_noVertexData ( void data,
void polygonData 
)

Definition at line 77 of file tess.c.