Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::LabelObjectLine< VImageDimension > Class Template Reference

#include <itkLabelObjectLine.h>

Collaboration diagram for itk::LabelObjectLine< VImageDimension >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<unsigned int VImageDimension>
class itk::LabelObjectLine< VImageDimension >

LabelObjectLine is the line object used in the LabelObject class to store the line which are part of the object. A line is formed of and index and a length in the dimension 0. It is used in a run-length encoding

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

Definition at line 41 of file itkLabelObjectLine.h.


Public Types

typedef Index< VImageDimension > IndexType
typedef unsigned long LengthType

Public Member Functions

const IndexTypeGetIndex () const
IndexTypeGetIndex ()
const LengthTypeGetLength () const
LengthTypeGetLength ()
bool HasIndex (const IndexType idx) const
bool IsNextIndex (const IndexType &idx) const
 itkStaticConstMacro (ImageDimension, unsigned int, VImageDimension)
 LabelObjectLine (const IndexType &idx, const LengthType &length)
 LabelObjectLine ()
void Print (std::ostream &os, Indent indent=0) const
void SetIndex (const IndexType &idx)
void SetLength (const LengthType length)
virtual ~LabelObjectLine ()

Protected Member Functions

virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintSelf (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Member Typedef Documentation

template<unsigned int VImageDimension>
typedef Index< VImageDimension > itk::LabelObjectLine< VImageDimension >::IndexType

Definition at line 46 of file itkLabelObjectLine.h.

template<unsigned int VImageDimension>
typedef unsigned long itk::LabelObjectLine< VImageDimension >::LengthType

Definition at line 47 of file itkLabelObjectLine.h.


Constructor & Destructor Documentation

template<unsigned int VImageDimension>
itk::LabelObjectLine< VImageDimension >::LabelObjectLine (  )  [inline]

Definition at line 49 of file itkLabelObjectLine.h.

template<unsigned int VImageDimension>
virtual itk::LabelObjectLine< VImageDimension >::~LabelObjectLine (  )  [inline, virtual]

Definition at line 50 of file itkLabelObjectLine.h.

template<unsigned int VImageDimension>
itk::LabelObjectLine< VImageDimension >::LabelObjectLine ( const IndexType idx,
const LengthType length 
)


Member Function Documentation

template<unsigned int VImageDimension>
const IndexType& itk::LabelObjectLine< VImageDimension >::GetIndex (  )  const

template<unsigned int VImageDimension>
IndexType& itk::LabelObjectLine< VImageDimension >::GetIndex (  ) 

template<unsigned int VImageDimension>
const LengthType& itk::LabelObjectLine< VImageDimension >::GetLength (  )  const

template<unsigned int VImageDimension>
LengthType& itk::LabelObjectLine< VImageDimension >::GetLength (  ) 

template<unsigned int VImageDimension>
bool itk::LabelObjectLine< VImageDimension >::HasIndex ( const IndexType  idx  )  const

template<unsigned int VImageDimension>
bool itk::LabelObjectLine< VImageDimension >::IsNextIndex ( const IndexType idx  )  const

template<unsigned int VImageDimension>
itk::LabelObjectLine< VImageDimension >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
VImageDimension   
)

template<unsigned int VImageDimension>
void itk::LabelObjectLine< VImageDimension >::Print ( std::ostream &  os,
Indent  indent = 0 
) const

Cause the object to print itself out.

template<unsigned int VImageDimension>
virtual void itk::LabelObjectLine< VImageDimension >::PrintHeader ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

template<unsigned int VImageDimension>
virtual void itk::LabelObjectLine< VImageDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [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.

template<unsigned int VImageDimension>
virtual void itk::LabelObjectLine< VImageDimension >::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

template<unsigned int VImageDimension>
void itk::LabelObjectLine< VImageDimension >::SetIndex ( const IndexType idx  ) 

template<unsigned int VImageDimension>
void itk::LabelObjectLine< VImageDimension >::SetLength ( const LengthType  length  ) 


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

Generated at Thu May 28 15:28:41 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000