34 #ifndef vtkGDALRasterReader_h 35 #define vtkGDALRasterReader_h 37 #include <vtkIOGDALModule.h> 62 const char* GetProjectionString()
const;
73 const double* GetGeoCornerPoints();
80 vtkSetMacro(CollateBands,
bool);
81 vtkGetMacro(CollateBands,
bool);
82 vtkBooleanMacro(CollateBands,
bool);
88 vtkSetVector2Macro(TargetDimensions,
int);
89 vtkGetVector2Macro(TargetDimensions,
int);
96 int* GetRasterDimensions();
102 const std::vector<std::string>& GetMetaData();
110 double GetInvalidValue(
size_t bandIndex = 0,
int* hasNoData =
nullptr);
115 std::vector<std::string> GetDomainMetaData(
const std::string& domain);
135 int GetNumberOfCellArrays();
136 const char* GetCellArrayName(
int index);
137 int GetCellArrayStatus(
const char*
name);
138 void SetCellArrayStatus(
const char*
name,
int status);
139 void DisableAllCellArrays();
140 void EnableAllCellArrays();
153 int TargetDimensions[2];
163 class vtkGDALRasterReaderInternal;
164 vtkGDALRasterReaderInternal*
Impl;
171 #endif // vtkGDALRasterReader_h
std::string DriverShortName
static vtkImageReader2 * New()
const char * GetProjectionWKT() const
Returns WKT spatial reference.
std::string DomainMetaData
std::vector< std::string > Domains
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
a simple class to control print indentation
std::string DriverLongName
vtkGDALRasterReaderInternal * Impl
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.