Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Static Public Attributes

itk::LabelObjectLine< VImageDimension > Class Template Reference

#include <itkLabelObjectLine.h>

Collaboration diagram for itk::LabelObjectLine< VImageDimension >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Index< VImageDimension > IndexType
typedef unsigned long LengthType

Public Member Functions

 LabelObjectLine ()
 LabelObjectLine (const IndexType &idx, const LengthType &length)
void Print (std::ostream &os, Indent indent=0) const
virtual ~LabelObjectLine ()

void SetIndex (const IndexType &idx)
const IndexTypeGetIndex () const

void SetLength (const LengthType length)
const LengthTypeGetLength () const

bool HasIndex (const IndexType idx) const
bool IsNextIndex (const IndexType &idx) const

Static Public Attributes

static const unsigned int ImageDimension = VImageDimension

Protected Member Functions

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

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.


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

Set/Get Index

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

SetGet Length

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

Check for index

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

Check for index

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]

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 >::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]

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>
void itk::LabelObjectLine< VImageDimension >::SetIndex ( const IndexType idx  ) 

Set/Get Index

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

SetGet Length


Member Data Documentation

template<unsigned int VImageDimension>
const unsigned int itk::LabelObjectLine< VImageDimension >::ImageDimension = VImageDimension [static]

Definition at line 44 of file itkLabelObjectLine.h.


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

Generated at Mon Jul 12 2010 23:44:49 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000