18 #ifndef itkAttributeSelectionLabelMapFilter_h
19 #define itkAttributeSelectionLabelMapFilter_h
51 template <
typename TImage,
52 typename TAttributeAccessor =
53 typename Functor::AttributeLabelObjectAccessor<typename TImage::LabelObjectType>>
79 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
87 #ifdef ITK_USE_CONCEPT_CHECKING
104 return m_AttributeSet;
109 m_AttributeSet = set;
118 itkGetConstMacro(Exclude,
bool);
119 itkSetMacro(Exclude,
bool);
120 itkBooleanMacro(Exclude);
127 this->ClearAttributeSet();
128 this->AddAttribute(attr);
135 if (!m_AttributeSet.empty())
137 m_AttributeSet.clear();
145 const typename AttributeSetType::size_type size = m_AttributeSet.size();
146 m_AttributeSet.insert(attr);
147 if (size != m_AttributeSet.size())
158 GenerateData()
override;
161 PrintSelf(std::ostream & os,
Indent indent)
const override;
171 #ifndef ITK_MANUAL_INSTANTIATION
172 # include "itkAttributeSelectionLabelMapFilter.hxx"