Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 321

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkConstrained2DLayoutStrategy Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkConstrained2DLayoutStrategy Class Reference</h1><!-- doxytag: class="vtkConstrained2DLayoutStrategy" --><!-- doxytag: inherits="vtkGraphLayoutStrategy" --><code>#include &lt;<a class="el" href="a04797.html">vtkConstrained2DLayoutStrategy.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkConstrained2DLayoutStrategy:</div>
<div class="dynsection">
<p><center><img src="a08797.png" border="0" usemap="#a08798" alt="Inheritance graph"></center>
<map name="a08798">
<area shape="rect" href="a00667.html" title="abstract superclass for all graph layout strategies" alt="" coords="32,155,203,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="78,80,158,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="63,5,172,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkConstrained2DLayoutStrategy:</div>
<div class="dynsection">
<p><center><img src="a08799.png" border="0" usemap="#a08800" alt="Collaboration graph"></center>
<map name="a08800">
<area shape="rect" href="a00667.html" title="abstract superclass for all graph layout strategies" alt="" coords="2383,919,2553,945"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,535,524,561"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1777,404,1884,431"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1064,671,1163,697"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1464,777,1563,804"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="675,717,824,744"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="695,356,804,383"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1464,424,1563,451"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1052,360,1175,387"><area shape="rect" href="a01250.html" title="represent and manipulate 3D points" alt="" coords="1792,605,1869,632"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="849,217,991,244"><area shape="rect" href="a00433.html" title="helper for the vtkGraph class that allows the graph to be distributed across multiple..." alt="" coords="2376,751,2560,777"><area shape="rect" href="a00664.html" title="Internal representation of vtkGraph." alt="" coords="1251,621,1381,648"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,419,116,445"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,245,565,272"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,151,300,177"><area shape="rect" href="a01563.html" title="Non&#45;templated superclass for vtkSmartPointer." alt="" coords="1755,1049,1907,1076"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,228,289,255"><area shape="rect" href="a00654.html" title="Base class for graph data types." alt="" coords="2068,704,2145,731"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="2427,392,2509,419"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="2048,212,2165,239"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="2043,485,2171,512"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,144,575,171"><area shape="rect" href="a00376.html" title="represent and manipulate attribute data in a dataset" alt="" coords="1757,665,1904,692"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1463,347,1564,373"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1016,417,1211,444"><area shape="rect" href="a01784.html" title="dynamic, self&#45;adjusting array of unsigned char" alt="" coords="1751,344,1911,371"><area shape="rect" href="a00722.html" title="dynamic, self&#45;adjusting array of vtkIdType" alt="" coords="1773,555,1888,581"><area shape="rect" href="a00539.html" title="vtkFieldData::BasicIterator" alt="" coords="1421,665,1605,692"><area shape="rect" href="a01562.html" title="vtkSmartPointer\&lt; vtkImageData \&gt;" alt="" coords="2355,1053,2581,1080"><area shape="rect" href="a01562.html" title="Hold a reference to a vtkObjectBase instance." alt="" coords="2031,1100,2183,1127"><area shape="rect" href="a01562.html" title="vtkSmartPointer\&lt; vtkFastSplatter \&gt;" alt="" coords="2351,1003,2585,1029"><area shape="rect" href="a01562.html" title="vtkSmartPointer\&lt; vtkFloatArray \&gt;" alt="" coords="2356,1132,2580,1159"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a08801.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
a simple fast 2D graph layout that looks for a 'constraint' array (<a class="el" href="a00436.html" title="dynamic, self-adjusting array of double">vtkDoubleArray</a>). Any entry in the constraint array will indicate the level of impedence a node has to the force calculations during the layout optimization. The array is assumed to be normalized between zero and one, with one being totally constrained, so no force will be applied to the node (i.e. no movement), and zero being full range of movement (no constraints). 
<p>
This class is a density grid based force directed layout strategy. Also please note that 'fast' is relative to quite slow. :) The layout running time is O(V+E) with an extremely high constant. <dl class="user" compact><dt><b>Thanks:</b></dt><dd>We would like to thank Mothra for distracting Godzilla while we wrote this class.</dd></dl>
<dl class="user" compact><dt><b>Events:</b></dt><dd><a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fefb47f80db1dddfdd4b238a7beb587eba">vtkCommand::ProgressEvent</a> </dd></dl>

