ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue > Class Template Reference

A LabelObject with a generic attribute. More...

#include <itkAttributeLabelObject.h>

Inheritance diagram for itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >:
Collaboration diagram for itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >:

List of all members.

Public Types

typedef TAttributeValue AttributeValueType
typedef SmartPointer< const SelfConstPointer
typedef WeakPointer< const SelfConstWeakPointer
typedef Superclass::IndexType IndexType
typedef LabelMap< SelfLabelMapType
typedef Superclass::LabelObjectType LabelObjectType
typedef TLabel LabelType
typedef Superclass::LengthType LengthType
typedef Superclass::LineType LineType
typedef SmartPointer< SelfPointer
typedef AttributeLabelObject Self
typedef LabelObject< TLabel,
VImageDimension > 
Superclass

Public Member Functions

virtual void CopyAttributesFrom (const LabelObjectType *lo)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
AttributeValueType GetAttribute ()
const AttributeValueTypeGetAttribute () const
virtual const char * GetNameOfClass () const
void SetAttribute (const AttributeValueType &v)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = VImageDimension

Protected Member Functions

 AttributeLabelObject ()
void PrintSelf (std::ostream &os, Indent indent) const

Private Member Functions

 AttributeLabelObject (const Self &)
void operator= (const Self &)

Private Attributes

AttributeValueType m_Attribute

Detailed Description

template<class TLabel, unsigned int VImageDimension, class TAttributeValue>
class itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >

A LabelObject with a generic attribute.

The attribute type is defined in the third template parameter. The attribute is then accessible with the GetAttribute() and SetAttribute methods or through the accessor itk::Functor::AttributeLabelObjectAccessor.

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.

This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176

See also:
LabelObject, ShapeLabelObject, StatisticsLabelObject

Definition at line 70 of file itkAttributeLabelObject.h.


Member Typedef Documentation

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef TAttributeValue itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::AttributeValueType

Definition at line 99 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef SmartPointer<const Self> itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::ConstPointer

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 78 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef WeakPointer<const Self> itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::ConstWeakPointer

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 79 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef Superclass::IndexType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::IndexType

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 91 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef LabelMap< Self > itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LabelMapType

Definition at line 85 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef Superclass::LabelObjectType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LabelObjectType

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 77 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef TLabel itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LabelType

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 93 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef Superclass::LengthType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LengthType

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 97 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef Superclass::LineType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LineType

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 95 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef SmartPointer<Self> itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::Pointer

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 76 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef AttributeLabelObject itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::Self

Standard class typedefs

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 74 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
typedef LabelObject< TLabel, VImageDimension > itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::Superclass

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 75 of file itkAttributeLabelObject.h.


Constructor & Destructor Documentation

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::AttributeLabelObject ( ) [inline, protected]

Definition at line 131 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::AttributeLabelObject ( const Self ) [private]

Member Function Documentation

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
virtual void itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::CopyAttributesFrom ( const LabelObjectType src) [inline, virtual]

Copy the attributes of another node to this one

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 117 of file itkAttributeLabelObject.h.

References NULL.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
virtual::itk::LightObject::Pointer itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
const AttributeValueType& itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::GetAttribute ( ) const [inline]

Definition at line 106 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
AttributeValueType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::GetAttribute ( ) [inline]

Definition at line 111 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
virtual const char* itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
static Pointer itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
void itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::operator= ( const Self ) [private]

Mutex lock to protect modification to the reference count

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
void itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [inline, protected, virtual]

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 137 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
void itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::SetAttribute ( const AttributeValueType v) [inline]

Definition at line 101 of file itkAttributeLabelObject.h.


Member Data Documentation

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
const unsigned int itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::ImageDimension = VImageDimension [static]

Reimplemented from itk::LabelObject< TLabel, VImageDimension >.

Definition at line 89 of file itkAttributeLabelObject.h.

template<class TLabel , unsigned int VImageDimension, class TAttributeValue >
AttributeValueType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::m_Attribute [private]

Definition at line 148 of file itkAttributeLabelObject.h.


The documentation for this class was generated from the following file: