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

Go to the source code of this file.

Functions

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

Variables

GLfloat INV_POLY_TEX_DIM = 1.0 / 256.0
 
GLfloat xPlane [] = {INV_POLY_TEX_DIM, 0.0, 0.0, 0.0}
 
GLfloat 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
Version
$Id$

Definition in file GUIPolygon.cpp.

Function Documentation

◆ beginCallback()

void APIENTRY beginCallback ( GLenum  which)

Definition at line 42 of file GUIPolygon.cpp.

Referenced by GUIPolygon::performTesselation().

◆ combineCallback()

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

Definition at line 66 of file GUIPolygon.cpp.

References UNUSED_PARAMETER.

Referenced by GUIPolygon::performTesselation().

◆ endCallback()

void APIENTRY endCallback ( void  )

Definition at line 56 of file GUIPolygon.cpp.

Referenced by GUIPolygon::performTesselation().

◆ errorCallback()

void APIENTRY errorCallback ( GLenum  errorCode)

Definition at line 47 of file GUIPolygon.cpp.

◆ vertexCallback()

void APIENTRY vertexCallback ( GLvoid *  vertex)

Definition at line 61 of file GUIPolygon.cpp.

Variable Documentation

◆ INV_POLY_TEX_DIM

GLfloat INV_POLY_TEX_DIM = 1.0 / 256.0

Definition at line 81 of file GUIPolygon.cpp.

◆ xPlane

GLfloat xPlane[] = {INV_POLY_TEX_DIM, 0.0, 0.0, 0.0}

Definition at line 82 of file GUIPolygon.cpp.

Referenced by GUIPolygon::drawInnerPolygon().

◆ yPlane

GLfloat yPlane[] = {0.0, INV_POLY_TEX_DIM, 0.0, 0.0}

Definition at line 83 of file GUIPolygon.cpp.

Referenced by GUIPolygon::drawInnerPolygon().