<p>Definition at line <a class="el" href="a04797.html#l00052">52</a> of file <a class="el" href="a04797.html">vtkConstrained2DLayoutStrategy.h</a>.</p>
<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 <a class="el" href="a00667.html">vtkGraphLayoutStrategy</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#9cfb50a4197c3f431b9dc755f30660a9">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#ce3c4a8f816dcce6f195c417ba6150e9">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#11b795aa137ae3c8acf91b9c9e133ca8">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#1d6b7e91b28b255b605da0158bd8c38a">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#d24852817fbc302a8246e40a9d358fb2">Initialize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#90b32dcd845902684b5ed7d5c0b99cad">Layout</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#6df9f6c2dbb12017869c73f3ebd526e1">IsLayoutComplete</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#42d9d8b4110ba1ce46c3f17de54864b1">SetRandomSeed</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#ea4eedf1f927850f2957ea24d82a0850">GetRandomSeed</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#581e991819c3b5ffe186911fa851a796">SetMaxNumberOfIterations</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#edf5e861cccda97afa267e733251f05c">GetMaxNumberOfIterations</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#f721c4d914952e54378f11d2f5a50d56">SetIterationsPerLayout</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#2a609b20e8bc7c137bdca41141d16799">GetIterationsPerLayout</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#ecd978d61b4615420ef1b1ded57c8831">SetInitialTemperature</a> (float)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#0a764291a85f1fdca251414cb23feb5f">GetInitialTemperature</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#738a7121a7e96037bac81b0859664b3f">SetCoolDownRate</a> (double)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#3eaacb4a8050256d43fd3e1635b9be03">GetCoolDownRate</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#c05de85db797078cea62d4bbaaf94912">SetRestDistance</a> (float)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#91f3c282ac3986f5eb00f85165a87c1b">GetRestDistance</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#3f9af364eb914366262dc67713ee700e">SetInputArrayName</a> (const char *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#fabd57cf1c11ecb7be33724a24dc9f04">GetInputArrayName</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <br>
<a class="el" href="a00318.html">vtkConstrained2DLayoutStrategy</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#12c82b18b9ad91b9638df4b5ee4f72e9">New</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#6f90e89ea45cfeac1197138680e75fc4">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <br>
<a class="el" href="a00318.html">vtkConstrained2DLayoutStrategy</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#d9bd368286aafdc735c1d4d5cf9c9a6b">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#fe11c011f3fe77bdde7a938409619aa3">vtkConstrained2DLayoutStrategy</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#3a9dd8439fe5f58550d9ac6b57a0bd61">~vtkConstrained2DLayoutStrategy</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#9ddf3ea46e6fd6fc239375868a212ddd">MaxNumberOfIterations</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#2d66aadce74b491ec701f494d8030112">InitialTemperature</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00318.html#5c8837e185a69de31408432248297728">CoolDownRate</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="9cfb50a4197c3f431b9dc755f30660a9"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::Superclass" ref="9cfb50a4197c3f431b9dc755f30660a9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00667.html">vtkGraphLayoutStrategy</a> <a class="el" href="a00667.html">vtkConstrained2DLayoutStrategy::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00667.html#4dbb78d8dc867947542009fecdb02589">vtkGraphLayoutStrategy</a>.</p>

