<!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: vtkRectilinearGridWriter 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>vtkRectilinearGridWriter Class Reference</h1><!-- doxytag: class="vtkRectilinearGridWriter" --><!-- doxytag: inherits="vtkDataWriter" --><code>#include <<a class="el" href="a04975.html">vtkRectilinearGridWriter.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkRectilinearGridWriter:</div> <div class="dynsection"> <p><center><img src="a14073.png" border="0" usemap="#a14074" alt="Inheritance graph"></center> <map name="a14074"> <area shape="rect" href="a00393.html" title="helper class for objects that write vtk data files" alt="" coords="36,304,143,331"><area shape="rect" href="a01891.html" title="abstract class to write data to file(s)" alt="" coords="51,230,128,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="40,155,139,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="50,80,130,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="35,6,144,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkRectilinearGridWriter:</div> <div class="dynsection"> <p><center><img src="a14075.png" border="0" usemap="#a14076" alt="Collaboration graph"></center> <map name="a14076"> <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="a14077.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> write vtk rectilinear grid data file <p> <a class="el" href="a01469.html" title="write vtk rectilinear grid data file">vtkRectilinearGridWriter</a> is a source object that writes ASCII or binary rectilinear grid data files in vtk format. See text for format details.<p> <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_14.html#c2_vtk_t_vtkRectilinearGridWriter">vtkRectilinearGridWriter (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a04975.html#l00035">35</a> of file <a class="el" href="a04975.html">vtkRectilinearGridWriter.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="a01469.html#00d2ad346674742adc2c2c28bb7ae60e">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="a01469.html#b8788a538230ce0db3bb038b6a6470be">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="a01469.html#862c55baa665c87bedd07531b91cad7f">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="a01469.html#de5ea4375f8f29887ac44843a5766283">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="a01460.html">vtkRectilinearGrid</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01469.html#2b49f0b12bb5f87617a6024396ba8fb4">GetInput</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01460.html">vtkRectilinearGrid</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01469.html#86e9b4c009e632845241fce05869204b">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="a01469.html">vtkRectilinearGridWriter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01469.html#dfbf5e20bfc798fa9280e3d64d89b334">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="a01469.html#31e88361c6cb12b8de410619ebb0122f">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01469.html">vtkRectilinearGridWriter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01469.html#02f4d5fee120713c8b94f876840a4514">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="a01469.html#ce5b00f8fb920fd4d78b3a21f12eee77">vtkRectilinearGridWriter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01469.html#510556cb0e74709a558b79bca2e801b9">~vtkRectilinearGridWriter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01469.html#9565776e069f1995328a71b4eafc613d">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="a01469.html#f6a83a2484ca182a331c39a92c0ece80">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="00d2ad346674742adc2c2c28bb7ae60e"></a><!-- doxytag: member="vtkRectilinearGridWriter::Superclass" ref="00d2ad346674742adc2c2c28bb7ae60e" 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">vtkRectilinearGridWriter::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="a04975.html#l00039">39</a> of file <a class="el" href="a04975.html">vtkRectilinearGridWriter.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="ce5b00f8fb920fd4d78b3a21f12eee77"></a><!-- doxytag: member="vtkRectilinearGridWriter::vtkRectilinearGridWriter" ref="ce5b00f8fb920fd4d78b3a21f12eee77" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkRectilinearGridWriter::vtkRectilinearGridWriter </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="a04975.html#l00049">49</a> of file <a class="el" href="a04975.html">vtkRectilinearGridWriter.h</a>.</p> </div> </div><p> <a class="anchor" name="510556cb0e74709a558b79bca2e801b9"></a><!-- doxytag: member="vtkRectilinearGridWriter::~vtkRectilinearGridWriter" ref="510556cb0e74709a558b79bca2e801b9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkRectilinearGridWriter::~vtkRectilinearGridWriter </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="a04975.html#l00050">50</a> of file <a class="el" href="a04975.html">vtkRectilinearGridWriter.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="dfbf5e20bfc798fa9280e3d64d89b334"></a><!-- doxytag: member="vtkRectilinearGridWriter::New" ref="dfbf5e20bfc798fa9280e3d64d89b334" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01469.html">vtkRectilinearGridWriter</a>* vtkRectilinearGridWriter::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="b8788a538230ce0db3bb038b6a6470be"></a><!-- doxytag: member="vtkRectilinearGridWriter::GetClassName" ref="b8788a538230ce0db3bb038b6a6470be" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkRectilinearGridWriter::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="31e88361c6cb12b8de410619ebb0122f"></a><!-- doxytag: member="vtkRectilinearGridWriter::IsTypeOf" ref="31e88361c6cb12b8de410619ebb0122f" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkRectilinearGridWriter::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="862c55baa665c87bedd07531b91cad7f"></a><!-- doxytag: member="vtkRectilinearGridWriter::IsA" ref="862c55baa665c87bedd07531b91cad7f" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkRectilinearGridWriter::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="02f4d5fee120713c8b94f876840a4514"></a><!-- doxytag: member="vtkRectilinearGridWriter::SafeDownCast" ref="02f4d5fee120713c8b94f876840a4514" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01469.html">vtkRectilinearGridWriter</a>* vtkRectilinearGridWriter::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="de5ea4375f8f29887ac44843a5766283"></a><!-- doxytag: member="vtkRectilinearGridWriter::PrintSelf" ref="de5ea4375f8f29887ac44843a5766283" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkRectilinearGridWriter::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="2b49f0b12bb5f87617a6024396ba8fb4"></a><!-- doxytag: member="vtkRectilinearGridWriter::GetInput" ref="2b49f0b12bb5f87617a6024396ba8fb4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a01460.html">vtkRectilinearGrid</a>* vtkRectilinearGridWriter::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="86e9b4c009e632845241fce05869204b"></a><!-- doxytag: member="vtkRectilinearGridWriter::GetInput" ref="86e9b4c009e632845241fce05869204b" args="(int port)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a01460.html">vtkRectilinearGrid</a>* vtkRectilinearGridWriter::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="9565776e069f1995328a71b4eafc613d"></a><!-- doxytag: member="vtkRectilinearGridWriter::WriteData" ref="9565776e069f1995328a71b4eafc613d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkRectilinearGridWriter::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="f6a83a2484ca182a331c39a92c0ece80"></a><!-- doxytag: member="vtkRectilinearGridWriter::FillInputPortInformation" ref="f6a83a2484ca182a331c39a92c0ece80" args="(int port, vtkInformation *info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkRectilinearGridWriter::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="a04975.html">vtkRectilinearGridWriter.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:30:44 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>