<!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: vtkExtractCells 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>vtkExtractCells Class Reference</h1><!-- doxytag: class="vtkExtractCells" --><!-- doxytag: inherits="vtkUnstructuredGridAlgorithm" --><code>#include <<a class="el" href="a04314.html">vtkExtractCells.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkExtractCells:</div> <div class="dynsection"> <p><center><img src="a09623.png" border="0" usemap="#a09624" alt="Inheritance graph"></center> <map name="a09624"> <area shape="rect" href="a01790.html" title="Superclass for algorithms that produce only unstructured grid as output." alt="" coords="5,229,208,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="57,155,156,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="67,80,147,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="52,5,161,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkExtractCells:</div> <div class="dynsection"> <p><center><img src="a09625.png" border="0" usemap="#a09626" alt="Collaboration graph"></center> <map name="a09626"> <area shape="rect" href="a01790.html" title="Superclass for algorithms that produce only unstructured grid as output." alt="" coords="149,499,352,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="a09627.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> subset a <a class="el" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> to create a <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> <p> Given a <a class="el" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> and a list of cell Ids, create a <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> composed of these cells. If the cell list is empty when <a class="el" href="a00499.html" title="subset a vtkDataSet to create a vtkUnstructuredGrid">vtkExtractCells</a> executes, it will set up the ugrid, point and cell arrays, with no points, cells or data. <p>Definition at line <a class="el" href="a04314.html#l00039">39</a> of file <a class="el" href="a04314.html">vtkExtractCells.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 <br> <a class="el" href="a01790.html">vtkUnstructuredGridAlgorithm</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#d24a8931c1c4322366e0c45050541851">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="a00499.html#915538787b8be537624dd3907dbbf19d">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="a00499.html#26a2e8232c6fefb1948e1386802d490f">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#e5f87b4a377d3fa94fef189f0debce68">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#16452bed910ca9f158f59fbcc2195e99">SetCellList</a> (<a class="el" href="a00720.html">vtkIdList</a> *l)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#5c9af5ae406900326c720dd89dc6e726">AddCellList</a> (<a class="el" href="a00720.html">vtkIdList</a> *l)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#d3b91d97112acda4e8df85799e5a173b">AddCellRange</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> from, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> to)</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 int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#1d8828044c26d09c6e70e8407f1f262b">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00499.html">vtkExtractCells</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#90aadb1cef739736f80c1d28cb71e137">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00499.html">vtkExtractCells</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#b927c043e651dbf7e26b0060f3851f92">New</a> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#4b70e8137cdb01e89736d02f45536e4d">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 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#6a6ba811e642ffcc0bd1056e54929771">FillInputPortInformation</a> (int port, <a class="el" href="a00872.html">vtkInformation</a> *info)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#7372ed2b1f792c1405fdb8cbf5c3bf0f">vtkExtractCells</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00499.html#ccc0b1a0821020f1e0a81a0145caa89b">~vtkExtractCells</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="d24a8931c1c4322366e0c45050541851"></a><!-- doxytag: member="vtkExtractCells::Superclass" ref="d24a8931c1c4322366e0c45050541851" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01790.html">vtkUnstructuredGridAlgorithm</a> <a class="el" href="a01790.html">vtkExtractCells::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01790.html#83cb04ebf76077fcf2840e7378bce5eb">vtkUnstructuredGridAlgorithm</a>.</p> <p>Definition at line <a class="el" href="a04314.html#l00042">42</a> of file <a class="el" href="a04314.html">vtkExtractCells.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="7372ed2b1f792c1405fdb8cbf5c3bf0f"></a><!-- doxytag: member="vtkExtractCells::vtkExtractCells" ref="7372ed2b1f792c1405fdb8cbf5c3bf0f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkExtractCells::vtkExtractCells </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="ccc0b1a0821020f1e0a81a0145caa89b"></a><!-- doxytag: member="vtkExtractCells::~vtkExtractCells" ref="ccc0b1a0821020f1e0a81a0145caa89b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkExtractCells::~vtkExtractCells </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="915538787b8be537624dd3907dbbf19d"></a><!-- doxytag: member="vtkExtractCells::GetClassName" ref="915538787b8be537624dd3907dbbf19d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkExtractCells::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="a01790.html#cc8e5750f6e0e4c5990f4fdaf08aa3a6">vtkUnstructuredGridAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="1d8828044c26d09c6e70e8407f1f262b"></a><!-- doxytag: member="vtkExtractCells::IsTypeOf" ref="1d8828044c26d09c6e70e8407f1f262b" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkExtractCells::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="a01790.html#979e1b89c2a9d22b409d132dc361273d">vtkUnstructuredGridAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="26a2e8232c6fefb1948e1386802d490f"></a><!-- doxytag: member="vtkExtractCells::IsA" ref="26a2e8232c6fefb1948e1386802d490f" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkExtractCells::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="a01790.html#04261b9851bf9e9f5d8e87164b0b7f1b">vtkUnstructuredGridAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="90aadb1cef739736f80c1d28cb71e137"></a><!-- doxytag: member="vtkExtractCells::SafeDownCast" ref="90aadb1cef739736f80c1d28cb71e137" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00499.html">vtkExtractCells</a>* vtkExtractCells::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="a01790.html#c21194826192f883eaa58f3cb1efac53">vtkUnstructuredGridAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="e5f87b4a377d3fa94fef189f0debce68"></a><!-- doxytag: member="vtkExtractCells::PrintSelf" ref="e5f87b4a377d3fa94fef189f0debce68" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkExtractCells::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="a01790.html#13d193ef6fd94356f3306d3e799bc9cc">vtkUnstructuredGridAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="b927c043e651dbf7e26b0060f3851f92"></a><!-- doxytag: member="vtkExtractCells::New" ref="b927c043e651dbf7e26b0060f3851f92" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00499.html">vtkExtractCells</a>* vtkExtractCells::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="a01790.html#2646137e0d32c31ea2f5d6c36a839c5e">vtkUnstructuredGridAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="16452bed910ca9f158f59fbcc2195e99"></a><!-- doxytag: member="vtkExtractCells::SetCellList" ref="16452bed910ca9f158f59fbcc2195e99" args="(vtkIdList *l)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkExtractCells::SetCellList </td> <td>(</td> <td class="paramtype"><a class="el" href="a00720.html">vtkIdList</a> * </td> <td class="paramname"> <em>l</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Set the list of cell IDs that the output <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> will be composed of. Replaces any other cell ID list supplied so far. (Set to NULL to free memory used by cell list.) </div> </div><p> <a class="anchor" name="5c9af5ae406900326c720dd89dc6e726"></a><!-- doxytag: member="vtkExtractCells::AddCellList" ref="5c9af5ae406900326c720dd89dc6e726" args="(vtkIdList *l)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkExtractCells::AddCellList </td> <td>(</td> <td class="paramtype"><a class="el" href="a00720.html">vtkIdList</a> * </td> <td class="paramname"> <em>l</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Add the supplied list of cell IDs to those that will be included in the output <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a>. </div> </div><p> <a class="anchor" name="d3b91d97112acda4e8df85799e5a173b"></a><!-- doxytag: member="vtkExtractCells::AddCellRange" ref="d3b91d97112acda4e8df85799e5a173b" args="(vtkIdType from, vtkIdType to)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkExtractCells::AddCellRange </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>from</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>to</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Add this range of cell IDs to those that will be included in the output <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a>. </div> </div><p> <a class="anchor" name="4b70e8137cdb01e89736d02f45536e4d"></a><!-- doxytag: member="vtkExtractCells::RequestData" ref="4b70e8137cdb01e89736d02f45536e4d" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkExtractCells::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="a01790.html#c245179e9e4f4d4f83bf29fd4933b985">vtkUnstructuredGridAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="6a6ba811e642ffcc0bd1056e54929771"></a><!-- doxytag: member="vtkExtractCells::FillInputPortInformation" ref="6a6ba811e642ffcc0bd1056e54929771" args="(int port, vtkInformation *info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkExtractCells::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="a01790.html#1eb860b284f61b78bd00d5776545bd87">vtkUnstructuredGridAlgorithm</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Graphics/<a class="el" href="a04314.html">vtkExtractCells.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:02:19 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>