Sophie

Sophie

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

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: vtkCastToConcrete 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>vtkCastToConcrete Class Reference</h1><!-- doxytag: class="vtkCastToConcrete" --><!-- doxytag: inherits="vtkDataSetAlgorithm" --><code>#include &lt;<a class="el" href="a03992.html">vtkCastToConcrete.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkCastToConcrete:</div>
<div class="dynsection">
<p><center><img src="a08450.png" border="0" usemap="#a08451" alt="Inheritance graph"></center>
<map name="a08451">
<area shape="rect" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input." alt="" coords="5,229,152,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="29,155,128,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="39,80,119,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="24,5,133,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkCastToConcrete:</div>
<div class="dynsection">
<p><center><img src="a08452.png" border="0" usemap="#a08453" alt="Collaboration graph"></center>
<map name="a08453">
<area shape="rect" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input." alt="" coords="177,499,324,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="a08454.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
works around type-checking limitations 
<p>
<a class="el" href="a00239.html" title="works around type-checking limitations">vtkCastToConcrete</a> is a filter that works around type-checking limitations in the filter classes. Some filters generate abstract types on output, and cannot be connected to the input of filters requiring a concrete input type. For example, <a class="el" href="a00455.html" title="generate scalars along a specified direction">vtkElevationFilter</a> generates <a class="el" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> for output, and cannot be connected to vtkDecimate, because vtkDecimate requires <a class="el" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> as input. This is true even though (in this example) the input to <a class="el" href="a00455.html" title="generate scalars along a specified direction">vtkElevationFilter</a> is of type <a class="el" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a>, and you know the output of <a class="el" href="a00455.html" title="generate scalars along a specified direction">vtkElevationFilter</a> is the same type as its input.<p>
<a class="el" href="a00239.html" title="works around type-checking limitations">vtkCastToConcrete</a> performs run-time checking to insure that output type is of the right type. An error message will result if you try to cast an input type improperly. Otherwise, the filter performs the appropriate cast and returns the data.<p>
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>You must specify the input before you can get the output. Otherwise an error results.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input.">vtkDataSetAlgorithm</a> <a class="el" href="a01255.html" title="abstract filter class">vtkPointSetToPointSetFilter</a></dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_3.html#c2_vtk_t_vtkCastToConcrete">vtkCastToConcrete (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a03992.html#l00048">48</a> of file <a class="el" href="a03992.html">vtkCastToConcrete.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="a00375.html">vtkDataSetAlgorithm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00239.html#b58f18beabc138ebca29c5785a58d22d">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="a00239.html#00cb30d2c83041a467800faf809ebc09">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="a00239.html#917b82b9575c725fbaeeccadbfba28e4">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="a00239.html#29551571f75f2b50c03c72addf81d401">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="a00239.html">vtkCastToConcrete</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00239.html#008bdd5322056b7c51fb145540045f3d">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="a00239.html#660b7957d5663e5ec8f4ce35bca891c5">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00239.html">vtkCastToConcrete</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00239.html#fe8398acbaa242234bd7f6ebed096e12">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="a00239.html#ef4a1be77ae49f898554f49a628e5c12">vtkCastToConcrete</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00239.html#79fd19aebc464eabbac5984a8fde9bde">~vtkCastToConcrete</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="a00239.html#97388df1bf31bf865eafe8fe1d697ebf">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">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00239.html#149f024ad2cbed74571152d01e66be35">RequestInformation</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>

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

<p>

<p>Reimplemented from <a class="el" href="a00375.html#5b6a74f37b2c42dea75a05209b3e69bc">vtkDataSetAlgorithm</a>.</p>

<p>Definition at line <a class="el" href="a03992.html#l00053">53</a> of file <a class="el" href="a03992.html">vtkCastToConcrete.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ef4a1be77ae49f898554f49a628e5c12"></a><!-- doxytag: member="vtkCastToConcrete::vtkCastToConcrete" ref="ef4a1be77ae49f898554f49a628e5c12" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkCastToConcrete::vtkCastToConcrete           </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="a03992.html#l00057">57</a> of file <a class="el" href="a03992.html">vtkCastToConcrete.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="79fd19aebc464eabbac5984a8fde9bde"></a><!-- doxytag: member="vtkCastToConcrete::~vtkCastToConcrete" ref="79fd19aebc464eabbac5984a8fde9bde" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkCastToConcrete::~vtkCastToConcrete           </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="a03992.html#l00058">58</a> of file <a class="el" href="a03992.html">vtkCastToConcrete.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="008bdd5322056b7c51fb145540045f3d"></a><!-- doxytag: member="vtkCastToConcrete::New" ref="008bdd5322056b7c51fb145540045f3d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00239.html">vtkCastToConcrete</a>* vtkCastToConcrete::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="a00375.html#366c8a9b4e61249c93fd2f7a492de9cb">vtkDataSetAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="00cb30d2c83041a467800faf809ebc09"></a><!-- doxytag: member="vtkCastToConcrete::GetClassName" ref="00cb30d2c83041a467800faf809ebc09" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkCastToConcrete::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="a00375.html#d0ae046484ba6d268bdb67ad536260c8">vtkDataSetAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="660b7957d5663e5ec8f4ce35bca891c5"></a><!-- doxytag: member="vtkCastToConcrete::IsTypeOf" ref="660b7957d5663e5ec8f4ce35bca891c5" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkCastToConcrete::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="a00375.html#f86c68af773c12e38dad90f2afc7579a">vtkDataSetAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="917b82b9575c725fbaeeccadbfba28e4"></a><!-- doxytag: member="vtkCastToConcrete::IsA" ref="917b82b9575c725fbaeeccadbfba28e4" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkCastToConcrete::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="a00375.html#420be20e4ddd9cc9184f09eec0f67a32">vtkDataSetAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="fe8398acbaa242234bd7f6ebed096e12"></a><!-- doxytag: member="vtkCastToConcrete::SafeDownCast" ref="fe8398acbaa242234bd7f6ebed096e12" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00239.html">vtkCastToConcrete</a>* vtkCastToConcrete::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="a00375.html#3ba4f479dbf92dc937f8b6309e16dbea">vtkDataSetAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="29551571f75f2b50c03c72addf81d401"></a><!-- doxytag: member="vtkCastToConcrete::PrintSelf" ref="29551571f75f2b50c03c72addf81d401" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkCastToConcrete::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="a00375.html#399bf1def01568753e290f9cc45d7985">vtkDataSetAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="97388df1bf31bf865eafe8fe1d697ebf"></a><!-- doxytag: member="vtkCastToConcrete::RequestData" ref="97388df1bf31bf865eafe8fe1d697ebf" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkCastToConcrete::RequestData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname">, </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">, </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"></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 within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process. 
<p>Reimplemented from <a class="el" href="a00375.html#49f7d102eea1f3c58aae7281a1b708cc">vtkDataSetAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="149f024ad2cbed74571152d01e66be35"></a><!-- doxytag: member="vtkCastToConcrete::RequestInformation" ref="149f024ad2cbed74571152d01e66be35" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkCastToConcrete::RequestInformation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname">, </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">, </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"></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 within ProcessRequest when a request asks for Information. Typically an algorithm provides whatever lightweight information about its output that it can here without doing any lengthy computations. This happens in the first pass of the pipeline execution. 
<p>Reimplemented from <a class="el" href="a00375.html#bc14b3083747150d3706494dbed47813">vtkDataSetAlgorithm</a>.</p>

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