30 #ifndef vtkGDALVectorReader_h 31 #define vtkGDALVectorReader_h 34 #include "vtkIOGDALModule.h" 45 vtkSetStringMacro(FileName);
46 vtkGetStringMacro(FileName);
51 int GetNumberOfLayers();
56 int GetLayerType(
int layerIndex=0);
61 int GetFeatureCount(
int layerIndex=0);
66 int GetActiveLayerType();
71 int GetActiveLayerFeatureCount();
79 vtkSetMacro(ActiveLayer,
int);
80 vtkGetMacro(ActiveLayer,
int);
90 vtkSetMacro(AppendFeatures,
int);
91 vtkGetMacro(AppendFeatures,
int);
92 vtkBooleanMacro(AppendFeatures,
int);
98 std::map<int, std::string> GetLayersProjection();
103 const char* GetLayerProjection(
int layerIndex);
116 vtkSetMacro(AddFeatureIds,
int);
117 vtkGetMacro(AddFeatureIds,
int);
118 vtkBooleanMacro(AddFeatureIds,
int);
128 int InitializeInternal();
153 #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.