<p>Definition at line <a class="el" href="a04797.html#l00057">57</a> of file <a class="el" href="a04797.html">vtkConstrained2DLayoutStrategy.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="fe11c011f3fe77bdde7a938409619aa3"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::vtkConstrained2DLayoutStrategy" ref="fe11c011f3fe77bdde7a938409619aa3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkConstrained2DLayoutStrategy::vtkConstrained2DLayoutStrategy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="3a9dd8439fe5f58550d9ac6b57a0bd61"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::~vtkConstrained2DLayoutStrategy" ref="3a9dd8439fe5f58550d9ac6b57a0bd61" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkConstrained2DLayoutStrategy::~vtkConstrained2DLayoutStrategy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="12c82b18b9ad91b9638df4b5ee4f72e9"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::New" ref="12c82b18b9ad91b9638df4b5ee4f72e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00318.html">vtkConstrained2DLayoutStrategy</a>* vtkConstrained2DLayoutStrategy::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="ce3c4a8f816dcce6f195c417ba6150e9"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::GetClassName" ref="ce3c4a8f816dcce6f195c417ba6150e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkConstrained2DLayoutStrategy::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00667.html#28899a5ab7bc5f4a74e7e7910296b166">vtkGraphLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="6f90e89ea45cfeac1197138680e75fc4"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::IsTypeOf" ref="6f90e89ea45cfeac1197138680e75fc4" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkConstrained2DLayoutStrategy::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a00667.html#e79bfd9f48776ad8dd95b657ceb6556b">vtkGraphLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="11b795aa137ae3c8acf91b9c9e133ca8"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::IsA" ref="11b795aa137ae3c8acf91b9c9e133ca8" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkConstrained2DLayoutStrategy::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a00667.html#9f000939387efbfdd1799d663c4c1d88">vtkGraphLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="d9bd368286aafdc735c1d4d5cf9c9a6b"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::SafeDownCast" ref="d9bd368286aafdc735c1d4d5cf9c9a6b" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00318.html">vtkConstrained2DLayoutStrategy</a>* vtkConstrained2DLayoutStrategy::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00667.html#22b09433df6d68ce3669cc16acff5bd8">vtkGraphLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="1d6b7e91b28b255b605da0158bd8c38a"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::PrintSelf" ref="1d6b7e91b28b255b605da0158bd8c38a" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkConstrained2DLayoutStrategy::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a00667.html#920e5873c1be5fe0b75c11beca20ed4b">vtkGraphLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="42d9d8b4110ba1ce46c3f17de54864b1"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::SetRandomSeed" ref="42d9d8b4110ba1ce46c3f17de54864b1" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::SetRandomSeed           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Seed the random number generator used to jitter point positions. This has a significant effect on their final positions when the layout is complete. 
</div>
</div><p>
<a class="anchor" name="ea4eedf1f927850f2957ea24d82a0850"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::GetRandomSeed" ref="ea4eedf1f927850f2957ea24d82a0850" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkConstrained2DLayoutStrategy::GetRandomSeed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Seed the random number generator used to jitter point positions. This has a significant effect on their final positions when the layout is complete. 
</div>
</div><p>
<a class="anchor" name="581e991819c3b5ffe186911fa851a796"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::SetMaxNumberOfIterations" ref="581e991819c3b5ffe186911fa851a796" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::SetMaxNumberOfIterations           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the maximum number of iterations to be used. The higher this number, the more iterations through the algorithm is possible, and thus, the more the graph gets modified. The default is '100' for no particular reason Note: The strong recommendation is that you do not change this parameter. :) 
</div>
</div><p>
<a class="anchor" name="edf5e861cccda97afa267e733251f05c"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::GetMaxNumberOfIterations" ref="edf5e861cccda97afa267e733251f05c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkConstrained2DLayoutStrategy::GetMaxNumberOfIterations           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the maximum number of iterations to be used. The higher this number, the more iterations through the algorithm is possible, and thus, the more the graph gets modified. The default is '100' for no particular reason Note: The strong recommendation is that you do not change this parameter. :) 
</div>
</div><p>
<a class="anchor" name="f721c4d914952e54378f11d2f5a50d56"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::SetIterationsPerLayout" ref="f721c4d914952e54378f11d2f5a50d56" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::SetIterationsPerLayout           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the number of iterations per layout. The only use for this ivar is for the application to do visualizations of the layout before it's complete. The default is '100' to match the default 'MaxNumberOfIterations' Note: Changing this parameter is just fine :) 
</div>
</div><p>
<a class="anchor" name="2a609b20e8bc7c137bdca41141d16799"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::GetIterationsPerLayout" ref="2a609b20e8bc7c137bdca41141d16799" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkConstrained2DLayoutStrategy::GetIterationsPerLayout           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the number of iterations per layout. The only use for this ivar is for the application to do visualizations of the layout before it's complete. The default is '100' to match the default 'MaxNumberOfIterations' Note: Changing this parameter is just fine :) 
</div>
</div><p>
<a class="anchor" name="ecd978d61b4615420ef1b1ded57c8831"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::SetInitialTemperature" ref="ecd978d61b4615420ef1b1ded57c8831" args="(float)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::SetInitialTemperature           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the initial temperature. The temperature default is '5' for no particular reason Note: The strong recommendation is that you do not change this parameter. :) 
</div>
</div><p>
<a class="anchor" name="0a764291a85f1fdca251414cb23feb5f"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::GetInitialTemperature" ref="0a764291a85f1fdca251414cb23feb5f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float vtkConstrained2DLayoutStrategy::GetInitialTemperature           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the initial temperature. The temperature default is '5' for no particular reason Note: The strong recommendation is that you do not change this parameter. :) 
</div>
</div><p>
<a class="anchor" name="738a7121a7e96037bac81b0859664b3f"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::SetCoolDownRate" ref="738a7121a7e96037bac81b0859664b3f" args="(double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::SetCoolDownRate           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the Cool-down rate. The higher this number is, the longer it will take to "cool-down", and thus, the more the graph will be modified. The default is '10' for no particular reason. Note: The strong recommendation is that you do not change this parameter. :) 
</div>
</div><p>
<a class="anchor" name="3eaacb4a8050256d43fd3e1635b9be03"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::GetCoolDownRate" ref="3eaacb4a8050256d43fd3e1635b9be03" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double vtkConstrained2DLayoutStrategy::GetCoolDownRate           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the Cool-down rate. The higher this number is, the longer it will take to "cool-down", and thus, the more the graph will be modified. The default is '10' for no particular reason. Note: The strong recommendation is that you do not change this parameter. :) 
</div>
</div><p>
<a class="anchor" name="c05de85db797078cea62d4bbaaf94912"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::SetRestDistance" ref="c05de85db797078cea62d4bbaaf94912" args="(float)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::SetRestDistance           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Manually set the resting distance. Otherwise the distance is computed automatically. 
</div>
</div><p>
<a class="anchor" name="91f3c282ac3986f5eb00f85165a87c1b"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::GetRestDistance" ref="91f3c282ac3986f5eb00f85165a87c1b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float vtkConstrained2DLayoutStrategy::GetRestDistance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Manually set the resting distance. Otherwise the distance is computed automatically. 
</div>
</div><p>
<a class="anchor" name="d24852817fbc302a8246e40a9d358fb2"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::Initialize" ref="d24852817fbc302a8246e40a9d358fb2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::Initialize           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This strategy sets up some data structures for faster processing of each <a class="el" href="a00318.html#90b32dcd845902684b5ed7d5c0b99cad">Layout()</a> call 
<p>Reimplemented from <a class="el" href="a00667.html#9995da8160277734ae47752207211853">vtkGraphLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="90b32dcd845902684b5ed7d5c0b99cad"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::Layout" ref="90b32dcd845902684b5ed7d5c0b99cad" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::Layout           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is the layout method where the graph that was set in <a class="el" href="a00667.html#ed755c73121b742dc5f5078453e5094d">SetGraph()</a> is laid out. The method can either entirely layout the graph or iteratively lay out the graph. If you have an iterative layout please implement the <a class="el" href="a00318.html#6df9f6c2dbb12017869c73f3ebd526e1">IsLayoutComplete()</a> method. 
<p>Implements <a class="el" href="a00667.html#14f90ab69c42daa54714afdf45fe0148">vtkGraphLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="6df9f6c2dbb12017869c73f3ebd526e1"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::IsLayoutComplete" ref="6df9f6c2dbb12017869c73f3ebd526e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkConstrained2DLayoutStrategy::IsLayoutComplete           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph 
<p>Reimplemented from <a class="el" href="a00667.html#450d0806be9831a70c76fa179b0cb4d3">vtkGraphLayoutStrategy</a>.</p>

