Sophie

Sophie

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

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: vtkMergeColumns 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>vtkMergeColumns Class Reference</h1><!-- doxytag: class="vtkMergeColumns" --><!-- doxytag: inherits="vtkTableAlgorithm" --><code>#include &lt;<a class="el" href="a04827.html">vtkMergeColumns.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkMergeColumns:</div>
<div class="dynsection">
<p><center><img src="a12026.png" border="0" usemap="#a12027" alt="Inheritance graph"></center>
<map name="a12027">
<area shape="rect" href="a01658.html" title="Superclass for algorithms that produce only vtkTables as output." alt="" coords="5,229,136,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="21,155,120,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="31,80,111,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="16,5,125,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkMergeColumns:</div>
<div class="dynsection">
<p><center><img src="a12028.png" border="0" usemap="#a12029" alt="Collaboration graph"></center>
<map name="a12029">
<area shape="rect" href="a01658.html" title="Superclass for algorithms that produce only vtkTables as output." alt="" coords="185,499,316,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="a12030.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
merge two columns into a single column 
<p>
<a class="el" href="a01008.html" title="merge two columns into a single column">vtkMergeColumns</a> replaces two columns in a table with a single column containing data in both columns. The columns are set using<p>
SetInputArrayToProcess(0, 0, 0, <a class="el" href="a00362.html#54fdf8345a01c89e618feca3c10002b1d00cf291bf0e046fea72186d8d33bc1e">vtkDataObject::FIELD_ASSOCIATION_ROWS</a>, "col1")<p>
and<p>
SetInputArrayToProcess(1, 0, 0, <a class="el" href="a00362.html#54fdf8345a01c89e618feca3c10002b1d00cf291bf0e046fea72186d8d33bc1e">vtkDataObject::FIELD_ASSOCIATION_ROWS</a>, "col2")<p>
where "col1" and "col2" are the names of the columns to merge. The user may also specify the name of the merged column. The arrays must be of the same type. If the arrays are numeric, the values are summed in the merged column. If the arrays are strings, the values are concatenated. The strings are separated by a space if they are both nonempty. 
<p>Definition at line <a class="el" href="a04827.html#l00046">46</a> of file <a class="el" href="a04827.html">vtkMergeColumns.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="a01658.html">vtkTableAlgorithm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01008.html#b42e40e93bb5ed29dd9e7a8380e9612d">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="a01008.html#03c0703617518d0af3f06f370c9996dc">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="a01008.html#dadd8de0dc6cf184d344a415835cd691">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="a01008.html#cd7723590829cf9737d93bfc4ae3080a">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="a01008.html#5a1fc1631d690c296962b64f7485c426">SetMergedColumnName</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="a01008.html#4449fe4262b26fff0f6dbc76dad02c3d">GetMergedColumnName</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="a01008.html">vtkMergeColumns</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01008.html#cdb76a7e484c0c704978bfc5ea4249fe">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="a01008.html#13ccddc995c56d65e7eb24d39a9976c3">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01008.html">vtkMergeColumns</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01008.html#3fe74b4ba7abc4058be2c4de79250fc9">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="a01008.html#90eb623d82e8d678c1818eab98cdf98d">vtkMergeColumns</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01008.html#69deae8fd6e9ee56b6c6e9e6a97d6ec5">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="a01008.html#5d96098190d01d5a54537609d4beffba">MergedColumnName</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="b42e40e93bb5ed29dd9e7a8380e9612d"></a><!-- doxytag: member="vtkMergeColumns::Superclass" ref="b42e40e93bb5ed29dd9e7a8380e9612d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01658.html">vtkTableAlgorithm</a> <a class="el" href="a01658.html">vtkMergeColumns::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01658.html#e71eff4b26bf9f313690008c05fc3263">vtkTableAlgorithm</a>.</p>

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

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="90eb623d82e8d678c1818eab98cdf98d"></a><!-- doxytag: member="vtkMergeColumns::vtkMergeColumns" ref="90eb623d82e8d678c1818eab98cdf98d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkMergeColumns::vtkMergeColumns           </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="201e5f54cb9689c381eff5d5e6c1b29b"></a><!-- doxytag: member="vtkMergeColumns::~vtkMergeColumns" ref="201e5f54cb9689c381eff5d5e6c1b29b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkMergeColumns::~vtkMergeColumns           </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="cdb76a7e484c0c704978bfc5ea4249fe"></a><!-- doxytag: member="vtkMergeColumns::New" ref="cdb76a7e484c0c704978bfc5ea4249fe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01008.html">vtkMergeColumns</a>* vtkMergeColumns::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="a01658.html#1e8db94a40b1fa7946147f5b8322c13a">vtkTableAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="03c0703617518d0af3f06f370c9996dc"></a><!-- doxytag: member="vtkMergeColumns::GetClassName" ref="03c0703617518d0af3f06f370c9996dc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkMergeColumns::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="a01658.html#a2bc407279f13174f55d8226b1cb69b9">vtkTableAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="13ccddc995c56d65e7eb24d39a9976c3"></a><!-- doxytag: member="vtkMergeColumns::IsTypeOf" ref="13ccddc995c56d65e7eb24d39a9976c3" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkMergeColumns::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="a01658.html#6c1959af90dc7bdd9180e67d73c602a5">vtkTableAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="dadd8de0dc6cf184d344a415835cd691"></a><!-- doxytag: member="vtkMergeColumns::IsA" ref="dadd8de0dc6cf184d344a415835cd691" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkMergeColumns::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="a01658.html#089c6101c9eda87d65dbb946f4e211ad">vtkTableAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="3fe74b4ba7abc4058be2c4de79250fc9"></a><!-- doxytag: member="vtkMergeColumns::SafeDownCast" ref="3fe74b4ba7abc4058be2c4de79250fc9" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01008.html">vtkMergeColumns</a>* vtkMergeColumns::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="a01658.html#a9373d392d3f520454d52ef6adaa09e3">vtkTableAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="cd7723590829cf9737d93bfc4ae3080a"></a><!-- doxytag: member="vtkMergeColumns::PrintSelf" ref="cd7723590829cf9737d93bfc4ae3080a" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkMergeColumns::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="a01658.html#368da4c8eb6cbcda080c54addaee1fe5">vtkTableAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="5a1fc1631d690c296962b64f7485c426"></a><!-- doxytag: member="vtkMergeColumns::SetMergedColumnName" ref="5a1fc1631d690c296962b64f7485c426" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkMergeColumns::SetMergedColumnName           </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>
The name to give the merged column created by this filter. 
</div>
</div><p>
<a class="anchor" name="4449fe4262b26fff0f6dbc76dad02c3d"></a><!-- doxytag: member="vtkMergeColumns::GetMergedColumnName" ref="4449fe4262b26fff0f6dbc76dad02c3d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual char* vtkMergeColumns::GetMergedColumnName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The name to give the merged column created by this filter. 
</div>
</div><p>
<a class="anchor" name="69deae8fd6e9ee56b6c6e9e6a97d6ec5"></a><!-- doxytag: member="vtkMergeColumns::RequestData" ref="69deae8fd6e9ee56b6c6e9e6a97d6ec5" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkMergeColumns::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="a01658.html#76ecb5162644ca3bd5bcd900abfa8809">vtkTableAlgorithm</a>.</p>

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

<p>

<p>Definition at line <a class="el" href="a04827.html#l00063">63</a> of file <a class="el" href="a04827.html">vtkMergeColumns.h</a>.</p>

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