Sophie

Sophie

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

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: vtkBoxLayoutStrategy 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>vtkBoxLayoutStrategy Class Reference</h1><!-- doxytag: class="vtkBoxLayoutStrategy" --><!-- doxytag: inherits="vtkTreeMapLayoutStrategy" --><code>#include &lt;<a class="el" href="a04791.html">vtkBoxLayoutStrategy.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkBoxLayoutStrategy:</div>
<div class="dynsection">
<p><center><img src="a08245.png" border="0" usemap="#a08246" alt="Inheritance graph"></center>
<map name="a08246">
<area shape="rect" href="a01751.html" title="abstract superclass for all tree map layout strategies" alt="" coords="5,229,192,256"><area shape="rect" href="a00122.html" title="abstract superclass for all area layout strategies" alt="" coords="19,155,179,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="59,80,139,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="44,5,153,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkBoxLayoutStrategy:</div>
<div class="dynsection">
<p><center><img src="a08247.png" border="0" usemap="#a08248" alt="Collaboration graph"></center>
<map name="a08248">
<area shape="rect" href="a01751.html" title="abstract superclass for all tree map layout strategies" alt="" coords="33,251,220,277"><area shape="rect" href="a00122.html" title="abstract superclass for all area layout strategies" alt="" coords="47,173,207,200"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="87,96,167,123"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="5,5,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="139,5,248,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a08249.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
a tree map layout that puts vertices in square-ish boxes 
<p>
<a class="el" href="a00197.html" title="a tree map layout that puts vertices in square-ish boxes">vtkBoxLayoutStrategy</a> recursively partitions the space for children vertices in a tree-map into square regions (or regions very close to a square).<p>
<dl class="user" compact><dt><b>Thanks:</b></dt><dd>Thanks to Brian Wylie from Sandia National Laboratories for creating this class.</dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_2.html#c2_vtk_t_vtkBoxLayoutStrategy">vtkBoxLayoutStrategy (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04791.html#l00039">39</a> of file <a class="el" href="a04791.html">vtkBoxLayoutStrategy.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="a01751.html">vtkTreeMapLayoutStrategy</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00197.html#3aac341aa7bbfb161f05078560706772">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="a00197.html#e50807ac0bbfe52cda43a94b4deda9da">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="a00197.html#a307cb6fb6b3723a063b140e79e47357">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="a00197.html#f669fd35b461f7bb4ac556d8dac9e526">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</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="a00197.html#35b3bdd05eef8992ffd03c65f305a451">Layout</a> (<a class="el" href="a01741.html">vtkTree</a> *inputTree, <a class="el" href="a00356.html">vtkDataArray</a> *coordsArray, <a class="el" href="a00356.html">vtkDataArray</a> *sizeArray)</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 <a class="el" href="a00197.html">vtkBoxLayoutStrategy</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00197.html#4f56e72daa1ca6bc197a9a761e379a0c">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="a00197.html#7a24065eaaef043cb317a2c73f33a49e">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00197.html">vtkBoxLayoutStrategy</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00197.html#396a3877dcf51120c03a30038818ab46">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="a00197.html#9d6ccf171525a7b8a7b7e9c913088708">vtkBoxLayoutStrategy</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00197.html#495acc91f8839a0ff4452c294a7aafea">~vtkBoxLayoutStrategy</a> ()</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="3aac341aa7bbfb161f05078560706772"></a><!-- doxytag: member="vtkBoxLayoutStrategy::Superclass" ref="3aac341aa7bbfb161f05078560706772" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01751.html">vtkTreeMapLayoutStrategy</a> <a class="el" href="a01751.html">vtkBoxLayoutStrategy::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01751.html#9e5c67a913241fcadbc82daa7ebc9625">vtkTreeMapLayoutStrategy</a>.</p>

