Sophie

Sophie

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

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/Imaging/vtkImageStencilData.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/Imaging/vtkImageStencilData.h</h1><a href="a02964.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: vtkImageStencilData.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 __vtkImageStencilData_h</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define __vtkImageStencilData_h</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="a02221.html">vtkDataObject.h</a>"</span>
<a name="l00034"></a>00034 
<a name="l00035"></a><a class="code" href="a00836.html">00035</a> <span class="keyword">class </span><a class="code" href="a02170.html#3e7fe2912c56d9dbe95c57272a61f15f">VTK_IMAGING_EXPORT</a> <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> : <span class="keyword">public</span> <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 <span class="keyword">public</span>:
<a name="l00038"></a>00038   <span class="keyword">static</span> <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> *<a class="code" href="a00362.html#13d4f201619a19a9b39978e92239cd98">New</a>();
<a name="l00039"></a><a class="code" href="a00836.html#fe532b5a4eacd7ecdff1ed254f441b26">00039</a>   vtkTypeRevisionMacro(<a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>, <a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>);
<a name="l00040"></a>00040   <span class="keywordtype">void</span> <a class="code" href="a00362.html#41fc1279a91124320705e5fc98f623c7">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00041"></a>00041 
<a name="l00042"></a>00042   <span class="keywordtype">void</span> <a class="code" href="a00362.html#125a61962658df7dd87d0c5755c06193">Initialize</a>();
<a name="l00043"></a>00043   <span class="keywordtype">void</span> <a class="code" href="a00362.html#455b17df288af545f40c3a013714f114">DeepCopy</a>(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *o);
<a name="l00044"></a>00044   <span class="keywordtype">void</span> <a class="code" href="a00362.html#04a5fb60bdbc929ce84f0cd14d911dbe">ShallowCopy</a>(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a> *f);
<a name="l00045"></a>00045   <span class="keywordtype">void</span> InternalImageStencilDataCopy(<a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> *s);
<a name="l00046"></a>00046 
<a name="l00049"></a><a class="code" href="a00836.html#9e6a4b68d4103e93061349d64f0d033b">00049</a>   <span class="keywordtype">int</span> <a class="code" href="a00362.html#a29b32b4beac6a90d31d4751f427add7">GetDataObjectType</a>() { <span class="keywordflow">return</span> <a class="code" href="a02149.html#74c29c46e7aa051e65e32ebdca5de09c">VTK_DATA_OBJECT</a>; }
<a name="l00050"></a>00050 
<a name="l00052"></a><a class="code" href="a00836.html#12b66b0bd51187a860832ae371a386e7">00052</a>   <span class="keywordtype">int</span> <a class="code" href="a00362.html#e9d129f8fc75eb04d67d6d805dde6763">GetExtentType</a>() { <span class="keywordflow">return</span> <a class="code" href="a02221.html#509b2bf75060bd01efde76343165347d">VTK_3D_EXTENT</a>; };
<a name="l00053"></a>00053 
<a name="l00055"></a>00055 
<a name="l00063"></a>00063   <span class="keywordtype">int</span> GetNextExtent(<span class="keywordtype">int</span> &amp;r1, <span class="keywordtype">int</span> &amp;r2, <span class="keywordtype">int</span> xMin, <span class="keywordtype">int</span> xMax,
<a name="l00064"></a>00064                     <span class="keywordtype">int</span> yIdx, <span class="keywordtype">int</span> zIdx, <span class="keywordtype">int</span> &amp;iter);
<a name="l00066"></a>00066 
<a name="l00072"></a>00072   <span class="keywordtype">void</span> InsertNextExtent(<span class="keywordtype">int</span> r1, <span class="keywordtype">int</span> r2, <span class="keywordtype">int</span> yIdx, <span class="keywordtype">int</span> zIdx);
<a name="l00073"></a>00073   
<a name="l00080"></a>00080   <span class="keywordtype">void</span> InsertAndMergeExtent(<span class="keywordtype">int</span> r1, <span class="keywordtype">int</span> r2, <span class="keywordtype">int</span> yIdx, <span class="keywordtype">int</span> zIdx);
<a name="l00081"></a>00081 
<a name="l00083"></a>00083   <span class="keywordtype">void</span> RemoveExtent(<span class="keywordtype">int</span> r1, <span class="keywordtype">int</span> r2, <span class="keywordtype">int</span> yIdx, <span class="keywordtype">int</span> zIdx);
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 
<a name="l00089"></a>00089   vtkSetVector3Macro(Spacing, <span class="keywordtype">double</span>);
<a name="l00090"></a>00090   vtkGetVector3Macro(Spacing, <span class="keywordtype">double</span>);
<a name="l00092"></a>00092 
<a name="l00094"></a>00094 
<a name="l00097"></a>00097   vtkSetVector3Macro(Origin, <span class="keywordtype">double</span>);
<a name="l00098"></a>00098   vtkGetVector3Macro(Origin, <span class="keywordtype">double</span>);
<a name="l00100"></a>00100 
<a name="l00102"></a>00102 
<a name="l00105"></a>00105   <span class="keywordtype">void</span> SetExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]);
<a name="l00106"></a>00106   <span class="keywordtype">void</span> SetExtent(<span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> x2, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> y2, <span class="keywordtype">int</span> z1, <span class="keywordtype">int</span> z2);
<a name="l00107"></a>00107   vtkGetVector6Macro(Extent, <span class="keywordtype">int</span>);
<a name="l00109"></a>00109 
<a name="l00112"></a>00112   <span class="keywordtype">void</span> AllocateExtents();
<a name="l00113"></a>00113 
<a name="l00115"></a>00115   <span class="keywordtype">void</span> Fill();
<a name="l00116"></a>00116 
<a name="l00118"></a>00118 
<a name="l00120"></a>00120   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00362.html#7c7b9185fe3f8bceed16a090a7f21058">CopyInformationToPipeline</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request,
<a name="l00121"></a>00121                                          <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* input,
<a name="l00122"></a>00122                                          <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* output,
<a name="l00123"></a>00123                                          <span class="keywordtype">int</span> forceCopy);
<a name="l00124"></a>00124   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00362.html#704506723e143fd29ed4ecce817ef160">CopyInformationFromPipeline</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>* request);
<a name="l00126"></a>00126 
<a name="l00127"></a>00127   <span class="comment">//BTX</span>
<a name="l00129"></a>00129 <span class="comment"></span>
<a name="l00130"></a>00130   <span class="keyword">static</span> <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>* <a class="code" href="a00362.html#d7ebc4f6ec32a1db7e6cfc0ff6974559">GetData</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="l00131"></a>00131   <span class="keyword">static</span> <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>* <a class="code" href="a00362.html#d7ebc4f6ec32a1db7e6cfc0ff6974559">GetData</a>(<a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>* v, <span class="keywordtype">int</span> i=0);
<a name="l00132"></a>00132   <span class="comment">//ETX</span>
<a name="l00134"></a>00134 <span class="comment"></span>  
<a name="l00136"></a>00136   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Add     ( <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> * ); 
<a name="l00137"></a>00137 
<a name="l00140"></a>00140   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Subtract( <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> * ); 
<a name="l00141"></a>00141 
<a name="l00144"></a>00144   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Replace( <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> * ); 
<a name="l00145"></a>00145 
<a name="l00148"></a>00148   <span class="keyword">virtual</span> <span class="keywordtype">int</span> Clip( <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6] );
<a name="l00149"></a>00149 
<a name="l00150"></a>00150 <span class="keyword">protected</span>:
<a name="l00151"></a>00151   <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>();
<a name="l00152"></a>00152   ~<a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>();
<a name="l00153"></a>00153 
<a name="l00155"></a>00155   <span class="keywordtype">void</span> CopyOriginAndSpacingFromPipeline();
<a name="l00156"></a>00156 
<a name="l00159"></a>00159   <span class="keyword">virtual</span> <span class="keywordtype">void</span> InternalAdd( <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> * );
<a name="l00160"></a>00160   
<a name="l00161"></a>00161   <span class="keywordtype">void</span> CollapseAdditionalIntersections(<span class="keywordtype">int</span> r2, <span class="keywordtype">int</span> idx, <span class="keywordtype">int</span> *clist, 
<a name="l00162"></a>00162     <span class="keywordtype">int</span> &amp;clistlen);
<a name="l00163"></a>00163 
<a name="l00165"></a>00165 
<a name="l00166"></a><a class="code" href="a00836.html#69e7b32239c6a1db60acf34adb16516e">00166</a>   <span class="keywordtype">double</span> Spacing[3];
<a name="l00167"></a><a class="code" href="a00836.html#e3a2e4d9084f448bca88866749eb4983">00167</a>   <span class="keywordtype">double</span> Origin[3];
<a name="l00169"></a>00169   
<a name="l00170"></a><a class="code" href="a00836.html#f13dc68152da8f5e455630c4ad360941">00170</a>   <span class="keywordtype">int</span> Extent[6];
<a name="l00171"></a>00171 
<a name="l00173"></a>00173 
<a name="l00174"></a><a class="code" href="a00836.html#0594bc1e8186c038c5778ea941af9526">00174</a>   <span class="keywordtype">int</span> NumberOfExtentEntries;
<a name="l00175"></a><a class="code" href="a00836.html#97382fd42c4e713e7033c1440e375a80">00175</a>   <span class="keywordtype">int</span> *ExtentListLengths;
<a name="l00176"></a><a class="code" href="a00836.html#87d52b0888975d11cfbd06be9645d969">00176</a>   <span class="keywordtype">int</span> **ExtentLists;
<a name="l00178"></a>00178 <span class="keyword">private</span>:
<a name="l00179"></a>00179   <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>(<span class="keyword">const</span> <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00180"></a>00180   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00181"></a>00181 };
<a name="l00182"></a>00182 
<a name="l00183"></a>00183 <span class="preprocessor">#endif</span>
<a name="l00184"></a>00184 <span class="preprocessor"></span>
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:35 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>