|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
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;
124 void operator=(
const Self&) =
delete;
131 #ifndef OTB_MANUAL_INSTANTIATION
otb::CorrectPolygonFunctor< PolygonType > CorrectFunctorType
OutputVectorDataType::DataNodeType DataNodeType
This class vectorizes a LabelObject to a VectorData.
This class vectorizes a LabelObject to a Polygon.
TVectorData OutputVectorDataType
InputLabelMapType::LabelObjectType LabelObjectType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
~LabelMapToVectorDataFilter() override
itk::SmartPointer< const Self > ConstPointer
DataNodeType::PolygonType PolygonType
PolygonType::Pointer PolygonPointerType
FieldsFunctorType m_FieldsFunctor
otb::Functor::LabelObjectToPolygonFunctor< LabelObjectType, PolygonType > FunctorType
OutputVectorDataType::Pointer OutputVectorDataPointer
DataNodeType::Pointer DataNodePointerType
This filter simplify and close the input polygon, making the last point equal to the first one.
OutputVectorDataType::ConstPointer OutputVectorDataConstPointer
TLabelMap InputLabelMapType
VectorDataSource< TVectorData > Superclass
itk::SmartPointer< Self > Pointer
InputLabelMapType::ConstIterator ConstIteratorType
Filter hierarchy for generating VectorData.
FieldsFunctorType & GetFieldsFunctor()
TFieldsFunctor FieldsFunctorType
LabelMapToVectorDataFilter Self
void SetFieldsFunctor(const FieldsFunctorType &functor)