25 #ifndef vtkGDALRasterReader_h
26 #define vtkGDALRasterReader_h
28 #include <vtkIOGDALModule.h>
35 VTK_ABI_NAMESPACE_BEGIN
54 const char* GetProjectionString()
const;
65 const double* GetGeoCornerPoints();
72 vtkSetMacro(CollateBands,
bool);
73 vtkGetMacro(CollateBands,
bool);
74 vtkBooleanMacro(CollateBands,
bool);
80 vtkSetVector2Macro(TargetDimensions,
int);
81 vtkGetVector2Macro(TargetDimensions,
int);
88 int* GetRasterDimensions();
94 const std::vector<std::string>& GetMetaData();
102 double GetInvalidValue(
size_t bandIndex = 0,
int* hasNoData =
nullptr);
107 std::vector<std::string> GetDomainMetaData(
const std::string& domain);
127 int GetNumberOfCellArrays();
128 const char* GetCellArrayName(
int index);
129 int GetCellArrayStatus(
const char*
name);
130 void SetCellArrayStatus(
const char*
name,
int status);
131 void DisableAllCellArrays();
132 void EnableAllCellArrays();
144 int TargetDimensions[2];
154 class vtkGDALRasterReaderInternal;
155 vtkGDALRasterReaderInternal*
Impl;
162 VTK_ABI_NAMESPACE_END
163 #endif // vtkGDALRasterReader_h
std::string DriverShortName
static vtkImageReader2 * New()
virtual int CanReadFile(VTK_FILEPATH const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
std::string DomainMetaData
std::vector< std::string > Domains
a simple class to control print indentation
std::string DriverLongName
vtkGDALRasterReaderInternal * Impl
const char * GetProjectionWKT() const
Returns WKT spatial reference.
Superclass of binary file readers.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
std::vector< std::string > MetaData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
std::string ProjectionWKT
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Read raster file formats using GDAL.