ITK
6.0.0
Insight Toolkit
|
#include <itkLevelSetNode.h>
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 45 of file itkLevelSetNode.h.
Public Types | |
using | IndexType = Index< VSetDimension > |
using | PixelType = TPixel |
using | Self = LevelSetNode |
Public Member Functions | |
LevelSetNode (const Self &node) | |
bool | operator< (const Self &node) const |
bool | operator<= (const Self &node) const |
bool | operator> (const Self &node) const |
bool | operator>= (const Self &node) const |
Self & | operator= (const Self &rhs) |
PixelType & | GetValue () |
const PixelType & | GetValue () const |
void | SetValue (const PixelType &input) |
IndexType & | GetIndex () |
const IndexType & | GetIndex () const |
void | SetIndex (const IndexType &input) |
LevelSetNode () | |
Static Public Attributes | |
static constexpr unsigned int | SetDimension = VSetDimension |
Private Attributes | |
IndexType | m_Index |
PixelType | m_Value |
using itk::LevelSetNode< TPixel, VSetDimension >::IndexType = Index<VSetDimension> |
Index type alias.
Definition at line 59 of file itkLevelSetNode.h.
using itk::LevelSetNode< TPixel, VSetDimension >::PixelType = TPixel |
Pixel type alias.
Definition at line 53 of file itkLevelSetNode.h.
using itk::LevelSetNode< TPixel, VSetDimension >::Self = LevelSetNode |
Standard class type aliases.
Definition at line 50 of file itkLevelSetNode.h.
|
inline |
Default constructor
Definition at line 140 of file itkLevelSetNode.h.
References itk::Index< VDimension >::Fill(), and itk::LevelSetNode< TPixel, VSetDimension >::m_Index.
|
inline |
Copy constructor
Definition at line 148 of file itkLevelSetNode.h.
|
inline |
Get/Set index.
Definition at line 123 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Index.
|
inline |
Get/Set index.
Definition at line 128 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Index.
|
inline |
Get/Set level set value.
Definition at line 105 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.
|
inline |
Get/Set level set value.
Definition at line 110 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.
|
inline |
Operator <. A LevelSetNode is sorted by its value field.
Definition at line 69 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.
|
inline |
Operator <=. A LevelSetNode is sorted by its value field.
Definition at line 76 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.
|
inline |
Operator =. Two nodes are equal if both their value and index fields are the same.
Definition at line 92 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Index, and itk::LevelSetNode< TPixel, VSetDimension >::m_Value.
|
inline |
Operator >. A LevelSetNode is sorted by its value field.
Definition at line 63 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.
|
inline |
Operator >=. A LevelSetNode is sorted by its value field.
Definition at line 84 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.
|
inline |
Get/Set index.
Definition at line 133 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Index.
|
inline |
Get/Set level set value.
Definition at line 115 of file itkLevelSetNode.h.
References itk::LevelSetNode< TPixel, VSetDimension >::m_Value.
|
private |
|
private |
Definition at line 154 of file itkLevelSetNode.h.
Referenced by itk::LevelSetNode< TPixel, VSetDimension >::GetValue(), itk::LevelSetNode< TPixel, VSetDimension >::operator<(), itk::LevelSetNode< TPixel, VSetDimension >::operator<=(), itk::LevelSetNode< TPixel, VSetDimension >::operator=(), itk::LevelSetNode< TPixel, VSetDimension >::operator>(), itk::LevelSetNode< TPixel, VSetDimension >::operator>=(), and itk::LevelSetNode< TPixel, VSetDimension >::SetValue().
|
staticconstexpr |
Level set dimension.
Definition at line 56 of file itkLevelSetNode.h.