17 #ifndef __itkAttributeLabelObject_h
18 #define __itkAttributeLabelObject_h
28 template<
class TLabelObject >
37 return labelObject->GetAttribute();
42 labelObject->SetAttribute( value );
58 template <
class TLabel,
unsigned int VImageDimension,
class TAttributeValue >
77 itkStaticConstMacro(ImageDimension,
unsigned int, VImageDimension);
83 typedef typename Superclass::LineType
LineType;
107 virtual void CopyAttributesFrom(
const Self * src )
109 Superclass::CopyAttributesFrom( src );
110 m_Attribute = src->m_Attribute;
120 void PrintSelf(std::ostream& os,
Indent indent)
const
122 Superclass::PrintSelf( os, indent );
124 os << indent <<
"Attribute: " << m_Attribute << std::endl;
129 void operator=(
const Self&);