Orfeo Toolbox  3.16
Public Types | Public Member Functions | Static Public Attributes | Private Attributes
itk::LevelSetNode< TPixel, VSetDimension > Class Template Reference

Represent a node in a level set. More...

#include <itkLevelSetNode.h>

+ Inheritance diagram for itk::LevelSetNode< TPixel, VSetDimension >:
+ Collaboration diagram for itk::LevelSetNode< TPixel, VSetDimension >:

List of all members.

Public Types

typedef Index< VSetDimension > IndexType
typedef TPixel PixelType
typedef LevelSetNode Self

Public Member Functions

 LevelSetNode ()
 LevelSetNode (const Self &node)
IndexTypeGetIndex ()
const IndexTypeGetIndex () const
PixelTypeGetValue ()
const PixelTypeGetValue () const
bool operator< (const Self &node) const
bool operator<= (const Self &node) const
Selfoperator= (const Self &rhs)
bool operator> (const Self &node) const
bool operator>= (const Self &node) const
void SetIndex (const IndexType &input)
void SetValue (const PixelType &input)

Static Public Attributes

static const unsigned int SetDimension = VSetDimension

Private Attributes

IndexType m_Index
PixelType m_Value

Detailed Description

template<class TPixel, unsigned int VSetDimension = 2>
class itk::LevelSetNode< TPixel, VSetDimension >

Represent a node in a level set.

LevelSetNode is a simple templated class that represents a node or grid position of a level set. A group or collection of LevelSetNode can then be used to represents a narrowband or region of interest.

LevelSetNode is templated over the data type and dimension of the level set.

Definition at line 44 of file itkLevelSetNode.h.


Member Typedef Documentation

template<class TPixel , unsigned int VSetDimension = 2>
typedef Index<VSetDimension> itk::LevelSetNode< TPixel, VSetDimension >::IndexType

Index typedef.

Definition at line 57 of file itkLevelSetNode.h.

template<class TPixel , unsigned int VSetDimension = 2>
typedef TPixel itk::LevelSetNode< TPixel, VSetDimension >::PixelType

Pixel typedef.

Definition at line 51 of file itkLevelSetNode.h.

template<class TPixel , unsigned int VSetDimension = 2>
typedef LevelSetNode itk::LevelSetNode< TPixel, VSetDimension >::Self

Standard class typedefs.

Definition at line 48 of file itkLevelSetNode.h.


Constructor & Destructor Documentation

template<class TPixel , unsigned int VSetDimension = 2>
itk::LevelSetNode< TPixel, VSetDimension >::LevelSetNode ( )
inline

Default constructor

Definition at line 103 of file itkLevelSetNode.h.

template<class TPixel , unsigned int VSetDimension = 2>
itk::LevelSetNode< TPixel, VSetDimension >::LevelSetNode ( const Self node)
inline

Copy constructor

Definition at line 109 of file itkLevelSetNode.h.


Member Function Documentation

template<class TPixel , unsigned int VSetDimension = 2>
IndexType& itk::LevelSetNode< TPixel, VSetDimension >::GetIndex ( void  )
inline
template<class TPixel , unsigned int VSetDimension = 2>
const IndexType& itk::LevelSetNode< TPixel, VSetDimension >::GetIndex ( void  ) const
inline

Definition at line 97 of file itkLevelSetNode.h.

template<class TPixel , unsigned int VSetDimension = 2>
PixelType& itk::LevelSetNode< TPixel, VSetDimension >::GetValue ( void  )
inline
template<class TPixel , unsigned int VSetDimension = 2>
const PixelType& itk::LevelSetNode< TPixel, VSetDimension >::GetValue ( void  ) const
inline

Definition at line 89 of file itkLevelSetNode.h.

template<class TPixel , unsigned int VSetDimension = 2>
bool itk::LevelSetNode< TPixel, VSetDimension >::operator< ( const Self node) const
inline

Operator <. A LevelSetNode is sorted by its value field.

Definition at line 64 of file itkLevelSetNode.h.

References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.

template<class TPixel , unsigned int VSetDimension = 2>
bool itk::LevelSetNode< TPixel, VSetDimension >::operator<= ( const Self node) const
inline

Operator <=. A LevelSetNode is sorted by its value field.

Definition at line 68 of file itkLevelSetNode.h.

References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.

template<class TPixel , unsigned int VSetDimension = 2>
Self& itk::LevelSetNode< TPixel, VSetDimension >::operator= ( const Self rhs)
inline

Operator =. Two nodes are equal if both their value and index fields are the same.

Reimplemented in itk::FastMarchingImageFilter< TLevelSet, TSpeedImage >::AxisNodeType.

Definition at line 77 of file itkLevelSetNode.h.

References itk::LevelSetNode< TPixel, VSetDimension >::m_Index, and itk::LevelSetNode< TPixel, VSetDimension >::m_Value.

template<class TPixel , unsigned int VSetDimension = 2>
bool itk::LevelSetNode< TPixel, VSetDimension >::operator> ( const Self node) const
inline

Operator >. A LevelSetNode is sorted by its value field.

Definition at line 60 of file itkLevelSetNode.h.

References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.

template<class TPixel , unsigned int VSetDimension = 2>
bool itk::LevelSetNode< TPixel, VSetDimension >::operator>= ( const Self node) const
inline

Operator >=. A LevelSetNode is sorted by its value field.

Definition at line 72 of file itkLevelSetNode.h.

References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.

template<class TPixel , unsigned int VSetDimension = 2>
void itk::LevelSetNode< TPixel, VSetDimension >::SetIndex ( const IndexType input)
inline
template<class TPixel , unsigned int VSetDimension = 2>
void itk::LevelSetNode< TPixel, VSetDimension >::SetValue ( const PixelType input)
inline

Member Data Documentation

template<class TPixel , unsigned int VSetDimension = 2>
IndexType itk::LevelSetNode< TPixel, VSetDimension >::m_Index
private
template<class TPixel , unsigned int VSetDimension = 2>
PixelType itk::LevelSetNode< TPixel, VSetDimension >::m_Value
private
template<class TPixel , unsigned int VSetDimension = 2>
const unsigned int itk::LevelSetNode< TPixel, VSetDimension >::SetDimension = VSetDimension
static

Level set dimension.

Definition at line 54 of file itkLevelSetNode.h.


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

Generated at Sun Feb 3 2013 02:02:02 for Orfeo Toolbox with doxygen 1.8.1.1