Sophie

Sophie

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

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: vtkSTLWriter 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>vtkSTLWriter Class Reference</h1><!-- doxytag: class="vtkSTLWriter" --><!-- doxytag: inherits="vtkPolyDataWriter" --><code>#include &lt;<a class="el" href="a04990.html">vtkSTLWriter.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkSTLWriter:</div>
<div class="dynsection">
<p><center><img src="a14738.png" border="0" usemap="#a14739" alt="Inheritance graph"></center>
<map name="a14739">
<area shape="rect" href="a01277.html" title="write vtk polygonal data" alt="" coords="5,379,139,405"><area shape="rect" href="a00393.html" title="helper class for objects that write vtk data files" alt="" coords="19,304,125,331"><area shape="rect" href="a01891.html" title="abstract class to write data to file(s)" alt="" coords="33,229,111,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="23,155,121,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="32,80,112,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="17,5,127,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkSTLWriter:</div>
<div class="dynsection">
<p><center><img src="a14740.png" border="0" usemap="#a14741" alt="Collaboration graph"></center>
<map name="a14741">
<area shape="rect" href="a01277.html" title="write vtk polygonal data" alt="" coords="666,654,799,680"><area shape="rect" href="a00393.html" title="helper class for objects that write vtk data files" alt="" coords="679,576,786,603"><area shape="rect" href="a01891.html" title="abstract class to write data to file(s)" alt="" coords="694,499,771,526"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="579,382,678,408"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="372,499,471,526"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="398,174,478,200"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="363,264,512,291"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="142,264,251,291"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="203,6,312,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="6,174,168,200"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="192,83,323,110"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="556,83,666,110"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="192,174,374,200"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a14742.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
write stereo lithography files 
<p>
<a class="el" href="a01609.html" title="write stereo lithography files">vtkSTLWriter</a> writes stereo lithography (.stl) files in either ASCII or binary form. Stereo lithography files only contain triangles. If polygons with more than 3 vertices are present, only the first 3 vertices are written. Use <a class="el" href="a01761.html" title="create triangle polygons from input polygons and triangle strips">vtkTriangleFilter</a> to convert polygons to triangles.<p>
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>Binary files written on one system may not be readable on other systems. <a class="el" href="a01609.html" title="write stereo lithography files">vtkSTLWriter</a> uses VAX or PC byte ordering and swaps bytes on other systems.</dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_15.html#c2_vtk_t_vtkSTLWriter">vtkSTLWriter (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04990.html#l00036">36</a> of file <a class="el" href="a04990.html">vtkSTLWriter.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="a01277.html">vtkPolyDataWriter</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01609.html#3feb2979508e688357ec27bf412f7e7c">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="a01609.html#5ca08ae770935fc6d3d7f94157d3b975">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="a01609.html#208c9b7686c6a08f7de507bb57860954">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01609.html#96a89127555b0387074f28490365bfc5">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</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="a01609.html">vtkSTLWriter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01609.html#1edb984fbad97c023dc9fcc8429a4a58">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="a01609.html#945763decce672c07ae9367ed9ecbd71">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01609.html">vtkSTLWriter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01609.html#eefc093dea2de5bc6e10877ec15e05af">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="a01609.html#82edd97363ea52a3e0f605ebe51f1ca9">vtkSTLWriter</a> ()</td></tr>

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

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01609.html#4f4ffd61a2317f504efd42425552d0cb">WriteBinarySTL</a> (<a class="el" href="a01250.html">vtkPoints</a> *pts, <a class="el" href="a00242.html">vtkCellArray</a> *polys)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01609.html#f59e4234459f14d0d2bbbbe6194a16dd">WriteAsciiSTL</a> (<a class="el" href="a01250.html">vtkPoints</a> *pts, <a class="el" href="a00242.html">vtkCellArray</a> *polys)</td></tr>

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

<p>

<p>Reimplemented from <a class="el" href="a01277.html#908aed54c45145d6ae2a1b631346c00c">vtkPolyDataWriter</a>.</p>

