ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkLabelObjectLine.h>
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 42 of file itkLabelObjectLine.h.
Public Types | |
typedef Index< VImageDimension > | IndexType |
typedef SizeValueType | LengthType |
Public Member Functions | |
const IndexType & | GetIndex () const |
const LengthType & | GetLength () const |
bool | HasIndex (const IndexType idx) const |
bool | IsNextIndex (const IndexType &idx) const |
LabelObjectLine () | |
LabelObjectLine (const IndexType &idx, const LengthType &length) | |
void | Print (std::ostream &os, Indent indent=0) const |
void | SetIndex (const IndexType &idx) |
void | SetLength (const LengthType length) |
virtual | ~LabelObjectLine () |
Static Public Attributes | |
static const unsigned int | ImageDimension = VImageDimension |
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 |
Private Attributes | |
IndexType | m_Index |
LengthType | m_Length |
typedef Index< VImageDimension > itk::LabelObjectLine< VImageDimension >::IndexType |
Definition at line 47 of file itkLabelObjectLine.h.
typedef SizeValueType itk::LabelObjectLine< VImageDimension >::LengthType |
Definition at line 48 of file itkLabelObjectLine.h.
itk::LabelObjectLine< VImageDimension >::LabelObjectLine | ( | ) |
itk::LabelObjectLine< VImageDimension >::LabelObjectLine | ( | const IndexType & | idx, |
const LengthType & | length | ||
) |
|
inlinevirtual |
Definition at line 52 of file itkLabelObjectLine.h.
const IndexType& itk::LabelObjectLine< VImageDimension >::GetIndex | ( | ) | const |
const LengthType& itk::LabelObjectLine< VImageDimension >::GetLength | ( | ) | const |
bool itk::LabelObjectLine< VImageDimension >::HasIndex | ( | const IndexType | idx | ) | const |
Check for index
bool itk::LabelObjectLine< VImageDimension >::IsNextIndex | ( | const IndexType & | idx | ) | const |
void itk::LabelObjectLine< VImageDimension >::Print | ( | std::ostream & | os, |
Indent | indent = 0 |
||
) | const |
Cause the object to print itself out.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
void itk::LabelObjectLine< VImageDimension >::SetIndex | ( | const IndexType & | idx | ) |
Set/Get Index
void itk::LabelObjectLine< VImageDimension >::SetLength | ( | const LengthType | length | ) |
SetGet Length
|
static |
Definition at line 45 of file itkLabelObjectLine.h.
|
private |
Definition at line 90 of file itkLabelObjectLine.h.
|
private |
Definition at line 91 of file itkLabelObjectLine.h.