Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::NodeOfPermutation Class Reference

#include <itkImageRandomNonRepeatingConstIteratorWithIndex.h>

List of all members.

Detailed Description

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.

Public Member Functions

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

Public Attributes

unsigned long m_Index
unsigned long m_Priority
double m_Value

Constructor & Destructor Documentation

itk::NodeOfPermutation::NodeOfPermutation (  )  [inline]

Definition at line 47 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Index, m_Priority, and m_Value.

Member Function Documentation

bool itk::NodeOfPermutation::operator< ( const NodeOfPermutation b  )  const [inline]

Definition at line 54 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Priority, and m_Value.

Member Data Documentation

unsigned long itk::NodeOfPermutation::m_Index

Definition at line 44 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Referenced by NodeOfPermutation(), itk::RandomPermutation::operator[](), and itk::RandomPermutation::Shuffle().

unsigned long itk::NodeOfPermutation::m_Priority

Definition at line 43 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Referenced by NodeOfPermutation(), operator<(), and itk::RandomPermutation::SetPriority().

double itk::NodeOfPermutation::m_Value

Definition at line 45 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Referenced by NodeOfPermutation(), and operator<().

The documentation for this class was generated from the following file:
Generated at Thu Nov 6 09:11:02 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000