ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::LabelObjectLine< VImageDimension > Class Template Reference

#include <itkLabelObjectLine.h>

+ Collaboration diagram for itk::LabelObjectLine< VImageDimension >:

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

using IndexType = Index< VImageDimension >
 
using LengthType = SizeValueType
 

Public Member Functions

const IndexTypeGetIndex () const
 
const LengthTypeGetLength () 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 ()=default
 

Static Public Attributes

static constexpr 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
 

Member Typedef Documentation

template<unsigned int VImageDimension>
using itk::LabelObjectLine< VImageDimension >::IndexType = Index< VImageDimension >

Definition at line 47 of file itkLabelObjectLine.h.

template<unsigned int VImageDimension>
using itk::LabelObjectLine< VImageDimension >::LengthType = SizeValueType

Definition at line 48 of file itkLabelObjectLine.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

template<unsigned int VImageDimension>
virtual void itk::LabelObjectLine< VImageDimension >::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
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>
constexpr unsigned int itk::LabelObjectLine< VImageDimension >::ImageDimension = VImageDimension
static

Definition at line 45 of file itkLabelObjectLine.h.

template<unsigned int VImageDimension>
IndexType itk::LabelObjectLine< VImageDimension >::m_Index
private

Definition at line 90 of file itkLabelObjectLine.h.

template<unsigned int VImageDimension>
LengthType itk::LabelObjectLine< VImageDimension >::m_Length
private

Definition at line 91 of file itkLabelObjectLine.h.


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