<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ITK: itk::RandomPermutation Class Reference</title> <link href="DoxygenStyle.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 --> <center> <a href="index.html" class="qindex">Main Page</a> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <a href="pages.html" class="qindex">Concepts</a></center> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="classitk_1_1RandomPermutation.html">RandomPermutation</a> </div> <div class="contents"> <h1>itk::RandomPermutation Class Reference</h1><!-- doxytag: class="itk::RandomPermutation" --><code>#include <<a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>></code> <p> <div class="dynheader"> Collaboration diagram for itk::RandomPermutation:</div> <div class="dynsection"> <p><center><img src="classitk_1_1RandomPermutation__coll__graph.png" border="0" usemap="#itk_1_1RandomPermutation__coll__map" alt="Collaboration graph"></center> <map name="itk_1_1RandomPermutation__coll__map"> <area shape="rect" id="node2" href="classitk_1_1NodeOfPermutation.html" title="itk::NodeOfPermutation" alt="" coords="5,5,189,35"><area shape="rect" id="node4" href="classitk_1_1SmartPointer.html" title="Implements transparent reference counting." alt="" coords="213,5,467,35"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classitk_1_1RandomPermutation-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br class="typebreak"> <a class="el" href="classitk_1_1SmartPointer.html">Statistics::MersenneTwisterRandomVariateGenerator::Pointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#e99f5b1ae5a68897abf16499dfa3bca0">GeneratorPointer</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#00d5b28e44ec15aeec921b32b901ae37">Dump</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#210afa6568c9e0ca91f6a5c753c6016b">operator[]</a> (unsigned long i)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#83986860060430f0c5321fedd56cd8f6">RandomPermutation</a> (unsigned long sz)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#7770160e11a954098482fd08e4281cda">ReinitializeSeed</a> (int seed)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#e6f66f0c6b9c5105a1ace725359bcfea">ReinitializeSeed</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#7bbf658faeb49bda2ea2d290a21d2a88">SetPriority</a> (unsigned long i, unsigned long priority)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#352c1071162edb39648446a15a22dee7">Shuffle</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#49e182a845f4704b9e31afe39ce543dd">~RandomPermutation</a> ()</td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1SmartPointer.html">GeneratorPointer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#e124048497153aa6409f8e21644ebd06">m_Generator</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1NodeOfPermutation.html">NodeOfPermutation</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#b53cc4e31ef307c3ea8ce41aeec3966a">m_Permutation</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1RandomPermutation.html#2228a942361528767825ccb22d6b9608">m_Size</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00069">69</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="e99f5b1ae5a68897abf16499dfa3bca0"></a><!-- doxytag: member="itk::RandomPermutation::GeneratorPointer" ref="e99f5b1ae5a68897abf16499dfa3bca0" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1SmartPointer.html">Statistics::MersenneTwisterRandomVariateGenerator::Pointer</a> <a class="el" href="classitk_1_1SmartPointer.html">itk::RandomPermutation::GeneratorPointer</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00072">72</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="83986860060430f0c5321fedd56cd8f6"></a><!-- doxytag: member="itk::RandomPermutation::RandomPermutation" ref="83986860060430f0c5321fedd56cd8f6" args="(unsigned long sz)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">itk::RandomPermutation::RandomPermutation </td> <td>(</td> <td class="paramtype">unsigned long </td> <td class="paramname"> <em>sz</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00077">77</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>References <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00074">m_Generator</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00073">m_Permutation</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00075">m_Size</a>, <a class="el" href="namespaceHardConnectedComponentImageFilter.html#870262f145e0b45206db74df8053b59c">HardConnectedComponentImageFilter::New()</a>, and <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00107">Shuffle()</a>.</p> </div> </div><p> <a class="anchor" name="49e182a845f4704b9e31afe39ce543dd"></a><!-- doxytag: member="itk::RandomPermutation::~RandomPermutation" ref="49e182a845f4704b9e31afe39ce543dd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">itk::RandomPermutation::~RandomPermutation </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00122">122</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>References <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00073">m_Permutation</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="00d5b28e44ec15aeec921b32b901ae37"></a><!-- doxytag: member="itk::RandomPermutation::Dump" ref="00d5b28e44ec15aeec921b32b901ae37" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::RandomPermutation::Dump </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00085">85</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>References <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00044">itk::NodeOfPermutation::m_Index</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00073">m_Permutation</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00043">itk::NodeOfPermutation::m_Priority</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00075">m_Size</a>, and <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00045">itk::NodeOfPermutation::m_Value</a>.</p> </div> </div><p> <a class="anchor" name="210afa6568c9e0ca91f6a5c753c6016b"></a><!-- doxytag: member="itk::RandomPermutation::operator[]" ref="210afa6568c9e0ca91f6a5c753c6016b" args="(unsigned long i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned long itk::RandomPermutation::operator[] </td> <td>(</td> <td class="paramtype">unsigned long </td> <td class="paramname"> <em>i</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00117">117</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>References <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00044">itk::NodeOfPermutation::m_Index</a>, and <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00073">m_Permutation</a>.</p> </div> </div><p> <a class="anchor" name="7770160e11a954098482fd08e4281cda"></a><!-- doxytag: member="itk::RandomPermutation::ReinitializeSeed" ref="7770160e11a954098482fd08e4281cda" args="(int seed)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::RandomPermutation::ReinitializeSeed </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>seed</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00133">133</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>References <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00074">m_Generator</a>.</p> </div> </div><p> <a class="anchor" name="e6f66f0c6b9c5105a1ace725359bcfea"></a><!-- doxytag: member="itk::RandomPermutation::ReinitializeSeed" ref="e6f66f0c6b9c5105a1ace725359bcfea" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::RandomPermutation::ReinitializeSeed </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Reinitialize the seed of the random number generator <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00128">128</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>References <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00074">m_Generator</a>.</p> </div> </div><p> <a class="anchor" name="7bbf658faeb49bda2ea2d290a21d2a88"></a><!-- doxytag: member="itk::RandomPermutation::SetPriority" ref="7bbf658faeb49bda2ea2d290a21d2a88" args="(unsigned long i, unsigned long priority)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::RandomPermutation::SetPriority </td> <td>(</td> <td class="paramtype">unsigned long </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned long </td> <td class="paramname"> <em>priority</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00095">95</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>References <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00073">m_Permutation</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00043">itk::NodeOfPermutation::m_Priority</a>, and <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00075">m_Size</a>.</p> </div> </div><p> <a class="anchor" name="352c1071162edb39648446a15a22dee7"></a><!-- doxytag: member="itk::RandomPermutation::Shuffle" ref="352c1071162edb39648446a15a22dee7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::RandomPermutation::Shuffle </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00107">107</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>References <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00074">m_Generator</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00044">itk::NodeOfPermutation::m_Index</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00073">m_Permutation</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00075">m_Size</a>, and <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00045">itk::NodeOfPermutation::m_Value</a>.</p> <p>Referenced by <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00077">RandomPermutation()</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="e124048497153aa6409f8e21644ebd06"></a><!-- doxytag: member="itk::RandomPermutation::m_Generator" ref="e124048497153aa6409f8e21644ebd06" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1SmartPointer.html">GeneratorPointer</a> <a class="el" href="classitk_1_1RandomPermutation.html#e124048497153aa6409f8e21644ebd06">itk::RandomPermutation::m_Generator</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00074">74</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>Referenced by <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00077">RandomPermutation()</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00128">ReinitializeSeed()</a>, and <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00107">Shuffle()</a>.</p> </div> </div><p> <a class="anchor" name="b53cc4e31ef307c3ea8ce41aeec3966a"></a><!-- doxytag: member="itk::RandomPermutation::m_Permutation" ref="b53cc4e31ef307c3ea8ce41aeec3966a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1NodeOfPermutation.html">NodeOfPermutation</a>* <a class="el" href="classitk_1_1RandomPermutation.html#b53cc4e31ef307c3ea8ce41aeec3966a">itk::RandomPermutation::m_Permutation</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00073">73</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>Referenced by <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00085">Dump()</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00117">operator[]()</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00077">RandomPermutation()</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00095">SetPriority()</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00107">Shuffle()</a>, and <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00122">~RandomPermutation()</a>.</p> </div> </div><p> <a class="anchor" name="2228a942361528767825ccb22d6b9608"></a><!-- doxytag: member="itk::RandomPermutation::m_Size" ref="2228a942361528767825ccb22d6b9608" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned long <a class="el" href="classitk_1_1RandomPermutation.html#2228a942361528767825ccb22d6b9608">itk::RandomPermutation::m_Size</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00075">75</a> of file <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a>.</p> <p>Referenced by <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00085">Dump()</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00077">RandomPermutation()</a>, <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00095">SetPriority()</a>, and <a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html#l00107">Shuffle()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="itkImageRandomNonRepeatingConstIteratorWithIndex_8h_source.html">itkImageRandomNonRepeatingConstIteratorWithIndex.h</a></ul> </div> <hr><address><small> Generated at Fri May 8 06:19:06 2009 for ITK by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53> </a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2000</small></address> </body> </html>