21 #ifndef vtkGDALVectorReader_h
22 #define vtkGDALVectorReader_h
24 #include "vtkIOGDALModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
38 vtkSetFilePathMacro(FileName);
39 vtkGetFilePathMacro(FileName);
44 int GetNumberOfLayers();
49 int GetLayerType(
int layerIndex = 0);
54 int GetFeatureCount(
int layerIndex = 0);
59 int GetActiveLayerType();
64 int GetActiveLayerFeatureCount();
72 vtkSetMacro(ActiveLayer,
int);
73 vtkGetMacro(ActiveLayer,
int);
83 vtkSetMacro(AppendFeatures,
int);
84 vtkGetMacro(AppendFeatures,
int);
85 vtkBooleanMacro(AppendFeatures,
int);
91 std::map<int, std::string> GetLayersProjection();
96 const char* GetLayerProjection(
int layerIndex);
104 const char* GetLayerProjectionAsProj4(
int layerIndex);
117 vtkSetMacro(AddFeatureIds,
int);
118 vtkGetMacro(AddFeatureIds,
int);
119 vtkBooleanMacro(AddFeatureIds,
int);
129 int InitializeInternal();
154 VTK_ABI_NAMESPACE_END
155 #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.