<p>Definition at line <a class="el" href="a04990.html#l00040">40</a> of file <a class="el" href="a04990.html">vtkSTLWriter.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="82edd97363ea52a3e0f605ebe51f1ca9"></a><!-- doxytag: member="vtkSTLWriter::vtkSTLWriter" ref="82edd97363ea52a3e0f605ebe51f1ca9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkSTLWriter::vtkSTLWriter           </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="bf30408cd5cbf7a08377f8dd70accb9a"></a><!-- doxytag: member="vtkSTLWriter::~vtkSTLWriter" ref="bf30408cd5cbf7a08377f8dd70accb9a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkSTLWriter::~vtkSTLWriter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04990.html#l00045">45</a> of file <a class="el" href="a04990.html">vtkSTLWriter.h</a>.</p>

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

<p>
Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates. 
<p>Reimplemented from <a class="el" href="a01277.html#12d7b56628c38ad812f1425fae4a1ccd">vtkPolyDataWriter</a>.</p>

</div>
</div><p>
<a class="anchor" name="5ca08ae770935fc6d3d7f94157d3b975"></a><!-- doxytag: member="vtkSTLWriter::GetClassName" ref="5ca08ae770935fc6d3d7f94157d3b975" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkSTLWriter::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="a01277.html#12b440cedf31b6b41aace7cd5784b558">vtkPolyDataWriter</a>.</p>

</div>
</div><p>
<a class="anchor" name="945763decce672c07ae9367ed9ecbd71"></a><!-- doxytag: member="vtkSTLWriter::IsTypeOf" ref="945763decce672c07ae9367ed9ecbd71" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkSTLWriter::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="a01277.html#00dd8bb8ee474d7fd89cacf1fe395a69">vtkPolyDataWriter</a>.</p>

</div>
</div><p>
<a class="anchor" name="208c9b7686c6a08f7de507bb57860954"></a><!-- doxytag: member="vtkSTLWriter::IsA" ref="208c9b7686c6a08f7de507bb57860954" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkSTLWriter::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="a01277.html#2ac2b609f02af033da6cb565ae5b1141">vtkPolyDataWriter</a>.</p>

</div>
</div><p>
<a class="anchor" name="eefc093dea2de5bc6e10877ec15e05af"></a><!-- doxytag: member="vtkSTLWriter::SafeDownCast" ref="eefc093dea2de5bc6e10877ec15e05af" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01609.html">vtkSTLWriter</a>* vtkSTLWriter::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="a01277.html#d0070739a9eba3dc0e50a56ddcae7981">vtkPolyDataWriter</a>.</p>

</div>
</div><p>
<a class="anchor" name="96a89127555b0387074f28490365bfc5"></a><!-- doxytag: member="vtkSTLWriter::PrintSelf" ref="96a89127555b0387074f28490365bfc5" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkSTLWriter::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="a01277.html#9bc9317ca5fdf8ae70f549c3e4059e68">vtkPolyDataWriter</a>.</p>

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

<p>

<p>Reimplemented from <a class="el" href="a01277.html#8f54eeac33432c35d41d2796f05ac560">vtkPolyDataWriter</a>.</p>

</div>
</div><p>
<a class="anchor" name="4f4ffd61a2317f504efd42425552d0cb"></a><!-- doxytag: member="vtkSTLWriter::WriteBinarySTL" ref="4f4ffd61a2317f504efd42425552d0cb" args="(vtkPoints *pts, vtkCellArray *polys)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkSTLWriter::WriteBinarySTL           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01250.html">vtkPoints</a> *&nbsp;</td>
          <td class="paramname"> <em>pts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00242.html">vtkCellArray</a> *&nbsp;</td>
          <td class="paramname"> <em>polys</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="f59e4234459f14d0d2bbbbe6194a16dd"></a><!-- doxytag: member="vtkSTLWriter::WriteAsciiSTL" ref="f59e4234459f14d0d2bbbbe6194a16dd" args="(vtkPoints *pts, vtkCellArray *polys)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkSTLWriter::WriteAsciiSTL           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01250.html">vtkPoints</a> *&nbsp;</td>
          <td class="paramname"> <em>pts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00242.html">vtkCellArray</a> *&nbsp;</td>
          <td class="paramname"> <em>polys</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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