ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkAttributeLabelObject.h>
Public Types | |
typedef TAttributeValue | AttributeValueType |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Superclass::IndexType | IndexType |
typedef LabelMap< Self > | LabelMapType |
typedef Superclass::LabelObjectType | LabelObjectType |
typedef TLabel | LabelType |
typedef Superclass::LengthType | LengthType |
typedef Superclass::LineType | LineType |
typedef SmartPointer< Self > | Pointer |
typedef AttributeLabelObject | Self |
typedef LabelObject< TLabel, VImageDimension > | Superclass |
Public Types inherited from itk::LabelObject< TLabel, VImageDimension > | |
typedef unsigned int | AttributeType |
typedef Offset< VImageDimension > | OffsetType |
typedef itk::SizeValueType | SizeValueType |
Public Types inherited from itk::LightObject |
Public Member Functions | |
virtual void | CopyAttributesFrom (const LabelObjectType *lo) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const AttributeValueType & | GetAttribute () const |
AttributeValueType | GetAttribute () |
virtual const char * | GetNameOfClass () const |
void | SetAttribute (const AttributeValueType &v) |
Public Member Functions inherited from itk::LabelObject< TLabel, VImageDimension > | |
void | AddIndex (const IndexType &idx) |
void | AddLine (const IndexType &idx, const LengthType &length) |
void | AddLine (const LineType &line) |
void | Clear () |
void | CopyAllFrom (const Self *src) |
bool | Empty () const |
IndexType | GetIndex (SizeValueType i) const |
const LabelType & | GetLabel () const |
const LineType & | GetLine (SizeValueType i) const |
LineType & | GetLine (SizeValueType i) |
SizeValueType | GetNumberOfLines () const |
bool | HasIndex (const IndexType &idx) const |
void | Optimize () |
bool | RemoveIndex (const IndexType &idx) |
void | SetLabel (const LabelType &label) |
void | Shift (OffsetType offset) |
SizeValueType | Size () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LabelObject< TLabel, VImageDimension > | |
static AttributeType | GetAttributeFromName (const std::string &s) |
static std::string | GetNameFromAttribute (const AttributeType &a) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
Static Public Attributes | |
static const unsigned int | ImageDimension = VImageDimension |
Static Public Attributes inherited from itk::LabelObject< TLabel, VImageDimension > | |
static const AttributeType | LABEL = 0 |
Protected Member Functions | |
AttributeLabelObject () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Member Functions inherited from itk::LabelObject< TLabel, VImageDimension > | |
LabelObject () | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
AttributeLabelObject (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
AttributeValueType | m_Attribute |
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.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 70 of file itkAttributeLabelObject.h.
typedef TAttributeValue itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::AttributeValueType |
Definition at line 99 of file itkAttributeLabelObject.h.
typedef SmartPointer<const Self> itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::ConstPointer |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 78 of file itkAttributeLabelObject.h.
typedef WeakPointer<const Self> itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::ConstWeakPointer |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 79 of file itkAttributeLabelObject.h.
typedef Superclass::IndexType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::IndexType |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 91 of file itkAttributeLabelObject.h.
typedef LabelMap< Self > itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LabelMapType |
Definition at line 85 of file itkAttributeLabelObject.h.
typedef Superclass::LabelObjectType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LabelObjectType |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 77 of file itkAttributeLabelObject.h.
typedef TLabel itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LabelType |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 93 of file itkAttributeLabelObject.h.
typedef Superclass::LengthType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LengthType |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 97 of file itkAttributeLabelObject.h.
typedef Superclass::LineType itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::LineType |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 95 of file itkAttributeLabelObject.h.
typedef SmartPointer<Self> itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::Pointer |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 76 of file itkAttributeLabelObject.h.
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.
typedef LabelObject< TLabel, VImageDimension > itk::AttributeLabelObject< TLabel, VImageDimension, TAttributeValue >::Superclass |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 75 of file itkAttributeLabelObject.h.
|
inlineprotected |
Definition at line 131 of file itkAttributeLabelObject.h.
|
private |
|
inlinevirtual |
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.
|
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 >.
|
inline |
Definition at line 106 of file itkAttributeLabelObject.h.
|
inline |
Definition at line 111 of file itkAttributeLabelObject.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
|
static |
Method for creation through the object factory.
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
|
private |
Mutex lock to protect modification to the reference count
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
|
inlineprotectedvirtual |
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.
|
inline |
Definition at line 101 of file itkAttributeLabelObject.h.
|
static |
Reimplemented from itk::LabelObject< TLabel, VImageDimension >.
Definition at line 89 of file itkAttributeLabelObject.h.
|
private |
Definition at line 148 of file itkAttributeLabelObject.h.