15 vector<float> vertices;
22 TerrainMesh(
string id,
int r,
int c, vector<float> elevation_data) {
27 vertices = elevation_data;
29 for (
int i = 0; i < rows; i++)
30 for (
int j = 0; j < cols; j++)
31 for (
int k = 0; k < 4; k++)
Definition: TerrainMesh.h:10
vector< float > & getVertices()
Definition: TerrainMesh.h:75
TerrainMesh()
Definition: TerrainMesh.h:21
void setVertices(vector< float > &v)
Definition: TerrainMesh.h:79
vector< float > & getColors()
Definition: TerrainMesh.h:67
void setName(string n)
Definition: TerrainMesh.h:35
int getRows()
Definition: TerrainMesh.h:51
void setType(string t)
Definition: TerrainMesh.h:43
string getName()
Definition: TerrainMesh.h:39
void setCols(int c)
Definition: TerrainMesh.h:63
int getCols()
Definition: TerrainMesh.h:59
string getType()
Definition: TerrainMesh.h:47
void setRows(int r)
Definition: TerrainMesh.h:55
TerrainMesh(string id, int r, int c, vector< float > elevation_data)
Definition: TerrainMesh.h:22
void setColors(vector< float > &cols)
Definition: TerrainMesh.h:71
Support for drawing Bar charts.
Definition: alltypes.h:4