9 #ifndef GlobeEngine_Polygon_h
10 #define GlobeEngine_Polygon_h
14 #include "OpenGL_Includes.h"
25 void create(
int pointCount,
double* _points);
26 void create(
int pointCount,
double* _points_x,
double* _points_y);
27 void createWithRescale(
int _pointCount,
double* _points_x,
double* _points_y,
double* minBound,
double* edgelength,
double* rescaleTo);
28 void create(
int pointCount,
31 double* _points_z,
double* minBound,
double* edgelength,
double* rescaleTo);
33 void rescaleHeights(
double _newmin,
double _newmax,
double _min,
double edgelength);
50 GLuint vboVertexObject;
51 GLuint vboIndexObject;
Definition: DrawableComponent.h:25
~PolygonZ()
Definition: PolygonZ.h:22
void clear()
Definition: PolygonZ.cpp:5
Definition: AvalancheTrainingSimulationEngine.h:39
GLuint * getIndexData()
Definition: PolygonZ.cpp:105
void destroy()
Definition: PolygonZ.cpp:10
void update()
Definition: PolygonZ.cpp:96
int getIndexCount()
Definition: PolygonZ.cpp:109
void rescaleHeights(double _newmin, double _newmax, double _min, double edgelength)
Definition: PolygonZ.cpp:87
void createWithRescale(int _pointCount, double *_points_x, double *_points_y, double *minBound, double *edgelength, double *rescaleTo)
Definition: PolygonZ.cpp:61
Definition: PolygonZ.h:18
Definition: VBOVertex.h:115
ge::Vertexd * getData()
Definition: PolygonZ.cpp:101
void setIndices()
Definition: PolygonZ.cpp:78
void setData(double *points)
PolygonZ()
Definition: PolygonZ.h:21