21 #ifndef otbLabelMapToVectorDataFilter_h
22 #define otbLabelMapToVectorDataFilter_h
25 #include "itkLabelMap.h"
57 template <
class TLabelMap,
class TVectorData,
class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<
typename TLabelMap::LabelObjectType>>
94 using Superclass::SetInput;
104 m_FieldsFunctor = functor;
111 return m_FieldsFunctor;
119 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
120 void GenerateData()
override;
131 #ifndef OTB_MANUAL_INSTANTIATION
This filter simplify and close the input polygon, making the last point equal to the first one.
This class vectorizes a LabelObject to a Polygon.
This class vectorizes a LabelObject to a VectorData.
otb::Functor::LabelObjectToPolygonFunctor< LabelObjectType, PolygonType > FunctorType
TVectorData OutputVectorDataType
OutputVectorDataType::DataNodeType DataNodeType
FieldsFunctorType & GetFieldsFunctor()
VectorDataSource< TVectorData > Superclass
TFieldsFunctor FieldsFunctorType
OutputVectorDataType::Pointer OutputVectorDataPointer
InputLabelMapType::LabelObjectType LabelObjectType
DataNodeType::Pointer DataNodePointerType
itk::SmartPointer< const Self > ConstPointer
LabelMapToVectorDataFilter(const Self &)=delete
itk::SmartPointer< Self > Pointer
DataNodeType::PolygonType PolygonType
void operator=(const Self &)=delete
otb::CorrectPolygonFunctor< PolygonType > CorrectFunctorType
FieldsFunctorType m_FieldsFunctor
void SetFieldsFunctor(const FieldsFunctorType &functor)
TLabelMap InputLabelMapType
InputLabelMapType::ConstIterator ConstIteratorType
OutputVectorDataType::ConstPointer OutputVectorDataConstPointer
LabelMapToVectorDataFilter Self
PolygonType::Pointer PolygonPointerType
~LabelMapToVectorDataFilter() override
Filter hierarchy for generating VectorData.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.