18 #ifndef __itkAttributeSelectionLabelMapFilter_h
19 #define __itkAttributeSelectionLabelMapFilter_h
47 template<
class TImage,
class TAttributeAccessor=
48 typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType > >
73 itkStaticConstMacro(ImageDimension,
unsigned int,
74 TImage::ImageDimension);
83 #ifdef ITK_USE_CONCEPT_CHECKING
100 return m_AttributeSet;
104 m_AttributeSet =
set;
113 itkGetConstMacro( Exclude,
bool );
114 itkSetMacro( Exclude,
bool );
115 itkBooleanMacro( Exclude );
121 this->ClearAttributeSet();
122 this->AddAttribute( attr );
126 void ClearAttributeSet()
128 if( ! m_AttributeSet.empty() )
130 m_AttributeSet.clear();
137 const typename AttributeSetType::size_type size = m_AttributeSet.size();
138 m_AttributeSet.insert( attr );
139 if( size != m_AttributeSet.size() )
151 void PrintSelf(std::ostream& os,
Indent indent)
const;
155 void operator=(
const Self&);
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "itkAttributeSelectionLabelMapFilter.hxx"