Sophie

Sophie

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

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: dox/GenericFiltering/vtkGenericGeometryFilter.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&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><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/GenericFiltering/vtkGenericGeometryFilter.h</h1><a href="a02424.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: vtkGenericGeometryFilter.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 __vtkGenericGeometryFilter_h</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define __vtkGenericGeometryFilter_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 <span class="keyword">class </span><a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a>;
<a name="l00056"></a>00056 
<a name="l00057"></a><a class="code" href="a00597.html">00057</a> <span class="keyword">class </span><a class="code" href="a02170.html#857c0e074f6270103dda67a2b1ed015f">VTK_GENERIC_FILTERING_EXPORT</a> <a class="code" href="a00597.html" title="extract geometry from data (or convert data to polygonal type)">vtkGenericGeometryFilter</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="l00058"></a>00058 {
<a name="l00059"></a>00059 <span class="keyword">public</span>:
<a name="l00060"></a>00060   <span class="keyword">static</span> <a class="code" href="a00597.html" title="extract geometry from data (or convert data to polygonal type)">vtkGenericGeometryFilter</a> *<a class="code" href="a01261.html#cf785ac526132296ff652c636f713b5e">New</a>();
<a name="l00061"></a><a class="code" href="a00597.html#82e8121a1e4bcdf628723a7b7cd9ec6b">00061</a>   vtkTypeRevisionMacro(<a class="code" href="a00597.html" title="extract geometry from data (or convert data to polygonal type)">vtkGenericGeometryFilter</a>,<a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a>);
<a name="l00062"></a>00062   <span class="keywordtype">void</span> <a class="code" href="a01261.html#e6d59a63261b0c56f8f473984ae0e1b6">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00063"></a>00063 
<a name="l00065"></a>00065 
<a name="l00066"></a>00066   vtkSetMacro(PointClipping,<span class="keywordtype">int</span>);
<a name="l00067"></a>00067   vtkGetMacro(PointClipping,<span class="keywordtype">int</span>);
<a name="l00068"></a>00068   vtkBooleanMacro(PointClipping,<span class="keywordtype">int</span>);
<a name="l00070"></a>00070 
<a name="l00072"></a>00072 
<a name="l00073"></a>00073   vtkSetMacro(CellClipping,<span class="keywordtype">int</span>);
<a name="l00074"></a>00074   vtkGetMacro(CellClipping,<span class="keywordtype">int</span>);
<a name="l00075"></a>00075   vtkBooleanMacro(CellClipping,<span class="keywordtype">int</span>);
<a name="l00077"></a>00077 
<a name="l00079"></a>00079 
<a name="l00080"></a>00080   vtkSetMacro(ExtentClipping,<span class="keywordtype">int</span>);
<a name="l00081"></a>00081   vtkGetMacro(ExtentClipping,<span class="keywordtype">int</span>);
<a name="l00082"></a>00082   vtkBooleanMacro(ExtentClipping,<span class="keywordtype">int</span>);
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 
<a name="l00087"></a>00087   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="l00088"></a>00088   vtkGetMacro(PointMinimum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>);
<a name="l00090"></a>00090 
<a name="l00092"></a>00092 
<a name="l00093"></a>00093   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="l00094"></a>00094   vtkGetMacro(PointMaximum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>);
<a name="l00096"></a>00096 
<a name="l00098"></a>00098 
<a name="l00099"></a>00099   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="l00100"></a>00100   vtkGetMacro(CellMinimum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>);
<a name="l00102"></a>00102 
<a name="l00104"></a>00104 
<a name="l00105"></a>00105   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="l00106"></a>00106   vtkGetMacro(CellMaximum,<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a>);
<a name="l00108"></a>00108 
<a name="l00110"></a>00110 
<a name="l00112"></a>00112   <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="l00113"></a>00113                  <span class="keywordtype">double</span> zMin, <span class="keywordtype">double</span> zMax);
<a name="l00115"></a>00115 
<a name="l00117"></a>00117 
<a name="l00119"></a>00119   <span class="keywordtype">void</span> SetExtent(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]);
<a name="l00120"></a><a class="code" href="a00597.html#bb7b9d4c86e6af045be5f8453de57635">00120</a>   <span class="keywordtype">double</span> *GetExtent() { <span class="keywordflow">return</span> this-&gt;Extent;};
<a name="l00122"></a>00122 
<a name="l00124"></a>00124 
<a name="l00127"></a>00127   vtkSetMacro(Merging,<span class="keywordtype">int</span>);
<a name="l00128"></a>00128   vtkGetMacro(Merging,<span class="keywordtype">int</span>);
<a name="l00129"></a>00129   vtkBooleanMacro(Merging,<span class="keywordtype">int</span>);
<a name="l00131"></a>00131 
<a name="l00133"></a>00133 
<a name="l00135"></a>00135   <span class="keywordtype">void</span> SetLocator(<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator);
<a name="l00136"></a>00136   vtkGetObjectMacro(Locator,<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>);
<a name="l00138"></a>00138 
<a name="l00140"></a>00140   <span class="keywordtype">void</span> CreateDefaultLocator();
<a name="l00141"></a>00141 
<a name="l00143"></a>00143   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>();
<a name="l00144"></a>00144 
<a name="l00146"></a>00146 
<a name="l00150"></a>00150   vtkSetMacro(PassThroughCellIds,<span class="keywordtype">int</span>);
<a name="l00151"></a>00151   vtkGetMacro(PassThroughCellIds,<span class="keywordtype">int</span>);
<a name="l00152"></a>00152   vtkBooleanMacro(PassThroughCellIds,<span class="keywordtype">int</span>);
<a name="l00154"></a>00154 
<a name="l00155"></a>00155 <span class="keyword">protected</span>:
<a name="l00156"></a>00156   <a class="code" href="a00597.html" title="extract geometry from data (or convert data to polygonal type)">vtkGenericGeometryFilter</a>();
<a name="l00157"></a>00157   ~<a class="code" href="a00597.html" title="extract geometry from data (or convert data to polygonal type)">vtkGenericGeometryFilter</a>();
<a name="l00158"></a>00158 
<a name="l00159"></a>00159   <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="l00160"></a>00160   <span class="keywordtype">void</span> PolyDataExecute(); <span class="comment">//special cases for performance</span>
<a name="l00161"></a>00161   <span class="keywordtype">void</span> UnstructuredGridExecute();
<a name="l00162"></a>00162   <span class="keywordtype">void</span> StructuredGridExecute();
<a name="l00163"></a>00163   <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="l00164"></a>00164   <span class="keywordtype">int</span> <a class="code" href="a01261.html#cfed421fc23ff5262acc1c49053c75e1">RequestInformation</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="l00165"></a>00165 
<a name="l00166"></a>00166   <span class="keywordtype">int</span> <a class="code" href="a01261.html#a9084b97ab9c0c8c76e490fa9776a832">FillInputPortInformation</a>(<span class="keywordtype">int</span>, <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>*);
<a name="l00167"></a>00167   
<a name="l00168"></a><a class="code" href="a00597.html#0f9e971891c606e9fab039855ea72b07">00168</a>   <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> PointMaximum;
<a name="l00169"></a><a class="code" href="a00597.html#3b5616992d1bd4d695f4091f12e4f7b6">00169</a>   <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> PointMinimum;
<a name="l00170"></a><a class="code" href="a00597.html#c86940f7fb4bb9e40a4784e735b1733f">00170</a>   <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> CellMinimum;
<a name="l00171"></a><a class="code" href="a00597.html#dfdb88de185eca05191f3cfbfc5d341a">00171</a>   <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> CellMaximum;
<a name="l00172"></a><a class="code" href="a00597.html#f2878e6af936cb24c0d04bfe13b18f8b">00172</a>   <span class="keywordtype">double</span> Extent[6];
<a name="l00173"></a><a class="code" href="a00597.html#1853ee247f9d01b1ae11b82e12a14603">00173</a>   <span class="keywordtype">int</span> PointClipping;
<a name="l00174"></a><a class="code" href="a00597.html#9ce332df6af0a473797483ed1ee76834">00174</a>   <span class="keywordtype">int</span> CellClipping;
<a name="l00175"></a><a class="code" href="a00597.html#50d21265c9cf04b8516f771b078e61b5">00175</a>   <span class="keywordtype">int</span> ExtentClipping;
<a name="l00176"></a>00176 
<a name="l00177"></a><a class="code" href="a00597.html#a186a00e0c5f7eb143867037d7a72818">00177</a>   <span class="keywordtype">int</span> Merging;
<a name="l00178"></a><a class="code" href="a00597.html#ea58ff7819f7d39f328824e20d9eb17c">00178</a>   <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *Locator;
<a name="l00179"></a>00179   
<a name="l00180"></a>00180   <span class="comment">// Used internal by vtkGenericAdaptorCell::Tessellate()</span>
<a name="l00181"></a><a class="code" href="a00597.html#ec1d5ee468a13887a0ad895b0ef58fe5">00181</a>   <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *InternalPD;
<a name="l00182"></a>00182 
<a name="l00183"></a><a class="code" href="a00597.html#4fda1c9d88fb46ed055fc865f8dd75fd">00183</a>   <span class="keywordtype">int</span> PassThroughCellIds;
<a name="l00184"></a>00184   
<a name="l00185"></a>00185 <span class="keyword">private</span>:
<a name="l00186"></a>00186   <a class="code" href="a00597.html" title="extract geometry from data (or convert data to polygonal type)">vtkGenericGeometryFilter</a>(<span class="keyword">const</span> <a class="code" href="a00597.html" title="extract geometry from data (or convert data to polygonal type)">vtkGenericGeometryFilter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00187"></a>00187   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00597.html" title="extract geometry from data (or convert data to polygonal type)">vtkGenericGeometryFilter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00188"></a>00188 };
<a name="l00189"></a>00189 
<a name="l00190"></a>00190 <span class="preprocessor">#endif</span>
<a name="l00191"></a>00191 <span class="preprocessor"></span>
<a name="l00192"></a>00192 
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:19 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>