Sophie

Sophie

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

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: vtkChacoGraphReader 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>vtkChacoGraphReader Class Reference</h1><!-- doxytag: class="vtkChacoGraphReader" --><!-- doxytag: inherits="vtkUndirectedGraphAlgorithm" --><code>#include &lt;<a class="el" href="a04792.html">vtkChacoGraphReader.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkChacoGraphReader:</div>
<div class="dynsection">
<p><center><img src="a08546.png" border="0" usemap="#a08547" alt="Inheritance graph"></center>
<map name="a08547">
<area shape="rect" href="a01777.html" title="Superclass for algorithms that produce undirected graph as output." alt="" coords="5,229,208,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="57,155,156,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="67,80,147,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="52,5,161,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkChacoGraphReader:</div>
<div class="dynsection">
<p><center><img src="a08548.png" border="0" usemap="#a08549" alt="Collaboration graph"></center>
<map name="a08549">
<area shape="rect" href="a01777.html" title="Superclass for algorithms that produce undirected graph as output." alt="" coords="149,499,352,525"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="281,381,380,408"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="477,499,576,525"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="407,173,487,200"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="404,264,553,291"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="212,264,321,291"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="164,5,273,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="5,173,168,200"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="153,83,284,109"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="308,83,417,109"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="192,173,373,200"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a08550.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Reads chaco graph files. 
<p>
<a class="el" href="a00261.html" title="Reads chaco graph files.">vtkChacoGraphReader</a> reads in files in the Chaco format into a <a class="el" href="a00654.html" title="Base class for graph data types.">vtkGraph</a>. An example is the following <code> 10 13 2 6 10 1 3 2 4 8 3 5 4 6 10 1 5 7 6 8 3 7 9 8 10 1 5 9 </code> The first line specifies the number of vertices and edges in the graph. Each additional line contains the vertices adjacent to a particular vertex. In this example, vertex 1 is adjacent to 2, 6 and 10, vertex 2 is adjacent to 1 and 3, etc. Since Chaco ids start at 1 and VTK ids start at 0, the vertex ids in the <a class="el" href="a00654.html" title="Base class for graph data types.">vtkGraph</a> will be 1 less than the Chaco ids.<p>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_3.html#c2_vtk_t_vtkChacoGraphReader">vtkChacoGraphReader (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04792.html#l00055">55</a> of file <a class="el" href="a04792.html">vtkChacoGraphReader.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="a01777.html">vtkUndirectedGraphAlgorithm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00261.html#6d5fde152370134d83b5c771b550fa8c">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="a00261.html#49bf630b863cb342405f8a02d702e70b">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="a00261.html#32985502cb142133dff2628797196514">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="a00261.html#1e13cc7e7785a9f7564e5f6e687906c3">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 char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00261.html#da94dd73f103323931d175f7b62f3338">GetFileName</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="a00261.html#0477e1de8026e300770cfa1c313b9be3">SetFileName</a> (const char *)</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="a00261.html">vtkChacoGraphReader</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00261.html#bf510a084ecaa7f88bca98e921df7a56">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="a00261.html#d9427073ceb25c3b6d5db326c956a241">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00261.html">vtkChacoGraphReader</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00261.html#de199f822daa35efcfc6ccfc9dc72624">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="a00261.html#fcca01c7849a3fbda5fb0d2399543ef5">vtkChacoGraphReader</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00261.html#e81d01dd70281cdbdf5bb6c1bdd18267">~vtkChacoGraphReader</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="a00261.html#035099f1ee16aa2a899d3b66a80bb353">RequestData</a> (<a class="el" href="a00872.html">vtkInformation</a> *, <a class="el" href="a00895.html">vtkInformationVector</a> **, <a class="el" href="a00895.html">vtkInformationVector</a> *)</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="6d5fde152370134d83b5c771b550fa8c"></a><!-- doxytag: member="vtkChacoGraphReader::Superclass" ref="6d5fde152370134d83b5c771b550fa8c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01777.html">vtkUndirectedGraphAlgorithm</a> <a class="el" href="a01777.html">vtkChacoGraphReader::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01777.html#a78d7b5d67e30508e0865e48f79a1026">vtkUndirectedGraphAlgorithm</a>.</p>

