<!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: vtkUnstructuredGridWriter 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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkUnstructuredGridWriter Class Reference</h1><!-- doxytag: class="vtkUnstructuredGridWriter" --><!-- doxytag: inherits="vtkDataWriter" --><code>#include <<a class="el" href="a05003.html">vtkUnstructuredGridWriter.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkUnstructuredGridWriter:</div> <div class="dynsection"> <p><center><img src="a15661.png" border="0" usemap="#a15662" alt="Inheritance graph"></center> <map name="a15662"> <area shape="rect" href="a00393.html" title="helper class for objects that write vtk data files" alt="" coords="43,304,149,331"><area shape="rect" href="a01891.html" title="abstract class to write data to file(s)" alt="" coords="57,230,135,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="47,155,145,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="56,80,136,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="41,6,151,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkUnstructuredGridWriter:</div> <div class="dynsection"> <p><center><img src="a15663.png" border="0" usemap="#a15664" alt="Collaboration graph"></center> <map name="a15664"> <area shape="rect" href="a00393.html" title="helper class for objects that write vtk data files" alt="" coords="679,576,785,603"><area shape="rect" href="a01891.html" title="abstract class to write data to file(s)" alt="" coords="693,499,771,525"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="579,381,677,408"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="372,499,471,525"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="397,173,477,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="141,264,251,291"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="203,5,312,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="192,83,323,109"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="556,83,665,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="a15665.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> write vtk unstructured grid data file <p> <a class="el" href="a01809.html" title="write vtk unstructured grid data file">vtkUnstructuredGridWriter</a> is a source object that writes ASCII or binary unstructured grid data files in vtk format. See text for format details. <dl class="warning" compact><dt><b>Warning:</b></dt><dd>Binary files written on one system may not be readable on other systems.</dd></dl> <dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_17.html#c2_vtk_t_vtkUnstructuredGridWriter">vtkUnstructuredGridWriter (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a05003.html#l00033">33</a> of file <a class="el" href="a05003.html">vtkUnstructuredGridWriter.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="a00393.html">vtkDataWriter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#419db3400ef90e359f229b4b8ae2571d">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 * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#9ab0bd66c6eed7f6ba87c1e902445467">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#c841e9ac04d204505f2e7ec271d08f22">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#f1c855dea509d4d9a4bdb50698902ea4">PrintSelf</a> (ostream &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"><a class="el" href="a01789.html">vtkUnstructuredGrid</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#83c420726435ee27b6f036e0e20f15ea">GetInput</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01789.html">vtkUnstructuredGrid</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#4d9315f184160d8910f48b35d1dc7bef">GetInput</a> (int port)</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="a01809.html">vtkUnstructuredGridWriter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#8250aa75c3d3bfdc3b065de756b5466b">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#e89e2f5600324af3fbea9ad664d505b7">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01809.html">vtkUnstructuredGridWriter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#6c03bd413913da37a4aa4e512f7fd743">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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#5a40a9f14e201fefa007c87f50a64eb6">vtkUnstructuredGridWriter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#bcd2c7bb612bfb69f932d4f47bb0631d">~vtkUnstructuredGridWriter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#fb0973b53850ae53c081ed95183b3282">WriteData</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01809.html#f385c9d7dff9db641bb74cd50ee1a7c7">FillInputPortInformation</a> (int port, <a class="el" href="a00872.html">vtkInformation</a> *info)</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="419db3400ef90e359f229b4b8ae2571d"></a><!-- doxytag: member="vtkUnstructuredGridWriter::Superclass" ref="419db3400ef90e359f229b4b8ae2571d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a00393.html">vtkDataWriter</a> <a class="el" href="a00393.html">vtkUnstructuredGridWriter::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00393.html#fe9b465bc434e6cb4688211b259ef9d9">vtkDataWriter</a>.</p> <p>Definition at line <a class="el" href="a05003.html#l00037">37</a> of file <a class="el" href="a05003.html">vtkUnstructuredGridWriter.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="5a40a9f14e201fefa007c87f50a64eb6"></a><!-- doxytag: member="vtkUnstructuredGridWriter::vtkUnstructuredGridWriter" ref="5a40a9f14e201fefa007c87f50a64eb6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkUnstructuredGridWriter::vtkUnstructuredGridWriter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a05003.html#l00047">47</a> of file <a class="el" href="a05003.html">vtkUnstructuredGridWriter.h</a>.</p> </div> </div><p> <a class="anchor" name="bcd2c7bb612bfb69f932d4f47bb0631d"></a><!-- doxytag: member="vtkUnstructuredGridWriter::~vtkUnstructuredGridWriter" ref="bcd2c7bb612bfb69f932d4f47bb0631d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkUnstructuredGridWriter::~vtkUnstructuredGridWriter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a05003.html#l00048">48</a> of file <a class="el" href="a05003.html">vtkUnstructuredGridWriter.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="8250aa75c3d3bfdc3b065de756b5466b"></a><!-- doxytag: member="vtkUnstructuredGridWriter::New" ref="8250aa75c3d3bfdc3b065de756b5466b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01809.html">vtkUnstructuredGridWriter</a>* vtkUnstructuredGridWriter::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="a00393.html#90261b328a74f3f5a1daf515fb6f9cd1">vtkDataWriter</a>.</p> </div> </div><p> <a class="anchor" name="9ab0bd66c6eed7f6ba87c1e902445467"></a><!-- doxytag: member="vtkUnstructuredGridWriter::GetClassName" ref="9ab0bd66c6eed7f6ba87c1e902445467" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkUnstructuredGridWriter::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00393.html#bef1afe605d22327dbcbf2eb61a975a7">vtkDataWriter</a>.</p> </div> </div><p> <a class="anchor" name="e89e2f5600324af3fbea9ad664d505b7"></a><!-- doxytag: member="vtkUnstructuredGridWriter::IsTypeOf" ref="e89e2f5600324af3fbea9ad664d505b7" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkUnstructuredGridWriter::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </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="a00393.html#afc9241a2bb6a13dd2928688036a2b37">vtkDataWriter</a>.</p> </div> </div><p> <a class="anchor" name="c841e9ac04d204505f2e7ec271d08f22"></a><!-- doxytag: member="vtkUnstructuredGridWriter::IsA" ref="c841e9ac04d204505f2e7ec271d08f22" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkUnstructuredGridWriter::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </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="a00393.html#30d179cfddbdbdbeafec73eed2a78d9a">vtkDataWriter</a>.</p> </div> </div><p> <a class="anchor" name="6c03bd413913da37a4aa4e512f7fd743"></a><!-- doxytag: member="vtkUnstructuredGridWriter::SafeDownCast" ref="6c03bd413913da37a4aa4e512f7fd743" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01809.html">vtkUnstructuredGridWriter</a>* vtkUnstructuredGridWriter::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00393.html#33818d3abd31dade0bbb70ab747e3793">vtkDataWriter</a>.</p> </div> </div><p> <a class="anchor" name="f1c855dea509d4d9a4bdb50698902ea4"></a><!-- doxytag: member="vtkUnstructuredGridWriter::PrintSelf" ref="f1c855dea509d4d9a4bdb50698902ea4" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkUnstructuredGridWriter::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </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> </td> <td class="paramname"> <em>indent</em></td><td> </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="a00393.html#05e8aedddc9b7ee4900b3f0d8f0c99ac">vtkDataWriter</a>.</p> </div> </div><p> <a class="anchor" name="83c420726435ee27b6f036e0e20f15ea"></a><!-- doxytag: member="vtkUnstructuredGridWriter::GetInput" ref="83c420726435ee27b6f036e0e20f15ea" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a01789.html">vtkUnstructuredGrid</a>* vtkUnstructuredGridWriter::GetInput </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Get the input to this writer. <p>Reimplemented from <a class="el" href="a01891.html#6b5a81ff411ac4cbd30a705ba9dc38e1">vtkWriter</a>.</p> </div> </div><p> <a class="anchor" name="4d9315f184160d8910f48b35d1dc7bef"></a><!-- doxytag: member="vtkUnstructuredGridWriter::GetInput" ref="4d9315f184160d8910f48b35d1dc7bef" args="(int port)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a01789.html">vtkUnstructuredGrid</a>* vtkUnstructuredGridWriter::GetInput </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>port</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Get the input to this writer. <p>Reimplemented from <a class="el" href="a01891.html#beb0d8a002f4e1212210191572a614bd">vtkWriter</a>.</p> </div> </div><p> <a class="anchor" name="fb0973b53850ae53c081ed95183b3282"></a><!-- doxytag: member="vtkUnstructuredGridWriter::WriteData" ref="fb0973b53850ae53c081ed95183b3282" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkUnstructuredGridWriter::WriteData </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00393.html#2941c9ece55e4435a7db7b495f842109">vtkDataWriter</a>.</p> </div> </div><p> <a class="anchor" name="f385c9d7dff9db641bb74cd50ee1a7c7"></a><!-- doxytag: member="vtkUnstructuredGridWriter::FillInputPortInformation" ref="f385c9d7dff9db641bb74cd50ee1a7c7" args="(int port, vtkInformation *info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkUnstructuredGridWriter::FillInputPortInformation </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>port</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> * </td> <td class="paramname"> <em>info</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. <p>Reimplemented from <a class="el" href="a00101.html#aad069877868b9c2e8035a946a5d0538">vtkAlgorithm</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/IO/<a class="el" href="a05003.html">vtkUnstructuredGridWriter.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:43:35 2009 for VTK by <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>