18 #ifndef itkAttributeSelectionLabelMapFilter_h
19 #define itkAttributeSelectionLabelMapFilter_h
50 template <
typename TImage,
51 typename TAttributeAccessor =
52 typename Functor::AttributeLabelObjectAccessor<typename TImage::LabelObjectType>>
78 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
86 #ifdef ITK_USE_CONCEPT_CHECKING
103 return m_AttributeSet;
108 m_AttributeSet = set;
117 itkGetConstMacro(Exclude,
bool);
118 itkSetMacro(Exclude,
bool);
119 itkBooleanMacro(Exclude);
126 this->ClearAttributeSet();
127 this->AddAttribute(attr);
134 if (!m_AttributeSet.empty())
136 m_AttributeSet.clear();
144 const typename AttributeSetType::size_type size = m_AttributeSet.size();
145 m_AttributeSet.insert(attr);
146 if (size != m_AttributeSet.size())
157 GenerateData()
override;
160 PrintSelf(std::ostream & os,
Indent indent)
const override;
170 #ifndef ITK_MANUAL_INSTANTIATION
171 # include "itkAttributeSelectionLabelMapFilter.hxx"