Go to the documentation of this file.
32 #ifndef vtkGDALRasterReader_h
33 #define vtkGDALRasterReader_h
36 #include <vtkIOGDALModule.h>
72 vtkSetVector2Macro(TargetDimensions,
int);
73 vtkGetVector2Macro(TargetDimensions,
int);
80 vtkGetVector2Macro(RasterDimensions,
int);
125 int TargetDimensions[2];
126 int RasterDimensions[2];
134 class vtkGDALRasterReaderInternal;
142 #endif // vtkGDALRasterReader_h
std::vector< std::string > Domains
vtkGDALRasterReaderInternal * Implementation
std::string DriverShortName
Read raster file formats using GDAL.
double GetInvalidValue()
Return the invalid value for a pixel (for blanking purposes)
std::string DomainMetaData
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkGDALRasterReader() override
const std::string & GetDriverLongName()
const std::string & GetDriverShortName()
Return driver name which was used to read the current data.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
static vtkGDALRasterReader * New()
const char * GetProjectionString() const
Return proj4 spatial reference.
a simple class to control print indentation
Superclass of binary file readers.
const std::vector< std::string > & GetMetaData()
Return metadata as reported by GDAL.
vtkIdType GetNumberOfCells()
Return the number of cells that are not set to GDAL NODATA.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
std::vector< std::string > MetaData
std::vector< std::string > GetDomainMetaData(const std::string &domain)
Return domain metadata.
const double * GetGeoCornerPoints()
Return geo-referenced corner points (Upper left, lower left, lower right, upper right)
int CanReadFile(const char *fname) override
Is this file supported.
std::string DriverLongName
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...