18 #ifndef itkLabelObjectAccessors_h
19 #define itkLabelObjectAccessors_h
37 template<
typename TLabelObject >
46 return labelObject->GetLabel();
50 template<
typename TLabelObject >
59 return labelObject->GetNumberOfLines();
63 template<
typename TLabelObject,
typename TAttributeAccessor >
84 template<
typename TLabelObject,
typename TAttributeAccessor >
LabelObjectComparator(LabelObjectComparator const &from)
TLabelObject LabelObjectType
typename LabelObjectType::LabelType AttributeValueType
AttributeAccessorType m_Accessor
AttributeAccessorType m_Accessor
AttributeValueType operator()(const LabelObjectType *labelObject) const
TLabelObject LabelObjectType
LabelObjectReverseComparator()=default
TLabelObject LabelObjectType
TLabelObject LabelObjectType
AttributeValueType operator()(const LabelObjectType *labelObject) const
bool operator()(const LabelObjectType *a, const LabelObjectType *b) const
LabelObjectComparator()=default
LabelObjectReverseComparator(LabelObjectReverseComparator const &from)
bool operator()(const LabelObjectType *a, const LabelObjectType *b) const
TAttributeAccessor AttributeAccessorType
TAttributeAccessor AttributeAccessorType