19 #ifndef __otbVectorDataToLabelMapFilter_h
20 #define __otbVectorDataToLabelMapFilter_h
52 template <
class TVectorData,
class TLabelMap>
79 typedef typename OutputLabelMapType::LabelType
LabelType;
81 typedef typename OutputLabelMapType::IndexType
IndexType;
83 typedef typename OutputLabelMapType::PointType
OriginType;
91 itkStaticConstMacro(VectorDataDimension,
unsigned int,
92 TVectorData::Dimension);
97 typedef typename InputVectorDataType::PointType
PointType;
131 itkGetConstReferenceMacro(Size,
SizeType);
136 virtual void SetOrigin(
const double origin[2]);
137 virtual void SetOrigin(
const float origin[2]);
139 itkGetConstReferenceMacro(Origin,
OriginType);
142 itkGetConstReferenceMacro(StartIndex,
IndexType);
146 virtual void SetSpacing(
const SpacingType& spacing);
147 virtual void SetSpacing(
const double spacing[2]);
148 virtual void SetSpacing(
const float spacing[2]);
158 virtual void GenerateOutputInformation();
163 void PrintSelf(std::ostream& os,
itk::Indent indent)
const;
169 virtual void GenerateData();
184 void operator =(
const Self&);
186 void ProcessNode(InternalTreeNodeType * source);
204 #ifndef OTB_MANUAL_INSTANTIATION