<p>Definition at line <a class="el" href="a04791.html#l00044">44</a> of file <a class="el" href="a04791.html">vtkBoxLayoutStrategy.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="9d6ccf171525a7b8a7b7e9c913088708"></a><!-- doxytag: member="vtkBoxLayoutStrategy::vtkBoxLayoutStrategy" ref="9d6ccf171525a7b8a7b7e9c913088708" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkBoxLayoutStrategy::vtkBoxLayoutStrategy           </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="495acc91f8839a0ff4452c294a7aafea"></a><!-- doxytag: member="vtkBoxLayoutStrategy::~vtkBoxLayoutStrategy" ref="495acc91f8839a0ff4452c294a7aafea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkBoxLayoutStrategy::~vtkBoxLayoutStrategy           </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="4f56e72daa1ca6bc197a9a761e379a0c"></a><!-- doxytag: member="vtkBoxLayoutStrategy::New" ref="4f56e72daa1ca6bc197a9a761e379a0c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00197.html">vtkBoxLayoutStrategy</a>* vtkBoxLayoutStrategy::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="e50807ac0bbfe52cda43a94b4deda9da"></a><!-- doxytag: member="vtkBoxLayoutStrategy::GetClassName" ref="e50807ac0bbfe52cda43a94b4deda9da" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkBoxLayoutStrategy::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="a01751.html#0f37487aba4b29442cf54e7b33cdbf3e">vtkTreeMapLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="7a24065eaaef043cb317a2c73f33a49e"></a><!-- doxytag: member="vtkBoxLayoutStrategy::IsTypeOf" ref="7a24065eaaef043cb317a2c73f33a49e" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkBoxLayoutStrategy::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="a01751.html#978b4faa51d6043c33d65f9a4459d22f">vtkTreeMapLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="a307cb6fb6b3723a063b140e79e47357"></a><!-- doxytag: member="vtkBoxLayoutStrategy::IsA" ref="a307cb6fb6b3723a063b140e79e47357" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkBoxLayoutStrategy::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="a01751.html#8608e3063f5afd56418a61490e385245">vtkTreeMapLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="396a3877dcf51120c03a30038818ab46"></a><!-- doxytag: member="vtkBoxLayoutStrategy::SafeDownCast" ref="396a3877dcf51120c03a30038818ab46" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00197.html">vtkBoxLayoutStrategy</a>* vtkBoxLayoutStrategy::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="a01751.html#3ab02fbb14dd014811333e9e1b8e7293">vtkTreeMapLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="f669fd35b461f7bb4ac556d8dac9e526"></a><!-- doxytag: member="vtkBoxLayoutStrategy::PrintSelf" ref="f669fd35b461f7bb4ac556d8dac9e526" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkBoxLayoutStrategy::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="a01751.html#96a47d61d3a9935a80c8ba65002da996">vtkTreeMapLayoutStrategy</a>.</p>

</div>
</div><p>
<a class="anchor" name="35b3bdd05eef8992ffd03c65f305a451"></a><!-- doxytag: member="vtkBoxLayoutStrategy::Layout" ref="35b3bdd05eef8992ffd03c65f305a451" args="(vtkTree *inputTree, vtkDataArray *coordsArray, vtkDataArray *sizeArray)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkBoxLayoutStrategy::Layout           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01741.html">vtkTree</a> *&nbsp;</td>
          <td class="paramname"> <em>inputTree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00356.html">vtkDataArray</a> *&nbsp;</td>
          <td class="paramname"> <em>coordsArray</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00356.html">vtkDataArray</a> *&nbsp;</td>
          <td class="paramname"> <em>sizeArray</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>
Perform the layout of a tree and place the results as 4-tuples in coordsArray (Xmin, Xmax, Ymin, Ymax). 
<p>Implements <a class="el" href="a00122.html#59bff0048a203ef412cf7e456358e8e5">vtkAreaLayoutStrategy</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="a04791.html">vtkBoxLayoutStrategy.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:54:39 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>