#include <itkLabelObjectLine.h>
Public Types | |
typedef Index< VImageDimension > | IndexType |
typedef unsigned long | LengthType |
Public Member Functions | |
LabelObjectLine (const IndexType &idx, const LengthType &length) | |
LabelObjectLine () | |
void | Print (std::ostream &os, Indent indent=0) const |
virtual | ~LabelObjectLine () |
Static Public Attributes | |
static const unsigned int | ImageDimension = VImageDimension |
| |
const IndexType & | GetIndex () const |
const LengthType & | GetLength () const |
bool | HasIndex (const IndexType idx) const |
bool | IsNextIndex (const IndexType &idx) const |
void | SetIndex (const IndexType &idx) |
void | SetLength (const LengthType length) |
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 |
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
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.
typedef Index< VImageDimension > itk::LabelObjectLine< VImageDimension >::IndexType |
Definition at line 46 of file itkLabelObjectLine.h.
typedef unsigned long itk::LabelObjectLine< VImageDimension >::LengthType |
Definition at line 47 of file itkLabelObjectLine.h.
itk::LabelObjectLine< VImageDimension >::LabelObjectLine | ( | ) | [inline] |
Definition at line 49 of file itkLabelObjectLine.h.
virtual itk::LabelObjectLine< VImageDimension >::~LabelObjectLine | ( | ) | [inline, virtual] |
Definition at line 50 of file itkLabelObjectLine.h.
itk::LabelObjectLine< VImageDimension >::LabelObjectLine | ( | const IndexType & | idx, | |
const LengthType & | length | |||
) |
const IndexType& itk::LabelObjectLine< VImageDimension >::GetIndex | ( | ) | const |
Check for index
const LengthType& itk::LabelObjectLine< VImageDimension >::GetLength | ( | ) | const |
Check for index
bool itk::LabelObjectLine< VImageDimension >::HasIndex | ( | const IndexType | idx | ) | const |
Check for index
bool itk::LabelObjectLine< VImageDimension >::IsNextIndex | ( | const IndexType & | idx | ) | const |
Check for index
void itk::LabelObjectLine< VImageDimension >::Print | ( | std::ostream & | os, | |
Indent | indent = 0 | |||
) | const |
Cause the object to print itself out.
virtual void itk::LabelObjectLine< VImageDimension >::PrintHeader | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual] |
Check for index
virtual void itk::LabelObjectLine< VImageDimension >::PrintSelf | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual] |
virtual void itk::LabelObjectLine< VImageDimension >::PrintTrailer | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual] |
Check for index
void itk::LabelObjectLine< VImageDimension >::SetIndex | ( | const IndexType & | idx | ) |
Set/Get Index
void itk::LabelObjectLine< VImageDimension >::SetLength | ( | const LengthType | length | ) |
SetGet Length
const unsigned int itk::LabelObjectLine< VImageDimension >::ImageDimension = VImageDimension [static] |
Definition at line 44 of file itkLabelObjectLine.h.