Sophie

Sophie

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

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: vtkFacetReader 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>vtkFacetReader Class Reference</h1><!-- doxytag: class="vtkFacetReader" --><!-- doxytag: inherits="vtkPolyDataAlgorithm" --><code>#include &lt;<a class="el" href="a04617.html">vtkFacetReader.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkFacetReader:</div>
<div class="dynsection">
<p><center><img src="a09763.png" border="0" usemap="#a09764" alt="Inheritance graph"></center>
<map name="a09764">
<area shape="rect" href="a01261.html" title="Superclass for algorithms that produce only polydata as output." alt="" coords="5,229,160,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="33,155,132,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="43,80,123,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="28,5,137,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkFacetReader:</div>
<div class="dynsection">
<p><center><img src="a09765.png" border="0" usemap="#a09766" alt="Collaboration graph"></center>
<map name="a09766">
<area shape="rect" href="a01261.html" title="Superclass for algorithms that produce only polydata as output." alt="" coords="173,499,328,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="a09767.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
reads a dataset in Facet format 
<p>
<a class="el" href="a00528.html" title="reads a dataset in Facet format">vtkFacetReader</a> creates a poly data dataset. It reads ASCII files stored in Facet format<p>
The facet format looks like this: FACET FILE ... nparts Part 1 name 0 npoints 0 0 p1x p1y p1z p2x p2y p2z ... 1 Part 1 name ncells npointspercell p1c1 p2c1 p3c1 ... pnc1 materialnum partnum p1c2 p2c2 p3c2 ... pnc2 materialnum partnum ...<p>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_5.html#c2_vtk_t_vtkFacetReader">vtkFacetReader (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04617.html#l00046">46</a> of file <a class="el" href="a04617.html">vtkFacetReader.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="a01261.html">vtkPolyDataAlgorithm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00528.html#94cf0976953e69b000612a6eaeabe980">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="a00528.html#4fffc4fd0670d0f578d8ba754ff28548">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="a00528.html#6d2a24a338b1983b1514508b43b88c55">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="a00528.html#31764b18125a835b94013836f81dce0b">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="a00528.html#53edbfeecb1fe9e748c798a8f55a8d11">SetFileName</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="a00528.html#c31ccbdad2831a4c42f98c3b42afcf9a">GetFileName</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 <a class="el" href="a00528.html">vtkFacetReader</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00528.html#b04ac5da10ea72d05320693e5a238045">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="a00528.html#8a161dced0190a4a0d00e322196361ac">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00528.html">vtkFacetReader</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00528.html#e097ce6ad1f7b880d823e0bec5ea4065">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="a00528.html#4500e542c348460425ded8a89abf2f94">vtkFacetReader</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00528.html#02900e6c011f820c6294d17eb2518615">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>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00528.html#9e7c72f570e1aa301e9770acc38e09c6">FileName</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="94cf0976953e69b000612a6eaeabe980"></a><!-- doxytag: member="vtkFacetReader::Superclass" ref="94cf0976953e69b000612a6eaeabe980" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01261.html">vtkPolyDataAlgorithm</a> <a class="el" href="a01261.html">vtkFacetReader::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01261.html#0ef1960e1f3d6980b058ab47b5475b91">vtkPolyDataAlgorithm</a>.</p>

<p>Definition at line <a class="el" href="a04617.html#l00050">50</a> of file <a class="el" href="a04617.html">vtkFacetReader.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="4500e542c348460425ded8a89abf2f94"></a><!-- doxytag: member="vtkFacetReader::vtkFacetReader" ref="4500e542c348460425ded8a89abf2f94" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkFacetReader::vtkFacetReader           </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="f6b8292be8f2dc2770fe51534d891845"></a><!-- doxytag: member="vtkFacetReader::~vtkFacetReader" ref="f6b8292be8f2dc2770fe51534d891845" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkFacetReader::~vtkFacetReader           </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="b04ac5da10ea72d05320693e5a238045"></a><!-- doxytag: member="vtkFacetReader::New" ref="b04ac5da10ea72d05320693e5a238045" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00528.html">vtkFacetReader</a>* vtkFacetReader::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="a01261.html#cf785ac526132296ff652c636f713b5e">vtkPolyDataAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="4fffc4fd0670d0f578d8ba754ff28548"></a><!-- doxytag: member="vtkFacetReader::GetClassName" ref="4fffc4fd0670d0f578d8ba754ff28548" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkFacetReader::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="a01261.html#117691a3be177e85a0eb7e54b011c9de">vtkPolyDataAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="8a161dced0190a4a0d00e322196361ac"></a><!-- doxytag: member="vtkFacetReader::IsTypeOf" ref="8a161dced0190a4a0d00e322196361ac" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkFacetReader::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="a01261.html#6e4df93069945e2df17a891c6f4cd557">vtkPolyDataAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="6d2a24a338b1983b1514508b43b88c55"></a><!-- doxytag: member="vtkFacetReader::IsA" ref="6d2a24a338b1983b1514508b43b88c55" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkFacetReader::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="a01261.html#b0133191c934f596dac2a21fd5a8da20">vtkPolyDataAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="e097ce6ad1f7b880d823e0bec5ea4065"></a><!-- doxytag: member="vtkFacetReader::SafeDownCast" ref="e097ce6ad1f7b880d823e0bec5ea4065" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00528.html">vtkFacetReader</a>* vtkFacetReader::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="a01261.html#3a09aba4f394c174457d17e9bc08af04">vtkPolyDataAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="31764b18125a835b94013836f81dce0b"></a><!-- doxytag: member="vtkFacetReader::PrintSelf" ref="31764b18125a835b94013836f81dce0b" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkFacetReader::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="a01261.html#e6d59a63261b0c56f8f473984ae0e1b6">vtkPolyDataAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="53edbfeecb1fe9e748c798a8f55a8d11"></a><!-- doxytag: member="vtkFacetReader::SetFileName" ref="53edbfeecb1fe9e748c798a8f55a8d11" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkFacetReader::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>
Specify file name of Facet datafile to read 
</div>
</div><p>
<a class="anchor" name="c31ccbdad2831a4c42f98c3b42afcf9a"></a><!-- doxytag: member="vtkFacetReader::GetFileName" ref="c31ccbdad2831a4c42f98c3b42afcf9a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual char* vtkFacetReader::GetFileName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify file name of Facet datafile to read 
</div>
</div><p>
<a class="anchor" name="02900e6c011f820c6294d17eb2518615"></a><!-- doxytag: member="vtkFacetReader::RequestData" ref="02900e6c011f820c6294d17eb2518615" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkFacetReader::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="a01261.html#6b5a43ab1f9bbcb368c7dc83e4afe068">vtkPolyDataAlgorithm</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="9e7c72f570e1aa301e9770acc38e09c6"></a><!-- doxytag: member="vtkFacetReader::FileName" ref="9e7c72f570e1aa301e9770acc38e09c6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="a00528.html#9e7c72f570e1aa301e9770acc38e09c6">vtkFacetReader::FileName</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04617.html#l00065">65</a> of file <a class="el" href="a04617.html">vtkFacetReader.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Hybrid/<a class="el" href="a04617.html">vtkFacetReader.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:02:49 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>