Eclipse SUMO - Simulation of Urban MObility
GUIPolygon.cpp File Reference
Include dependency graph for GUIPolygon.cpp:

Go to the source code of this file.

Macros

#define CALLBACK
 

Functions

void CALLBACK beginCallback (GLenum which)
 
void CALLBACK combineCallback (GLdouble coords[3], GLdouble *vertex_data[4], GLfloat weight[4], GLdouble **dataOut)
 
void CALLBACK endCallback (void)
 
void CALLBACK errorCallback (GLenum errorCode)
 
void CALLBACK vertexCallback (GLvoid *vertex)
 

Variables

static const GLdouble INV_POLY_TEX_DIM = 1.0 / 256.0
 
static const GLdouble xPlane [] = {INV_POLY_TEX_DIM, 0.0, 0.0, 0.0}
 
static const GLdouble yPlane [] = {0.0, INV_POLY_TEX_DIM, 0.0, 0.0}
 

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Laura Bieker
Date
June 2006

Definition in file GUIPolygon.cpp.

Macro Definition Documentation

◆ CALLBACK

#define CALLBACK

Definition at line 39 of file GUIPolygon.cpp.

Function Documentation

◆ beginCallback()

void CALLBACK beginCallback ( GLenum  which)

Definition at line 48 of file GUIPolygon.cpp.

Referenced by GUIPolygon::performTesselation().

Here is the caller graph for this function:

◆ combineCallback()

void CALLBACK combineCallback ( GLdouble  coords[3],
GLdouble *  vertex_data[4],
GLfloat  weight[4],
GLdouble **  dataOut 
)

Definition at line 72 of file GUIPolygon.cpp.

References UNUSED_PARAMETER.

Referenced by GUIPolygon::performTesselation().

Here is the caller graph for this function:

◆ endCallback()

void CALLBACK endCallback ( void  )

Definition at line 62 of file GUIPolygon.cpp.

Referenced by GUIPolygon::performTesselation().

Here is the caller graph for this function:

◆ errorCallback()

void CALLBACK errorCallback ( GLenum  errorCode)

Definition at line 53 of file GUIPolygon.cpp.

◆ vertexCallback()

void CALLBACK vertexCallback ( GLvoid *  vertex)

Definition at line 67 of file GUIPolygon.cpp.

Variable Documentation

◆ INV_POLY_TEX_DIM

const GLdouble INV_POLY_TEX_DIM = 1.0 / 256.0
static

Definition at line 87 of file GUIPolygon.cpp.

◆ xPlane

const GLdouble xPlane[] = {INV_POLY_TEX_DIM, 0.0, 0.0, 0.0}
static

Definition at line 88 of file GUIPolygon.cpp.

Referenced by GUIPolygon::drawInnerPolygon().

◆ yPlane

const GLdouble yPlane[] = {0.0, INV_POLY_TEX_DIM, 0.0, 0.0}
static

Definition at line 89 of file GUIPolygon.cpp.

Referenced by GUIPolygon::drawInnerPolygon().