18#ifndef itkLabelObjectAccessors_h
19#define itkLabelObjectAccessors_h
36template <
typename TLabelObject>
46 return labelObject->GetLabel();
50template <
typename TLabelObject>
60 return labelObject->GetNumberOfLines();
64template <
typename TLabelObject,
typename TAttributeAccessor>
83template <
typename TLabelObject,
typename TAttributeAccessor>
AttributeValueType operator()(const LabelObjectType *labelObject) const
typename LabelObjectType::LabelType AttributeValueType
TLabelObject LabelObjectType
TAttributeAccessor AttributeAccessorType
AttributeAccessorType m_Accessor
bool operator()(const LabelObjectType *a, const LabelObjectType *b) const
LabelObjectComparator(LabelObjectComparator const &from)
TLabelObject LabelObjectType
LabelObjectComparator()=default
TAttributeAccessor AttributeAccessorType
TLabelObject LabelObjectType
bool operator()(const LabelObjectType *a, const LabelObjectType *b) const
AttributeAccessorType m_Accessor
LabelObjectReverseComparator(LabelObjectReverseComparator const &from)
LabelObjectReverseComparator()=default
TLabelObject LabelObjectType
AttributeValueType operator()(const LabelObjectType *labelObject) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....