Sophie

Sophie

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

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/Graphics/vtkSynchronizedTemplates2D.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/Graphics/vtkSynchronizedTemplates2D.h</h1><a href="a02679.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: vtkSynchronizedTemplates2D.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="l00029"></a>00029 <span class="preprocessor">#ifndef __vtkSynchronizedTemplates2D_h</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define __vtkSynchronizedTemplates2D_h</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>
<a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="a02331.html">vtkPolyDataAlgorithm.h</a>"</span>
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="a02002.html">vtkContourValues.h</a>"</span> <span class="comment">// Needed for direct access to ContourValues</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>;
<a name="l00037"></a>00037 
<a name="l00038"></a><a class="code" href="a01653.html">00038</a> <span class="keyword">class </span><a class="code" href="a02170.html#c3c1ffe2fe47b9b70ba90182b7860cce">VTK_GRAPHICS_EXPORT</a> <a class="code" href="a01653.html" title="generate isoline(s) from a structured points set">vtkSynchronizedTemplates2D</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="l00039"></a>00039 {
<a name="l00040"></a>00040 <span class="keyword">public</span>:
<a name="l00041"></a>00041   <span class="keyword">static</span> <a class="code" href="a01653.html" title="generate isoline(s) from a structured points set">vtkSynchronizedTemplates2D</a> *<a class="code" href="a01261.html#cf785ac526132296ff652c636f713b5e">New</a>();
<a name="l00042"></a><a class="code" href="a01653.html#de55966aa3dc993881f50524167443c8">00042</a>   vtkTypeRevisionMacro(<a class="code" href="a01653.html" title="generate isoline(s) from a structured points set">vtkSynchronizedTemplates2D</a>,<a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a>);
<a name="l00043"></a>00043   <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="l00044"></a>00044 
<a name="l00046"></a>00046   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>();
<a name="l00047"></a>00047 
<a name="l00050"></a><a class="code" href="a01653.html#71a533d8d43047c5ebb59f6be1292117">00050</a>   <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>) {this-&gt;ContourValues-&gt;SetValue(i,value);}
<a name="l00051"></a>00051 
<a name="l00053"></a><a class="code" href="a01653.html#d9bb67523757ff53aa970cc44d6f3509">00053</a>   <span class="keywordtype">double</span> GetValue(<span class="keywordtype">int</span> i) {<span class="keywordflow">return</span> this-&gt;ContourValues-&gt;GetValue(i);}
<a name="l00054"></a>00054 
<a name="l00057"></a><a class="code" href="a01653.html#b46c001a949481c292693805185d3943">00057</a>   <span class="keywordtype">double</span> *GetValues() {<span class="keywordflow">return</span> this-&gt;ContourValues-&gt;GetValues();}
<a name="l00058"></a>00058 
<a name="l00060"></a>00060 
<a name="l00063"></a><a class="code" href="a01653.html#21bdd17d1d802b8767e0ec0488a9a1e1">00063</a>   <span class="keywordtype">void</span> GetValues(<span class="keywordtype">double</span> *contourValues) {
<a name="l00064"></a>00064     this-&gt;ContourValues-&gt;GetValues(contourValues);}
<a name="l00066"></a>00066 
<a name="l00068"></a>00068 
<a name="l00071"></a><a class="code" href="a01653.html#3a30678f3ad518c01fd20faddf6295e7">00071</a>   <span class="keywordtype">void</span> SetNumberOfContours(<span class="keywordtype">int</span> number) {
<a name="l00072"></a>00072     this-&gt;ContourValues-&gt;SetNumberOfContours(number);}
<a name="l00074"></a>00074 
<a name="l00076"></a>00076 
<a name="l00077"></a><a class="code" href="a01653.html#0c037db2acd53aedfe904e285697d683">00077</a>   <span class="keywordtype">int</span> GetNumberOfContours() {
<a name="l00078"></a>00078     <span class="keywordflow">return</span> this-&gt;ContourValues-&gt;GetNumberOfContours();}
<a name="l00080"></a>00080 
<a name="l00082"></a>00082 
<a name="l00084"></a><a class="code" href="a01653.html#64c8fe6a64cf9819cb3cf2d943598d6f">00084</a>   <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="l00085"></a>00085     this-&gt;ContourValues-&gt;GenerateValues(numContours, range);}
<a name="l00087"></a>00087 
<a name="l00089"></a>00089 
<a name="l00091"></a><a class="code" href="a01653.html#2a107bb01164a176559baf483171ba49">00091</a>   <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="l00092"></a>00092     {this-&gt;ContourValues-&gt;GenerateValues(numContours, rangeStart, rangeEnd);}
<a name="l00094"></a>00094 
<a name="l00096"></a>00096 
<a name="l00098"></a>00098   vtkSetMacro(ComputeScalars,<span class="keywordtype">int</span>);
<a name="l00099"></a>00099   vtkGetMacro(ComputeScalars,<span class="keywordtype">int</span>);
<a name="l00100"></a>00100   vtkBooleanMacro(ComputeScalars,<span class="keywordtype">int</span>);
<a name="l00102"></a>00102 
<a name="l00104"></a>00104 
<a name="l00106"></a>00106   vtkSetMacro(ArrayComponent, <span class="keywordtype">int</span>);
<a name="l00107"></a>00107   vtkGetMacro(ArrayComponent, <span class="keywordtype">int</span>);
<a name="l00109"></a>00109   
<a name="l00110"></a>00110 <span class="keyword">protected</span>:
<a name="l00111"></a>00111   <a class="code" href="a01653.html" title="generate isoline(s) from a structured points set">vtkSynchronizedTemplates2D</a>();
<a name="l00112"></a>00112   ~<a class="code" href="a01653.html" title="generate isoline(s) from a structured points set">vtkSynchronizedTemplates2D</a>();
<a name="l00113"></a>00113 
<a name="l00114"></a>00114   <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="l00115"></a>00115   <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="l00116"></a><a class="code" href="a01653.html#fcba1df61d8840de33455e7fce92e0cc">00116</a>   <a class="code" href="a00330.html" title="helper object to manage setting and generating contour values">vtkContourValues</a> *ContourValues;
<a name="l00117"></a>00117 
<a name="l00118"></a><a class="code" href="a01653.html#ebafc9bd2fe50b073d4aeba602e88df8">00118</a>   <span class="keywordtype">int</span> ComputeScalars;
<a name="l00119"></a><a class="code" href="a01653.html#ee63918378c6db7ec588813b8f7ae8cb">00119</a>   <span class="keywordtype">int</span> ArrayComponent;
<a name="l00120"></a>00120 
<a name="l00121"></a>00121 <span class="keyword">private</span>:
<a name="l00122"></a>00122   <a class="code" href="a01653.html" title="generate isoline(s) from a structured points set">vtkSynchronizedTemplates2D</a>(<span class="keyword">const</span> <a class="code" href="a01653.html" title="generate isoline(s) from a structured points set">vtkSynchronizedTemplates2D</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00123"></a>00123   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01653.html" title="generate isoline(s) from a structured points set">vtkSynchronizedTemplates2D</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00124"></a>00124 };
<a name="l00125"></a>00125 
<a name="l00126"></a>00126 
<a name="l00127"></a>00127 <span class="preprocessor">#endif</span>
<a name="l00128"></a>00128 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:30 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>