ITK
4.10.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: https://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.
References itk::LabelObjectLine< VImageDimension >::GetIndex(), itk::LabelObjectLine< VImageDimension >::GetLength(), itk::LabelObjectLine< VImageDimension >::HasIndex(), itk::LabelObjectLine< VImageDimension >::IsNextIndex(), itk::LabelObjectLine< VImageDimension >::Print(), itk::LabelObjectLine< VImageDimension >::PrintHeader(), itk::LabelObjectLine< VImageDimension >::PrintSelf(), itk::LabelObjectLine< VImageDimension >::PrintTrailer(), itk::LabelObjectLine< VImageDimension >::SetIndex(), and itk::LabelObjectLine< VImageDimension >::SetLength().
const IndexType& itk::LabelObjectLine< VImageDimension >::GetIndex | ( | ) | const |
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
const LengthType& itk::LabelObjectLine< VImageDimension >::GetLength | ( | ) | const |
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
bool itk::LabelObjectLine< VImageDimension >::HasIndex | ( | const IndexType | idx | ) | const |
Check for index
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
bool itk::LabelObjectLine< VImageDimension >::IsNextIndex | ( | const IndexType & | idx | ) | const |
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
void itk::LabelObjectLine< VImageDimension >::Print | ( | std::ostream & | os, |
Indent | indent = 0 |
||
) | const |
Cause the object to print itself out.
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
|
protectedvirtual |
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
|
protectedvirtual |
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.
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
|
protectedvirtual |
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
void itk::LabelObjectLine< VImageDimension >::SetIndex | ( | const IndexType & | idx | ) |
Set/Get Index
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
void itk::LabelObjectLine< VImageDimension >::SetLength | ( | const LengthType | length | ) |
SetGet Length
Referenced by itk::LabelObjectLine< VImageDimension >::~LabelObjectLine().
|
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.