Sophie

Sophie

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

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/vtkGenericContourFilter.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/vtkGenericContourFilter.h</h1><a href="a02421.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: vtkGenericContourFilter.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="l00045"></a>00045 <span class="preprocessor">#ifndef __vtkGenericContourFilter_h</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#define __vtkGenericContourFilter_h</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00048"></a>00048 <span class="preprocessor">#include "<a class="code" href="a02331.html">vtkPolyDataAlgorithm.h</a>"</span>
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="a00330.html" title="helper object to manage setting and generating contour values">vtkContourValues</a>;
<a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>;
<a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a>;
<a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a>;
<a name="l00054"></a>00054 
<a name="l00055"></a><a class="code" href="a00586.html">00055</a> <span class="keyword">class </span><a class="code" href="a02170.html#857c0e074f6270103dda67a2b1ed015f">VTK_GENERIC_FILTERING_EXPORT</a> <a class="code" href="a00586.html" title="generate isocontours from input dataset">vtkGenericContourFilter</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="l00056"></a>00056 {
<a name="l00057"></a>00057 <span class="keyword">public</span>:
<a name="l00058"></a>00058   vtkTypeRevisionMacro(<a class="code" href="a00586.html" title="generate isocontours from input dataset">vtkGenericContourFilter</a>,
<a name="l00059"></a><a class="code" href="a00586.html#f49d2e45ed228dd70e1dabc257282c11">00059</a>                        <a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a>);
<a name="l00060"></a>00060   
<a name="l00061"></a>00061   <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="l00062"></a>00062 
<a name="l00065"></a>00065   <span class="keyword">static</span> <a class="code" href="a00586.html" title="generate isocontours from input dataset">vtkGenericContourFilter</a> *<a class="code" href="a01261.html#cf785ac526132296ff652c636f713b5e">New</a>();
<a name="l00066"></a>00066   
<a name="l00067"></a>00067   <span class="comment">//BTX</span>
<a name="l00068"></a><a class="code" href="a00586.html#e9ccf76fb497ace61a5359c3840c4bb7">00068</a>   <span class="keyword">typedef</span> <span class="keywordtype">double</span> PointType[3];  <span class="comment">// Arbitrary definition of a point</span>
<a name="l00069"></a>00069   <span class="comment">//ETX</span>
<a name="l00070"></a>00070   
<a name="l00072"></a>00072 
<a name="l00073"></a>00073   <span class="keywordtype">void</span> SetValue(<span class="keywordtype">int</span> i, <span class="keywordtype">float</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2106bf5e5151797630e91167caab3f22b9a">value</a>);
<a name="l00074"></a>00074   <span class="keywordtype">double</span> GetValue(<span class="keywordtype">int</span> i);
<a name="l00075"></a>00075   <span class="keywordtype">double</span> *GetValues();
<a name="l00076"></a>00076   <span class="keywordtype">void</span> GetValues(<span class="keywordtype">double</span> *contourValues);
<a name="l00077"></a>00077   <span class="keywordtype">void</span> SetNumberOfContours(<span class="keywordtype">int</span> number);
<a name="l00078"></a>00078   <span class="keywordtype">int</span> GetNumberOfContours();
<a name="l00079"></a>00079   <span class="keywordtype">void</span> GenerateValues(<span class="keywordtype">int</span> numContours, <span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21076786d084c43d32f242990f932679539">range</a>[2]);
<a name="l00080"></a>00080   <span class="keywordtype">void</span> GenerateValues(<span class="keywordtype">int</span> numContours, <span class="keywordtype">double</span> rangeStart, <span class="keywordtype">double</span> rangeEnd);
<a name="l00082"></a>00082 
<a name="l00084"></a>00084   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>();
<a name="l00085"></a>00085 
<a name="l00087"></a>00087 
<a name="l00091"></a>00091   vtkSetMacro(ComputeNormals,<span class="keywordtype">int</span>);
<a name="l00092"></a>00092   vtkGetMacro(ComputeNormals,<span class="keywordtype">int</span>);
<a name="l00093"></a>00093   vtkBooleanMacro(ComputeNormals,<span class="keywordtype">int</span>);
<a name="l00095"></a>00095 
<a name="l00097"></a>00097 
<a name="l00103"></a>00103   vtkSetMacro(ComputeGradients,<span class="keywordtype">int</span>);
<a name="l00104"></a>00104   vtkGetMacro(ComputeGradients,<span class="keywordtype">int</span>);
<a name="l00105"></a>00105   vtkBooleanMacro(ComputeGradients,<span class="keywordtype">int</span>);
<a name="l00107"></a>00107 
<a name="l00109"></a>00109 
<a name="l00110"></a>00110   vtkSetMacro(ComputeScalars,<span class="keywordtype">int</span>);
<a name="l00111"></a>00111   vtkGetMacro(ComputeScalars,<span class="keywordtype">int</span>);
<a name="l00112"></a>00112   vtkBooleanMacro(ComputeScalars,<span class="keywordtype">int</span>);
<a name="l00114"></a>00114 
<a name="l00116"></a>00116 
<a name="l00118"></a>00118   <span class="keywordtype">void</span> SetLocator(<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator);
<a name="l00119"></a>00119   vtkGetObjectMacro(Locator,<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>);
<a name="l00121"></a>00121 
<a name="l00124"></a>00124   <span class="keywordtype">void</span> CreateDefaultLocator();
<a name="l00125"></a>00125 
<a name="l00127"></a>00127 
<a name="l00130"></a>00130   vtkGetStringMacro(InputScalarsSelection);
<a name="l00131"></a>00131   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SelectInputScalars(<span class="keyword">const</span> <span class="keywordtype">char</span> *fieldName);
<a name="l00133"></a>00133 
<a name="l00134"></a>00134 <span class="keyword">protected</span>:
<a name="l00135"></a>00135   <a class="code" href="a00586.html" title="generate isocontours from input dataset">vtkGenericContourFilter</a>();
<a name="l00136"></a>00136   ~<a class="code" href="a00586.html" title="generate isocontours from input dataset">vtkGenericContourFilter</a>();
<a name="l00137"></a>00137 
<a name="l00138"></a>00138   <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="l00139"></a>00139   
<a name="l00140"></a>00140   <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="l00141"></a>00141   
<a name="l00142"></a><a class="code" href="a00586.html#00a96cbf657188d5da14ab72f56c5aec">00142</a>   <a class="code" href="a00330.html" title="helper object to manage setting and generating contour values">vtkContourValues</a> *ContourValues;
<a name="l00143"></a><a class="code" href="a00586.html#c02f4e276fe47809c07c4e1e6fb3b75f">00143</a>   <span class="keywordtype">int</span> ComputeNormals;
<a name="l00144"></a><a class="code" href="a00586.html#3a497f64cca1e398ef300c4da30843ef">00144</a>   <span class="keywordtype">int</span> ComputeGradients;
<a name="l00145"></a><a class="code" href="a00586.html#d1ae37e30cf6bc5e1b3a51099397ec47">00145</a>   <span class="keywordtype">int</span> ComputeScalars;
<a name="l00146"></a><a class="code" href="a00586.html#6f9d6f25e2302817d0204b608bf992c6">00146</a>   <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *Locator;
<a name="l00147"></a>00147   
<a name="l00148"></a><a class="code" href="a00586.html#d8c3d45ef8235970359e50cd205e616a">00148</a>   <span class="keywordtype">char</span> *InputScalarsSelection;
<a name="l00149"></a><a class="code" href="a00586.html#bfa66a323e7bff5daf477818576a59a0">00149</a>   vtkSetStringMacro(InputScalarsSelection);
<a name="l00150"></a>00150   
<a name="l00151"></a>00151   <span class="comment">// Used internal by vtkGenericAdaptorCell::Contour()</span>
<a name="l00152"></a>00152   <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *InternalPD;
<a name="l00153"></a><a class="code" href="a00586.html#15749f862b42eacd9708d79358a3a9b6">00153</a>   <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *SecondaryPD;
<a name="l00154"></a><a class="code" href="a00586.html#fd24e617df31b68cc8ced4494c2e0064">00154</a>   <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a>  *SecondaryCD;
<a name="l00155"></a>00155   
<a name="l00156"></a>00156 <span class="keyword">private</span>:
<a name="l00157"></a>00157   <a class="code" href="a00586.html" title="generate isocontours from input dataset">vtkGenericContourFilter</a>(<span class="keyword">const</span> <a class="code" href="a00586.html" title="generate isocontours from input dataset">vtkGenericContourFilter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00158"></a>00158   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00586.html" title="generate isocontours from input dataset">vtkGenericContourFilter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00159"></a>00159 };
<a name="l00160"></a>00160 <span class="preprocessor">#endif</span>
</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>