<!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: dox/Graphics/vtkGeometryFilter.h Source File</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><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>dox/Graphics/vtkGeometryFilter.h</h1><a href="a02550.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span> <a name="l00002"></a>00002 <span class="comment"></span> <a name="l00003"></a>00003 <span class="comment"> Program: Visualization Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: vtkGeometryFilter.h,v $</span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"> Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span> <a name="l00007"></a>00007 <span class="comment"> All rights reserved.</span> <a name="l00008"></a>00008 <span class="comment"> See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span> <a name="l00009"></a>00009 <span class="comment"></span> <a name="l00010"></a>00010 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even</span> <a name="l00011"></a>00011 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span> <a name="l00012"></a>00012 <span class="comment"> PURPOSE. See the above copyright notice for more information.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span> <a name="l00049"></a>00049 <span class="preprocessor">#ifndef __vtkGeometryFilter_h</span> <a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define __vtkGeometryFilter_h</span> <a name="l00051"></a>00051 <span class="preprocessor"></span> <a name="l00052"></a>00052 <span class="preprocessor">#include "<a class="code" href="a02331.html">vtkPolyDataAlgorithm.h</a>"</span> <a name="l00053"></a>00053 <a name="l00054"></a>00054 <span class="keyword">class </span><a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>; <a name="l00055"></a>00055 <a name="l00056"></a><a class="code" href="a00628.html">00056</a> <span class="keyword">class </span><a class="code" href="a02170.html#c3c1ffe2fe47b9b70ba90182b7860cce">VTK_GRAPHICS_EXPORT</a> <a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a> : <span class="keyword">public</span> <a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a> <a name="l00057"></a>00057 { <a name="l00058"></a>00058 <span class="keyword">public</span>: <a name="l00059"></a>00059 <span class="keyword">static</span> <a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a> *<a class="code" href="a01261.html#cf785ac526132296ff652c636f713b5e">New</a>(); <a name="l00060"></a><a class="code" href="a00628.html#b90ce55f813d54e11017953d42de8010">00060</a> vtkTypeRevisionMacro(<a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a>,<a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a>); <a name="l00061"></a>00061 <span class="keywordtype">void</span> <a class="code" href="a01261.html#e6d59a63261b0c56f8f473984ae0e1b6">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00062"></a>00062 <a name="l00064"></a>00064 <a name="l00065"></a>00065 vtkSetMacro(PointClipping,<span class="keywordtype">int</span>); <a name="l00066"></a>00066 vtkGetMacro(PointClipping,<span class="keywordtype">int</span>); <a name="l00067"></a>00067 vtkBooleanMacro(PointClipping,<span class="keywordtype">int</span>); <a name="l00069"></a>00069 <a name="l00071"></a>00071 <a name="l00072"></a>00072 vtkSetMacro(CellClipping,<span class="keywordtype">int</span>); <a name="l00073"></a>00073 vtkGetMacro(CellClipping,<span class="keywordtype">int</span>); <a name="l00074"></a>00074 vtkBooleanMacro(CellClipping,<span class="keywordtype">int</span>); <a name="l00076"></a>00076 <a name="l00078"></a>00078 <a name="l00079"></a>00079 vtkSetMacro(ExtentClipping,<span class="keywordtype">int</span>); <a name="l00080"></a>00080 vtkGetMacro(ExtentClipping,<span class="keywordtype">int</span>); <a name="l00081"></a>00081 vtkBooleanMacro(ExtentClipping,<span class="keywordtype">int</span>); <a name="l00083"></a>00083 <a name="l00085"></a>00085 <a name="l00086"></a>00086 vtkSetClampMacro(PointMinimum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>,0,<a class="code" href="a02149.html#ec189d4a83835b1907613a07c3d6bf91">VTK_LARGE_ID</a>); <a name="l00087"></a>00087 vtkGetMacro(PointMinimum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>); <a name="l00089"></a>00089 <a name="l00091"></a>00091 <a name="l00092"></a>00092 vtkSetClampMacro(PointMaximum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>,0,<a class="code" href="a02149.html#ec189d4a83835b1907613a07c3d6bf91">VTK_LARGE_ID</a>); <a name="l00093"></a>00093 vtkGetMacro(PointMaximum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>); <a name="l00095"></a>00095 <a name="l00097"></a>00097 <a name="l00098"></a>00098 vtkSetClampMacro(CellMinimum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>,0,<a class="code" href="a02149.html#ec189d4a83835b1907613a07c3d6bf91">VTK_LARGE_ID</a>); <a name="l00099"></a>00099 vtkGetMacro(CellMinimum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>); <a name="l00101"></a>00101 <a name="l00103"></a>00103 <a name="l00104"></a>00104 vtkSetClampMacro(CellMaximum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>,0,<a class="code" href="a02149.html#ec189d4a83835b1907613a07c3d6bf91">VTK_LARGE_ID</a>); <a name="l00105"></a>00105 vtkGetMacro(CellMaximum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>); <a name="l00107"></a>00107 <a name="l00109"></a>00109 <a name="l00111"></a>00111 <span class="keywordtype">void</span> SetExtent(<span class="keywordtype">double</span> xMin, <span class="keywordtype">double</span> xMax, <span class="keywordtype">double</span> yMin, <span class="keywordtype">double</span> yMax, <a name="l00112"></a>00112 <span class="keywordtype">double</span> zMin, <span class="keywordtype">double</span> zMax); <a name="l00114"></a>00114 <a name="l00116"></a>00116 <a name="l00118"></a>00118 <span class="keywordtype">void</span> SetExtent(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]); <a name="l00119"></a><a class="code" href="a00628.html#666a936b5b811a250067453237aed201">00119</a> <span class="keywordtype">double</span> *GetExtent() { <span class="keywordflow">return</span> this->Extent;}; <a name="l00121"></a>00121 <a name="l00123"></a>00123 <a name="l00126"></a>00126 vtkSetMacro(Merging,<span class="keywordtype">int</span>); <a name="l00127"></a>00127 vtkGetMacro(Merging,<span class="keywordtype">int</span>); <a name="l00128"></a>00128 vtkBooleanMacro(Merging,<span class="keywordtype">int</span>); <a name="l00130"></a>00130 <a name="l00132"></a>00132 <a name="l00134"></a>00134 <span class="keywordtype">void</span> SetLocator(<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator); <a name="l00135"></a>00135 vtkGetObjectMacro(Locator,<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>); <a name="l00137"></a>00137 <a name="l00139"></a>00139 <span class="keywordtype">void</span> CreateDefaultLocator(); <a name="l00140"></a>00140 <a name="l00142"></a>00142 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>(); <a name="l00143"></a>00143 <a name="l00144"></a>00144 <span class="keyword">protected</span>: <a name="l00145"></a>00145 <a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a>(); <a name="l00146"></a>00146 ~<a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a>(); <a name="l00147"></a>00147 <a name="l00148"></a>00148 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01261.html#6b5a43ab1f9bbcb368c7dc83e4afe068">RequestData</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> **, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *); <a name="l00149"></a>00149 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01261.html#a9084b97ab9c0c8c76e490fa9776a832">FillInputPortInformation</a>(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21023da246d4a744e861548382bb79fad81">info</a>); <a name="l00150"></a>00150 <a name="l00151"></a>00151 <span class="comment">//special cases for performance</span> <a name="l00152"></a>00152 <span class="keywordtype">void</span> PolyDataExecute(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *, <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00153"></a>00153 <span class="keywordtype">void</span> UnstructuredGridExecute(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *, <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00154"></a>00154 <span class="keywordtype">void</span> StructuredGridExecute(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *, <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *); <a name="l00155"></a>00155 <span class="keywordtype">int</span> <a class="code" href="a01261.html#8ea20f6cc2dd5be4934c9e9b3f1d8eac">RequestUpdateExtent</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> **, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *); <a name="l00156"></a>00156 <a name="l00157"></a><a class="code" href="a00628.html#85bc0103df7da9143455dfe0b866c7c5">00157</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> PointMaximum; <a name="l00158"></a><a class="code" href="a00628.html#64fcff3a1c49a0936dbe8efb2ec52eb3">00158</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> PointMinimum; <a name="l00159"></a><a class="code" href="a00628.html#127292561755c8d83d8ee89c1a10887c">00159</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> CellMinimum; <a name="l00160"></a><a class="code" href="a00628.html#3fba61f6c55c3441dfa2f27fab131cd2">00160</a> <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> CellMaximum; <a name="l00161"></a><a class="code" href="a00628.html#38cb398c35ba617fd9c0f259522d1cc5">00161</a> <span class="keywordtype">double</span> Extent[6]; <a name="l00162"></a><a class="code" href="a00628.html#aa9d7cd18f97553de29625821cdb7507">00162</a> <span class="keywordtype">int</span> PointClipping; <a name="l00163"></a><a class="code" href="a00628.html#4526799ac62f635af2a2454e1c5970ba">00163</a> <span class="keywordtype">int</span> CellClipping; <a name="l00164"></a><a class="code" href="a00628.html#fe5de557ab00c0ae774de570c498c9d2">00164</a> <span class="keywordtype">int</span> ExtentClipping; <a name="l00165"></a>00165 <a name="l00166"></a><a class="code" href="a00628.html#52dd14404b696aadb6056c6e9b3b59a3">00166</a> <span class="keywordtype">int</span> Merging; <a name="l00167"></a><a class="code" href="a00628.html#72fe0f8a320385afcc8349a56d21b379">00167</a> <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *Locator; <a name="l00168"></a>00168 <span class="keyword">private</span>: <a name="l00169"></a>00169 <a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a>(<span class="keyword">const</span> <a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a>&); <span class="comment">// Not implemented.</span> <a name="l00170"></a>00170 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a>&); <span class="comment">// Not implemented.</span> <a name="l00171"></a>00171 }; <a name="l00172"></a>00172 <a name="l00173"></a>00173 <span class="preprocessor">#endif</span> <a name="l00174"></a>00174 <span class="preprocessor"></span> <a name="l00175"></a>00175 </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:27 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>