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();
164 #ifndef OTB_MANUAL_INSTANTIATION
This filter is the base class for all filter persisting data through multiple update....
Perform vectorization in a persistent way.
InputImageType::RegionType RegionType
virtual OGRDataSourcePointerType ProcessTile()=0
PersistentImageToOGRDataFilter Self
InputImageType::Pointer InputImagePointer
std::vector< std::string > m_OGRLayerCreationOptions
InputImageType::SizeType SizeType
InputImageType::InternalPixelType InternalPixelType
InputImageType::PixelType PixelType
ogr::DataSource OGRDataSourceType
PersistentImageFilter< TImage, TImage > Superclass
itk::SmartPointer< Self > Pointer
OGRwkbGeometryType m_GeometryType
OGRDataSourceType::Pointer OGRDataSourcePointerType
itk::SmartPointer< const Self > ConstPointer
void operator=(const Self &)=delete
ogr::Feature OGRFeatureType
InputImageType::IndexType IndexType
PersistentImageToOGRDataFilter(const Self &)=delete
Collection of geometric objects.
itk::SmartPointer< Self > Pointer
Geometric object with descriptive fields.
Layer of geometric objects.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.