ITK  5.4.0
Insight Toolkit
Public Member Functions | Public Attributes | List of all members
itk::NodeOfPermutation Class Reference

#include <itkImageRandomNonRepeatingConstIteratorWithIndex.h>

Public Member Functions

 NodeOfPermutation ()
bool operator< (const NodeOfPermutation &b) const

Public Attributes

SizeValueType m_Index
SizeValueType m_Priority
double m_Value

Detailed Description

A node to be used when computing permutations.

The itk::ImageRandomNonRepeatingIterator works by creating a random permutation of the image pixels and then using that to control the order in which it accesses them. The classes NodeOfPermutation and RandomPermutation are used to support that. RandomPermutation is basically container which holds NodeOfPermutation objects. The node class overloads the < operator, which allows the sort algorithm from the STL to be used on it.

Definition at line 40 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Constructor & Destructor Documentation

◆ NodeOfPermutation()

itk::NodeOfPermutation::NodeOfPermutation ( )

Definition at line 47 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Index, m_Priority, and m_Value.

Member Function Documentation

◆ operator<()

bool itk::NodeOfPermutation::operator< ( const NodeOfPermutation b) const

Definition at line 55 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Priority, and m_Value.

Member Data Documentation

◆ m_Index

SizeValueType itk::NodeOfPermutation::m_Index

◆ m_Priority

SizeValueType itk::NodeOfPermutation::m_Priority

◆ m_Value

double itk::NodeOfPermutation::m_Value

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