From e739821264a7dcdf0ad61c87a23da12dbd87f59b Mon Sep 17 00:00:00 2001 From: Trygve Date: Wed, 8 May 2024 00:17:09 +0200 Subject: [PATCH] Added filepath to heightmap class --- src/contour_creator.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contour_creator.hh b/src/contour_creator.hh index 8d43372..c59c676 100644 --- a/src/contour_creator.hh +++ b/src/contour_creator.hh @@ -15,6 +15,7 @@ class HeightMap int height; //!< height of image in pixels float min; //!< Minimum value in image float max; //!< Maximum value in image + const char* filepath; //!< Where the heightmap was read from OGRSpatialReference reference_system; HeightMap(const char* filepath); ~HeightMap() @@ -22,7 +23,6 @@ class HeightMap delete[] data; delete[] geotransform; } - const char* filepath; //!< Where the heightmap was read from float get_pixel(int x,int y); void blur(float standard_deviation); void statistics(); //!< Print statistical information about the heightmap