18 #ifndef __itkAttributeKeepNObjectsLabelMapFilter_h
19 #define __itkAttributeKeepNObjectsLabelMapFilter_h
41 template<
class TImage,
class TAttributeAccessor=
42 typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType > >
65 itkStaticConstMacro(ImageDimension,
unsigned int,
66 TImage::ImageDimension);
75 #ifdef ITK_USE_CONCEPT_CHECKING
92 itkSetMacro( ReverseOrdering,
bool );
93 itkGetConstReferenceMacro( ReverseOrdering,
bool );
94 itkBooleanMacro( ReverseOrdering );
110 void PrintSelf(std::ostream& os,
Indent indent)
const;
115 bool operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b )
117 return m_Accessor( a ) < m_Accessor( b );
127 bool operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b )
129 return m_Accessor( a ) > m_Accessor( b );
138 void operator=(
const Self&);
147 #ifndef ITK_MANUAL_INSTANTIATION
148 #include "itkAttributeKeepNObjectsLabelMapFilter.hxx"