Sophie

Sophie

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

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/vtkGenericCutter.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/vtkGenericCutter.h</h1><a href="a02422.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: vtkGenericCutter.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="l00048"></a>00048 <span class="preprocessor">#ifndef __vtkGenericCutter_h</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define __vtkGenericCutter_h</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00051"></a>00051 <span class="preprocessor">#include "<a class="code" href="a02331.html">vtkPolyDataAlgorithm.h</a>"</span>
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 <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="l00054"></a>00054 
<a name="l00055"></a>00055 <span class="keyword">class </span><a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a>;
<a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>;
<a name="l00057"></a>00057 <span class="keyword">class </span><a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a>;
<a name="l00058"></a>00058 <span class="keyword">class </span><a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a>;
<a name="l00059"></a>00059 
<a name="l00060"></a><a class="code" href="a00587.html">00060</a> <span class="keyword">class </span><a class="code" href="a02170.html#857c0e074f6270103dda67a2b1ed015f">VTK_GENERIC_FILTERING_EXPORT</a> <a class="code" href="a00587.html" title="cut a vtkGenericDataSet with an implicit function or scalar data">vtkGenericCutter</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="l00061"></a>00061 {
<a name="l00062"></a>00062 <span class="keyword">public</span>:
<a name="l00063"></a><a class="code" href="a00587.html#22e3726628ccd50f6afeff7af62de202">00063</a>   vtkTypeRevisionMacro(<a class="code" href="a00587.html" title="cut a vtkGenericDataSet with an implicit function or scalar data">vtkGenericCutter</a>,<a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a>);
<a name="l00064"></a>00064   <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="l00065"></a>00065 
<a name="l00068"></a>00068   <span class="keyword">static</span> <a class="code" href="a00587.html" title="cut a vtkGenericDataSet with an implicit function or scalar data">vtkGenericCutter</a> *<a class="code" href="a01261.html#cf785ac526132296ff652c636f713b5e">New</a>();
<a name="l00069"></a>00069 
<a name="l00072"></a>00072   <span class="keywordtype">void</span> SetValue(<span class="keywordtype">int</span> i, <span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2106bf5e5151797630e91167caab3f22b9a">value</a>);
<a name="l00073"></a>00073  
<a name="l00075"></a>00075   <span class="keywordtype">double</span> GetValue(<span class="keywordtype">int</span> i);
<a name="l00076"></a>00076 
<a name="l00079"></a>00079   <span class="keywordtype">double</span> *GetValues();
<a name="l00080"></a>00080 
<a name="l00084"></a>00084   <span class="keywordtype">void</span> GetValues(<span class="keywordtype">double</span> *contourValues);
<a name="l00085"></a>00085  
<a name="l00089"></a>00089   <span class="keywordtype">void</span> SetNumberOfContours(<span class="keywordtype">int</span> number);
<a name="l00090"></a>00090 
<a name="l00092"></a>00092   <span class="keywordtype">int</span> GetNumberOfContours();
<a name="l00093"></a>00093 
<a name="l00096"></a>00096   <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="l00097"></a>00097 
<a name="l00100"></a>00100   <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="l00101"></a>00101 
<a name="l00104"></a>00104   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>();
<a name="l00105"></a>00105 
<a name="l00107"></a>00107 
<a name="l00108"></a>00108   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetCutFunction(<a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a>*);
<a name="l00109"></a>00109   vtkGetObjectMacro(CutFunction,<a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a>);
<a name="l00111"></a>00111 
<a name="l00113"></a>00113 
<a name="l00116"></a>00116   vtkSetMacro(GenerateCutScalars,<span class="keywordtype">int</span>);
<a name="l00117"></a>00117   vtkGetMacro(GenerateCutScalars,<span class="keywordtype">int</span>);
<a name="l00118"></a>00118   vtkBooleanMacro(GenerateCutScalars,<span class="keywordtype">int</span>);
<a name="l00120"></a>00120 
<a name="l00122"></a>00122 
<a name="l00124"></a>00124   <span class="keywordtype">void</span> SetLocator(<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a> *locator);
<a name="l00125"></a>00125   vtkGetObjectMacro(Locator,<a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>);
<a name="l00127"></a>00127 
<a name="l00130"></a>00130   <span class="keywordtype">void</span> CreateDefaultLocator();
<a name="l00131"></a>00131 
<a name="l00132"></a>00132 <span class="keyword">protected</span>:
<a name="l00133"></a>00133   <a class="code" href="a00587.html" title="cut a vtkGenericDataSet with an implicit function or scalar data">vtkGenericCutter</a>(<a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a> *cf=NULL);
<a name="l00134"></a>00134   ~<a class="code" href="a00587.html" title="cut a vtkGenericDataSet with an implicit function or scalar data">vtkGenericCutter</a>();
<a name="l00135"></a>00135   
<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   <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="a00587.html#0ae77abe86d5849ba1b5299ef1b936ad">00142</a>   <a class="code" href="a00855.html" title="abstract interface for implicit functions">vtkImplicitFunction</a> *CutFunction;
<a name="l00143"></a><a class="code" href="a00587.html#449cf778a55cd0f298fe654bc140ced0">00143</a>   <a class="code" href="a01247.html" title="quickly locate points in 3-space">vtkPointLocator</a>     *Locator;
<a name="l00144"></a><a class="code" href="a00587.html#6141c675d0b517bc7ed36bae2221a237">00144</a>   <a class="code" href="a00330.html" title="helper object to manage setting and generating contour values">vtkContourValues</a>    *ContourValues;
<a name="l00145"></a><a class="code" href="a00587.html#e335a28ca0b6e508cfaeedfc26940241">00145</a>   <span class="keywordtype">int</span>                 GenerateCutScalars;
<a name="l00146"></a>00146   
<a name="l00147"></a>00147   <span class="comment">// Used internal by vtkGenericAdaptorCell::Contour()</span>
<a name="l00148"></a><a class="code" href="a00587.html#10584248814bdb2da562c983ede63b29">00148</a>   <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *InternalPD;
<a name="l00149"></a><a class="code" href="a00587.html#a321202474f79a1407828be994f4f502">00149</a>   <a class="code" href="a01242.html" title="represent and manipulate point attribute data">vtkPointData</a> *SecondaryPD;
<a name="l00150"></a><a class="code" href="a00587.html#cabe416f70577fa1b4458fe077427fe8">00150</a>   <a class="code" href="a00245.html" title="represent and manipulate cell attribute data">vtkCellData</a>  *SecondaryCD;
<a name="l00151"></a>00151 
<a name="l00152"></a>00152 <span class="keyword">private</span>:
<a name="l00153"></a>00153   <a class="code" href="a00587.html" title="cut a vtkGenericDataSet with an implicit function or scalar data">vtkGenericCutter</a>(<span class="keyword">const</span> <a class="code" href="a00587.html" title="cut a vtkGenericDataSet with an implicit function or scalar data">vtkGenericCutter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00154"></a>00154   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00587.html" title="cut a vtkGenericDataSet with an implicit function or scalar data">vtkGenericCutter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00155"></a>00155 };
<a name="l00156"></a>00156 
<a name="l00157"></a>00157 <span class="preprocessor">#endif</span>
<a name="l00158"></a>00158 <span class="preprocessor"></span>
<a name="l00159"></a>00159 
</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>