18 #ifndef itkAttributeUniqueLabelMapFilter_h
19 #define itkAttributeUniqueLabelMapFilter_h
45 template<
typename TImage,
typename TAttributeAccessor=
46 typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType > >
68 typedef typename LabelObjectType::LineType
LineType;
72 TImage::ImageDimension);
81 #ifdef ITK_USE_CONCEPT_CHECKING
97 itkSetMacro( ReverseOrdering,
bool );
98 itkGetConstReferenceMacro( ReverseOrdering,
bool );
99 itkBooleanMacro( ReverseOrdering );
114 void operator=(const
Self&) ITK_DELETE_FUNCTION;
118 typedef typename LabelObjectType::LineType
LineType;
123 this->labelObject = lo;
136 if( lla.
line.GetIndex()[i] > llb.
line.GetIndex()[i] )
140 else if( lla.
line.GetIndex()[i] < llb.
line.GetIndex()[i] )
153 #ifndef ITK_MANUAL_INSTANTIATION
154 #include "itkAttributeUniqueLabelMapFilter.hxx"
Light weight base class for most itk classes.
TAttributeAccessor AttributeAccessorType
void GenerateData() override
bool operator()(const LineOfLabelObject &lla, const LineOfLabelObject &llb)
void PrintSelf(std::ostream &os, Indent indent) const override
LabelObjectType * labelObject
static const unsigned int ImageDimension
ImageType::ConstPointer ImageConstPointer
LabelObjectType::LineType LineType
LabelObjectType::LabelType AttributeValueType
Make sure that the objects are not overlapping.
ImageType::LabelObjectType LabelObjectType
ImageType::IndexType IndexType
~AttributeUniqueLabelMapFilter()
Base class for filters that takes an image as input and overwrites that image as the output...
LineOfLabelObject(const LineType l, LabelObjectType *lo)
LabelObjectType::LineType LineType
SmartPointer< Self > Pointer
AttributeAccessorType::AttributeValueType AttributeValueType
ImageType::PixelType PixelType
AttributeUniqueLabelMapFilter()
InPlaceLabelMapFilter< TImage > Superclass
Control indentation during Print() invocation.
AttributeUniqueLabelMapFilter Self
ImageType::Pointer ImagePointer
SmartPointer< const Self > ConstPointer