30 #ifndef vtkGDALVectorReader_h 31 #define vtkGDALVectorReader_h 33 #include "vtkIOGDALModule.h" 46 vtkSetStringMacro(FileName);
47 vtkGetStringMacro(FileName);
52 int GetNumberOfLayers();
57 int GetLayerType(
int layerIndex = 0);
62 int GetFeatureCount(
int layerIndex = 0);
67 int GetActiveLayerType();
72 int GetActiveLayerFeatureCount();
80 vtkSetMacro(ActiveLayer,
int);
81 vtkGetMacro(ActiveLayer,
int);
91 vtkSetMacro(AppendFeatures,
int);
92 vtkGetMacro(AppendFeatures,
int);
93 vtkBooleanMacro(AppendFeatures,
int);
99 std::map<int, std::string> GetLayersProjection();
104 const char* GetLayerProjection(
int layerIndex);
112 const char* GetLayerProjectionAsProj4(
int layerIndex);
125 vtkSetMacro(AddFeatureIds,
int);
126 vtkGetMacro(AddFeatureIds,
int);
127 vtkBooleanMacro(AddFeatureIds,
int);
137 int InitializeInternal();
162 #endif // vtkGDALVectorReader_h char * FileName
The name of the file that will be opened on the next call to RequestData()
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
vtkGDALVectorReader::Internal * Implementation
Private per-file metadata.
a simple class to control print indentation
Read vector file formats using GDAL.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static int OGRRegistered
Global variable indicating whether the OGR library has been registered yet or not.
std::map< int, std::string > LayersProjection
Mapping of layer to projection.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.