Definition in file GUIPolygon2D.cpp.
#include <config.h>
#include <string>
#include "GUIPolygon2D.h"
#include <utils/gui/globjects/GUIGlObject.h>
#include <utils/gui/div/GUIParameterTableWindow.h>
#include <utils/gui/globjects/GUIGLObjectPopupMenu.h>
#include <utils/gui/settings/GUIVisualizationSettings.h>
#include <utils/gui/div/GLHelper.h>
#include <foreign/polyfonts/polyfonts.h>
#include <GL/gl.h>
#include <GL/glu.h>
Go to the source code of this file.
Defines | |
| #define | APIENTRY |
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 | |
| double | glvert [6] |
| #define APIENTRY |
| void APIENTRY beginCallback | ( | GLenum | which | ) |
| void APIENTRY combineCallback | ( | GLdouble | coords[3], | |
| GLdouble * | vertex_data[4], | |||
| GLfloat | weight[4], | |||
| GLdouble ** | dataOut | |||
| ) |
Definition at line 130 of file GUIPolygon2D.cpp.
Referenced by GUIPolygon2D::drawGL().
00132 { 00133 GLdouble *vertex; 00134 00135 vertex = (GLdouble *) malloc(7 * sizeof(GLdouble)); 00136 00137 vertex[0] = coords[0]; 00138 vertex[1] = coords[1]; 00139 vertex[2] = coords[2]; 00140 *dataOut = vertex; 00141 }
| void APIENTRY endCallback | ( | void | ) |
| void APIENTRY errorCallback | ( | GLenum | errorCode | ) |
Definition at line 111 of file GUIPolygon2D.cpp.
00111 { 00112 const GLubyte *estring; 00113 00114 estring = gluErrorString(errorCode); 00115 fprintf(stderr, "Tessellation Error: %s\n", estring); 00116 exit(0); 00117 }
| void APIENTRY vertexCallback | ( | GLvoid * | vertex | ) |
Definition at line 123 of file GUIPolygon2D.cpp.
00123 { 00124 const GLdouble *pointer; 00125 00126 pointer = (GLdouble *) vertex; 00127 glVertex3dv((GLdouble *) vertex); 00128 }
| double glvert[6] |
Definition at line 143 of file GUIPolygon2D.cpp.
1.5.6