<p>Definition at line <a class="el" href="a04797.html#l00124">124</a> of file <a class="el" href="a04797.html">vtkConstrained2DLayoutStrategy.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3f9af364eb914366262dc67713ee700e"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::SetInputArrayName" ref="3f9af364eb914366262dc67713ee700e" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkConstrained2DLayoutStrategy::SetInputArrayName           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the input constraint array name. If no input array name is set then the name 'constraint' is used. 
</div>
</div><p>
<a class="anchor" name="fabd57cf1c11ecb7be33724a24dc9f04"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::GetInputArrayName" ref="fabd57cf1c11ecb7be33724a24dc9f04" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual char* vtkConstrained2DLayoutStrategy::GetInputArrayName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set/Get the input constraint array name. If no input array name is set then the name 'constraint' is used. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="9ddf3ea46e6fd6fc239375868a212ddd"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::MaxNumberOfIterations" ref="9ddf3ea46e6fd6fc239375868a212ddd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00318.html#9ddf3ea46e6fd6fc239375868a212ddd">vtkConstrained2DLayoutStrategy::MaxNumberOfIterations</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04797.html#l00137">137</a> of file <a class="el" href="a04797.html">vtkConstrained2DLayoutStrategy.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2d66aadce74b491ec701f494d8030112"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::InitialTemperature" ref="2d66aadce74b491ec701f494d8030112" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="a00318.html#2d66aadce74b491ec701f494d8030112">vtkConstrained2DLayoutStrategy::InitialTemperature</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04797.html#l00138">138</a> of file <a class="el" href="a04797.html">vtkConstrained2DLayoutStrategy.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c8837e185a69de31408432248297728"></a><!-- doxytag: member="vtkConstrained2DLayoutStrategy::CoolDownRate" ref="5c8837e185a69de31408432248297728" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="a00318.html#5c8837e185a69de31408432248297728">vtkConstrained2DLayoutStrategy::CoolDownRate</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04797.html#l00139">139</a> of file <a class="el" href="a04797.html">vtkConstrained2DLayoutStrategy.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Infovis/<a class="el" href="a04797.html">vtkConstrained2DLayoutStrategy.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:57:58 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>