22 #ifndef otbPersistentImageToOGRDataFilter_h
23 #define otbPersistentImageToOGRDataFilter_h
51 template <
class TImage>
67 typedef typename InputImageType::SizeType
SizeType;
68 typedef typename InputImageType::IndexType
IndexType;
69 typedef typename InputImageType::PixelType
PixelType;
78 void AllocateOutputs();
79 virtual void Reset(
void);
80 virtual void Synthetize(
void);
86 virtual void Initialize(
void);
89 itkSetStringMacro(LayerName);
90 itkGetStringMacro(LayerName);
96 itkSetMacro(FieldName, std::string);
101 itkGetMacro(FieldName, std::string);
110 itkSetMacro(GeometryType, OGRwkbGeometryType);
113 itkGetMacro(GeometryType, OGRwkbGeometryType);
122 void AddOGRLayerCreationOption(
const std::string& option);
125 void ClearOGRLayerCreationOptions();
128 void SetOGRLayerCreationOptions(
const std::vector<std::string>& options);
131 const std::vector<std::string>& GetOGRLayerCreationOptions(
void);
134 itkSetMacro(FieldType, OGRFieldType);
137 itkGetMacro(FieldType, OGRFieldType);
143 void PrintSelf(std::ostream& os, itk::Indent indent)
const;
145 virtual void GenerateData();
150 void operator=(
const Self&) =
delete;
164 #ifndef OTB_MANUAL_INSTANTIATION