<!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: vtkTableToTreeFilter 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>vtkTableToTreeFilter Class Reference</h1><!-- doxytag: class="vtkTableToTreeFilter" --><!-- doxytag: inherits="vtkTreeAlgorithm" --><code>#include <<a class="el" href="a04863.html">vtkTableToTreeFilter.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkTableToTreeFilter:</div> <div class="dynsection"> <p><center><img src="a14998.png" border="0" usemap="#a14999" alt="Inheritance graph"></center> <map name="a14999"> <area shape="rect" href="a01742.html" title="Superclass for algorithms that produce only Tree as output." alt="" coords="17,229,143,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="31,155,129,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="40,80,120,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="25,5,135,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkTableToTreeFilter:</div> <div class="dynsection"> <p><center><img src="a15000.png" border="0" usemap="#a15001" alt="Collaboration graph"></center> <map name="a15001"> <area shape="rect" href="a01742.html" title="Superclass for algorithms that produce only Tree as output." alt="" coords="188,499,313,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="a15002.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Filter that converts a <a class="el" href="a01657.html" title="A table, which contains similar-typed columns of data.">vtkTable</a> to a <a class="el" href="a01741.html" title="A rooted tree data structure.">vtkTree</a>. <p> <a class="el" href="a01665.html" title="Filter that converts a vtkTable to a vtkTree.">vtkTableToTreeFilter</a> is a filter for converting a <a class="el" href="a01657.html" title="A table, which contains similar-typed columns of data.">vtkTable</a> data structure into a <a class="el" href="a01741.html" title="A rooted tree data structure.">vtkTree</a> datastructure. Currently, this will convert the table into a star, with each row of the table as a child of a new root node. The columns of the table are passed as node fields of the tree.<p> <dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_16.html#c2_vtk_t_vtkTableToTreeFilter">vtkTableToTreeFilter (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a04863.html#l00039">39</a> of file <a class="el" href="a04863.html">vtkTableToTreeFilter.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="a01742.html">vtkTreeAlgorithm</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01665.html#5e636976b4e41d10648a12fe375feb65">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="a01665.html#ab866b0dba5719977c8fed514317d681">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="a01665.html#55f4b48b898f30246c7aecc6a33c7c7a">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="a01665.html#1ac79074d249e99254f9e5ebdda57a4c">PrintSelf</a> (ostream &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="a01665.html">vtkTableToTreeFilter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01665.html#3ca171dbd7f4f5004f97f49cb6349ec1">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="a01665.html#bb81124e87854d2fa05bf99d81e288a0">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01665.html">vtkTableToTreeFilter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01665.html#0fe1c2823f537084e2f2c4a43dfa3d9e">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="a01665.html#60cfa4f101cfd8aefbafb19e79ea0cbb">vtkTableToTreeFilter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01665.html#b33fd3354e90e90ee552936fe0789507">~vtkTableToTreeFilter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01665.html#786711676b02feb89663038323ee7d30">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 class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01665.html#e034a9477145355339426ed6f1772c74">FillOutputPortInformation</a> (int vtkNotUsed(port), <a class="el" href="a00872.html">vtkInformation</a> *info)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01665.html#d0d30fa921f62de470aadbf4b8a90260">FillInputPortInformation</a> (int vtkNotUsed(port), <a class="el" href="a00872.html">vtkInformation</a> *info)</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="5e636976b4e41d10648a12fe375feb65"></a><!-- doxytag: member="vtkTableToTreeFilter::Superclass" ref="5e636976b4e41d10648a12fe375feb65" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01742.html">vtkTreeAlgorithm</a> <a class="el" href="a01742.html">vtkTableToTreeFilter::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01742.html#32ee1ca1008ec7fbc7455e3d64defd63">vtkTreeAlgorithm</a>.</p> <p>Definition at line <a class="el" href="a04863.html#l00043">43</a> of file <a class="el" href="a04863.html">vtkTableToTreeFilter.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="60cfa4f101cfd8aefbafb19e79ea0cbb"></a><!-- doxytag: member="vtkTableToTreeFilter::vtkTableToTreeFilter" ref="60cfa4f101cfd8aefbafb19e79ea0cbb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkTableToTreeFilter::vtkTableToTreeFilter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b33fd3354e90e90ee552936fe0789507"></a><!-- doxytag: member="vtkTableToTreeFilter::~vtkTableToTreeFilter" ref="b33fd3354e90e90ee552936fe0789507" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkTableToTreeFilter::~vtkTableToTreeFilter </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="3ca171dbd7f4f5004f97f49cb6349ec1"></a><!-- doxytag: member="vtkTableToTreeFilter::New" ref="3ca171dbd7f4f5004f97f49cb6349ec1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01665.html">vtkTableToTreeFilter</a>* vtkTableToTreeFilter::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="a01742.html#4624ea23784cb86f58f319f6e459c3bf">vtkTreeAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="ab866b0dba5719977c8fed514317d681"></a><!-- doxytag: member="vtkTableToTreeFilter::GetClassName" ref="ab866b0dba5719977c8fed514317d681" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkTableToTreeFilter::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="a01742.html#21a2cc71c3296e4d173e1682087ee806">vtkTreeAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="bb81124e87854d2fa05bf99d81e288a0"></a><!-- doxytag: member="vtkTableToTreeFilter::IsTypeOf" ref="bb81124e87854d2fa05bf99d81e288a0" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkTableToTreeFilter::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="a01742.html#1e8c11ef997dd86dcab65a5c424a4ded">vtkTreeAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="55f4b48b898f30246c7aecc6a33c7c7a"></a><!-- doxytag: member="vtkTableToTreeFilter::IsA" ref="55f4b48b898f30246c7aecc6a33c7c7a" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkTableToTreeFilter::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="a01742.html#29f60e0ce151b9906ffae775bba7963b">vtkTreeAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="0fe1c2823f537084e2f2c4a43dfa3d9e"></a><!-- doxytag: member="vtkTableToTreeFilter::SafeDownCast" ref="0fe1c2823f537084e2f2c4a43dfa3d9e" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01665.html">vtkTableToTreeFilter</a>* vtkTableToTreeFilter::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="a01742.html#654d0f1da4ac96c7f26ac2a969945030">vtkTreeAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="1ac79074d249e99254f9e5ebdda57a4c"></a><!-- doxytag: member="vtkTableToTreeFilter::PrintSelf" ref="1ac79074d249e99254f9e5ebdda57a4c" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkTableToTreeFilter::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="a01742.html#f7e04adecd30eae5b0e2282f0b376e15">vtkTreeAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="786711676b02feb89663038323ee7d30"></a><!-- doxytag: member="vtkTableToTreeFilter::RequestData" ref="786711676b02feb89663038323ee7d30" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int vtkTableToTreeFilter::RequestData </td> <td>(</td> <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> * </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> ** </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> * </td> <td class="paramname"> <em>outputVector</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> This is called by the superclass. This is the method you should override. <p>Reimplemented from <a class="el" href="a01742.html#bb22ffb916ced6eb4a0db98615bb8444">vtkTreeAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="e034a9477145355339426ed6f1772c74"></a><!-- doxytag: member="vtkTableToTreeFilter::FillOutputPortInformation" ref="e034a9477145355339426ed6f1772c74" args="(int vtkNotUsed(port), vtkInformation *info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int vtkTableToTreeFilter::FillOutputPortInformation </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>vtkNotUsed</em>port, </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]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="d0d30fa921f62de470aadbf4b8a90260"></a><!-- doxytag: member="vtkTableToTreeFilter::FillInputPortInformation" ref="d0d30fa921f62de470aadbf4b8a90260" args="(int vtkNotUsed(port), vtkInformation *info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int vtkTableToTreeFilter::FillInputPortInformation </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>vtkNotUsed</em>port, </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]</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/Infovis/<a class="el" href="a04863.html">vtkTableToTreeFilter.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:38:01 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>