|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   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 
  
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
std::vector< std::string > Domains
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetProjectionWKT() const
Returns WKT spatial reference.
std::string DriverShortName
Read raster file formats using GDAL.
std::string DomainMetaData
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
static vtkImageReader2 * New()
a simple class to control print indentation
std::string ProjectionWKT
Superclass of binary file readers.
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
std::string DriverLongName
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
vtkGDALRasterReaderInternal * Impl