25 #ifndef vtkGDALRasterConverter_h
26 #define vtkGDALRasterConverter_h
28 #include "vtkGeovisGDALModule.h"
48 vtkSetMacro(NoDataValue,
double);
49 vtkGetMacro(NoDataValue,
double);
57 GDALDataset* CreateGDALDataset(
int xDim,
int yDim,
int vtkDataType,
int numberOfBands);
64 GDALDataset* CreateGDALDataset(
vtkImageData*
data,
const char* mapProjection,
int flipAxis[3]);
69 void CopyBandInfo(GDALDataset* src, GDALDataset* dest);
82 void SetGDALProjection(GDALDataset* dataset,
const char* projectionString);
87 void SetGDALGeoTransform(
88 GDALDataset* dataset,
double origin[2],
double spacing[2],
int flipAxis[2]);
93 void CopyNoDataValues(GDALDataset* src, GDALDataset* dest);
98 void WriteTifFile(GDALDataset* dataset,
VTK_FILEPATH const char* filename);
105 bool FindDataRange(GDALDataset* dataset,
int bandId,
double* minValue,
double* maxValue);
117 bool CopyToGDAL(
vtkImageData* input, GDALDataset* output,
int flipAxis[3]);
119 class vtkGDALRasterConverterInternal;
120 vtkGDALRasterConverterInternal*
Internal;
127 #endif // vtkGDALRasterConverter_h
abstract base class for most VTK objects
Convert between VTK image representation and GDAL datasets.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkGDALRasterConverterInternal * Internal
topologically and geometrically regular array of data
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...