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