19class vtkImageAlgorithm;
44 static vtkImageAlgorithm*
loadImage(
const std::string &fileName);
68 static std::string
findWorldFile(
const std::string& filename);
74 static bool readWorldFile(std::string
const& filename, vtkImageReader2* image);
Definition of the GeoLib::Raster class.
Loading raster data such as images or ArcGIS-data into VTK image data structures.
static std::string findWorldFile(const std::string &filename)
static vtkImageAlgorithm * loadImageFromTIFF(const std::string &fileName)
static vtkImageReader2 * loadImageFromFile(const std::string &fileName)
static bool readWorldFile(std::string const &filename, vtkImageReader2 *image)
static vtkImageImport * loadImageFromArray(double const *const data_array, GeoLib::RasterHeader header)
Returns a VtkImageAlgorithm from an array of pixel values and some image meta data.
static vtkImageAlgorithm * loadImage(const std::string &fileName)
Loads an image- or raster-file into an vtkImageAlgorithm-Object.