18 #ifndef __itkAttributeRelabelLabelMapFilter_h
19 #define __itkAttributeRelabelLabelMapFilter_h
42 template<
class TImage,
class TAttributeAccessor=
43 typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType > >
66 itkStaticConstMacro(ImageDimension,
unsigned int,
67 TImage::ImageDimension);
76 #ifdef ITK_USE_CONCEPT_CHECKING
93 itkSetMacro( ReverseOrdering,
bool );
94 itkGetConstReferenceMacro( ReverseOrdering,
bool );
95 itkBooleanMacro( ReverseOrdering );
104 void PrintSelf(std::ostream& os,
Indent indent)
const;
109 bool operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b )
111 return m_Accessor( a ) < m_Accessor( b );
121 bool operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b )
123 return m_Accessor( a ) > m_Accessor( b );
132 void operator=(
const Self&);
140 #ifndef ITK_MANUAL_INSTANTIATION
141 #include "itkAttributeRelabelLabelMapFilter.hxx"