32 #ifndef vtkGDALVectorReader_h
33 #define vtkGDALVectorReader_h
36 #include "vtkIOGDALModule.h"
47 vtkSetStringMacro(FileName);
48 vtkGetStringMacro(FileName);
51 int GetNumberOfLayers();
54 int GetLayerType(
int layerIndex=0);
57 int GetFeatureCount(
int layerIndex=0);
60 int GetActiveLayerType();
63 int GetActiveLayerFeatureCount();
69 vtkSetMacro(ActiveLayer,
int);
70 vtkGetMacro(ActiveLayer,
int);
77 vtkSetMacro(AppendFeatures,
int);
78 vtkGetMacro(AppendFeatures,
int);
79 vtkBooleanMacro(AppendFeatures,
int);
85 std::map<int, std::string> GetLayersProjection();
90 const char* GetLayerProjection(
int layerIndex);
99 vtkSetMacro(AddFeatureIds,
int);
100 vtkGetMacro(AddFeatureIds,
int);
101 vtkBooleanMacro(AddFeatureIds,
int);
111 int InitializeInternal();
138 #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 *)
static vtkMultiBlockDataSetAlgorithm * New()
vtkGDALVectorReader::Internal * Implementation
Private per-file metadata.
a simple class to control print indentation
Read vector file formats using GDAL.
static int OGRRegistered
Global variable indicating whether the OGR library has been registered yet or not.
void PrintSelf(ostream &os, vtkIndent indent)
std::map< int, std::string > LayersProjection
Mapping of layer to projection.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)