mirror of
https://gitlab.com/Trygve/contour-creator.git
synced 2024-12-22 13:50:18 +00:00
Added filepath to heightmap class
This commit is contained in:
parent
59ce1c0177
commit
e739821264
@ -15,6 +15,7 @@ class HeightMap
|
|||||||
int height; //!< height of image in pixels
|
int height; //!< height of image in pixels
|
||||||
float min; //!< Minimum value in image
|
float min; //!< Minimum value in image
|
||||||
float max; //!< Maximum value in image
|
float max; //!< Maximum value in image
|
||||||
|
const char* filepath; //!< Where the heightmap was read from
|
||||||
OGRSpatialReference reference_system;
|
OGRSpatialReference reference_system;
|
||||||
HeightMap(const char* filepath);
|
HeightMap(const char* filepath);
|
||||||
~HeightMap()
|
~HeightMap()
|
||||||
@ -22,7 +23,6 @@ class HeightMap
|
|||||||
delete[] data;
|
delete[] data;
|
||||||
delete[] geotransform;
|
delete[] geotransform;
|
||||||
}
|
}
|
||||||
const char* filepath; //!< Where the heightmap was read from
|
|
||||||
float get_pixel(int x,int y);
|
float get_pixel(int x,int y);
|
||||||
void blur(float standard_deviation);
|
void blur(float standard_deviation);
|
||||||
void statistics(); //!< Print statistical information about the heightmap
|
void statistics(); //!< Print statistical information about the heightmap
|
||||||
|
Loading…
Reference in New Issue
Block a user