<p>Definition at line <a class="el" href="a04792.html#l00059">59</a> of file <a class="el" href="a04792.html">vtkChacoGraphReader.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="fcca01c7849a3fbda5fb0d2399543ef5"></a><!-- doxytag: member="vtkChacoGraphReader::vtkChacoGraphReader" ref="fcca01c7849a3fbda5fb0d2399543ef5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkChacoGraphReader::vtkChacoGraphReader           </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="e81d01dd70281cdbdf5bb6c1bdd18267"></a><!-- doxytag: member="vtkChacoGraphReader::~vtkChacoGraphReader" ref="e81d01dd70281cdbdf5bb6c1bdd18267" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkChacoGraphReader::~vtkChacoGraphReader           </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="bf510a084ecaa7f88bca98e921df7a56"></a><!-- doxytag: member="vtkChacoGraphReader::New" ref="bf510a084ecaa7f88bca98e921df7a56" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00261.html">vtkChacoGraphReader</a>* vtkChacoGraphReader::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="a01777.html#a34cbc050bf7b1ac19d44596251d17a5">vtkUndirectedGraphAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="49bf630b863cb342405f8a02d702e70b"></a><!-- doxytag: member="vtkChacoGraphReader::GetClassName" ref="49bf630b863cb342405f8a02d702e70b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkChacoGraphReader::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="a01777.html#44ee57728836645646148d5d46d28a5e">vtkUndirectedGraphAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="d9427073ceb25c3b6d5db326c956a241"></a><!-- doxytag: member="vtkChacoGraphReader::IsTypeOf" ref="d9427073ceb25c3b6d5db326c956a241" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkChacoGraphReader::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="a01777.html#aa62b786a4ee536ad391f1d899a74444">vtkUndirectedGraphAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="32985502cb142133dff2628797196514"></a><!-- doxytag: member="vtkChacoGraphReader::IsA" ref="32985502cb142133dff2628797196514" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkChacoGraphReader::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="a01777.html#2a9eb6deda3350d5b09c41da6da9bf01">vtkUndirectedGraphAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="de199f822daa35efcfc6ccfc9dc72624"></a><!-- doxytag: member="vtkChacoGraphReader::SafeDownCast" ref="de199f822daa35efcfc6ccfc9dc72624" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00261.html">vtkChacoGraphReader</a>* vtkChacoGraphReader::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="a01777.html#e9e45e951a7f1c825ea4b2b4ed699d00">vtkUndirectedGraphAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="1e13cc7e7785a9f7564e5f6e687906c3"></a><!-- doxytag: member="vtkChacoGraphReader::PrintSelf" ref="1e13cc7e7785a9f7564e5f6e687906c3" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkChacoGraphReader::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="a01777.html#ad6acb081b8eb6c5942f829b4b859596">vtkUndirectedGraphAlgorithm</a>.</p>

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

<p>
The Chaco file name. 
</div>
</div><p>
<a class="anchor" name="0477e1de8026e300770cfa1c313b9be3"></a><!-- doxytag: member="vtkChacoGraphReader::SetFileName" ref="0477e1de8026e300770cfa1c313b9be3" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkChacoGraphReader::SetFileName           </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>
The Chaco file name. 
</div>
</div><p>
<a class="anchor" name="035099f1ee16aa2a899d3b66a80bb353"></a><!-- doxytag: member="vtkChacoGraphReader::RequestData" ref="035099f1ee16aa2a899d3b66a80bb353" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkChacoGraphReader::RequestData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname"> <em>request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname"> <em>inputVector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"> <em>outputVector</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is called by the superclass. This is the method you should override. 
<p>Reimplemented from <a class="el" href="a01777.html#3c99f3e5912cd6d56cab69ddc7bae579">vtkUndirectedGraphAlgorithm</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="a04792.html">vtkChacoGraphReader.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:56:30 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>