Sophie

Sophie

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

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/vtkImageReslice.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/vtkImageReslice.h</h1><a href="a02949.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: vtkImageReslice.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="l00054"></a>00054 <span class="preprocessor">#ifndef __vtkImageReslice_h</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#define __vtkImageReslice_h</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span>
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 <span class="preprocessor">#include "<a class="code" href="a02384.html">vtkThreadedImageAlgorithm.h</a>"</span>
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 <span class="comment">// interpolation mode constants</span>
<a name="l00061"></a><a class="code" href="a02949.html#1df056e87d6c90a281f7b8dc322fcfad">00061</a> <span class="preprocessor">#define VTK_RESLICE_NEAREST 0</span>
<a name="l00062"></a><a class="code" href="a02949.html#ea331bc13ac63f723886672126fe7f08">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_RESLICE_LINEAR 1</span>
<a name="l00063"></a><a class="code" href="a02949.html#f82ff468d469321ed64a27b505549e8d">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_RESLICE_RESERVED_2 2</span>
<a name="l00064"></a><a class="code" href="a02949.html#0169d5688a998c2d710cb607cf9baaaa">00064</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_RESLICE_CUBIC 3</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span>
<a name="l00066"></a>00066 <span class="keyword">class </span><a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>;
<a name="l00067"></a>00067 <span class="keyword">class </span><a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a>;
<a name="l00068"></a>00068 <span class="keyword">class </span><a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a>;
<a name="l00069"></a>00069 <span class="keyword">class </span><a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a>;
<a name="l00070"></a>00070 
<a name="l00071"></a><a class="code" href="a00820.html">00071</a> <span class="keyword">class </span><a class="code" href="a02170.html#3e7fe2912c56d9dbe95c57272a61f15f">VTK_IMAGING_EXPORT</a> <a class="code" href="a00820.html" title="Reslices a volume along a new set of axes.">vtkImageReslice</a> : <span class="keyword">public</span> <a class="code" href="a01705.html" title="Generic filter that has one input..">vtkThreadedImageAlgorithm</a>
<a name="l00072"></a>00072 {
<a name="l00073"></a>00073 <span class="keyword">public</span>:
<a name="l00074"></a>00074   <span class="keyword">static</span> <a class="code" href="a00820.html" title="Reslices a volume along a new set of axes.">vtkImageReslice</a> *<a class="code" href="a00101.html#06d80d8d4aa1a4856135fa003845be82">New</a>();
<a name="l00075"></a><a class="code" href="a00820.html#925cf0c4e5caf96560ecd6b6ed26f6d1">00075</a>   vtkTypeRevisionMacro(<a class="code" href="a00820.html" title="Reslices a volume along a new set of axes.">vtkImageReslice</a>, <a class="code" href="a01705.html" title="Generic filter that has one input..">vtkThreadedImageAlgorithm</a>);
<a name="l00076"></a>00076 
<a name="l00077"></a>00077   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01705.html#53dc14a03ab6cffae0ca5cadb2c6d172">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00078"></a>00078 
<a name="l00080"></a>00080 
<a name="l00092"></a>00092   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetResliceAxes(<a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a>*);
<a name="l00093"></a>00093   vtkGetObjectMacro(ResliceAxes, <a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a>);
<a name="l00095"></a>00095 
<a name="l00097"></a>00097 
<a name="l00101"></a>00101   <span class="keywordtype">void</span> SetResliceAxesDirectionCosines(<span class="keywordtype">double</span> x0, <span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> x2,
<a name="l00102"></a>00102                                       <span class="keywordtype">double</span> y0, <span class="keywordtype">double</span> y1, <span class="keywordtype">double</span> y2,
<a name="l00103"></a>00103                                       <span class="keywordtype">double</span> z0, <span class="keywordtype">double</span> z1, <span class="keywordtype">double</span> z2);
<a name="l00104"></a><a class="code" href="a00820.html#017a47dabdce6d82d9ca488c2322cf05">00104</a>   <span class="keywordtype">void</span> SetResliceAxesDirectionCosines(<span class="keyword">const</span> <span class="keywordtype">double</span> x[3],
<a name="l00105"></a>00105                                       <span class="keyword">const</span> <span class="keywordtype">double</span> y[3],
<a name="l00106"></a>00106                                       <span class="keyword">const</span> <span class="keywordtype">double</span> z[3]) {
<a name="l00107"></a>00107     this-&gt;SetResliceAxesDirectionCosines(x[0], x[1], x[2],
<a name="l00108"></a>00108                                          y[0], y[1], y[2],
<a name="l00109"></a>00109                                          z[0], z[1], z[2]); };
<a name="l00110"></a><a class="code" href="a00820.html#0ec4f0250a41cf69311c705f1e2ea0f9">00110</a>   <span class="keywordtype">void</span> SetResliceAxesDirectionCosines(<span class="keyword">const</span> <span class="keywordtype">double</span> xyz[9]) {
<a name="l00111"></a>00111     this-&gt;SetResliceAxesDirectionCosines(xyz[0], xyz[1], xyz[2],
<a name="l00112"></a>00112                                          xyz[3], xyz[4], xyz[5],
<a name="l00113"></a>00113                                          xyz[6], xyz[7], xyz[8]); };
<a name="l00114"></a>00114   <span class="keywordtype">void</span> GetResliceAxesDirectionCosines(<span class="keywordtype">double</span> x[3], <span class="keywordtype">double</span> y[3], <span class="keywordtype">double</span> z[3]);
<a name="l00115"></a><a class="code" href="a00820.html#44ebb69ac7c7edb62b78f37664428618">00115</a>   <span class="keywordtype">void</span> GetResliceAxesDirectionCosines(<span class="keywordtype">double</span> xyz[9]) {
<a name="l00116"></a>00116     this-&gt;GetResliceAxesDirectionCosines(&amp;xyz[0], &amp;xyz[3], &amp;xyz[6]); };
<a name="l00117"></a><a class="code" href="a00820.html#5fa54773f89837f37ab7469b913753a4">00117</a>   <span class="keywordtype">double</span> *GetResliceAxesDirectionCosines() {
<a name="l00118"></a>00118     this-&gt;GetResliceAxesDirectionCosines(this-&gt;ResliceAxesDirectionCosines);
<a name="l00119"></a>00119     <span class="keywordflow">return</span> this-&gt;ResliceAxesDirectionCosines; };
<a name="l00121"></a>00121 
<a name="l00123"></a>00123 
<a name="l00126"></a>00126   <span class="keywordtype">void</span> SetResliceAxesOrigin(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z);
<a name="l00127"></a><a class="code" href="a00820.html#402a77e27f6a2042490c0be75d5dc686">00127</a>   <span class="keywordtype">void</span> SetResliceAxesOrigin(<span class="keyword">const</span> <span class="keywordtype">double</span> xyz[3]) {
<a name="l00128"></a>00128     this-&gt;SetResliceAxesOrigin(xyz[0], xyz[1], xyz[2]); };
<a name="l00129"></a>00129   <span class="keywordtype">void</span> GetResliceAxesOrigin(<span class="keywordtype">double</span> xyz[3]);
<a name="l00130"></a><a class="code" href="a00820.html#07e4a8285d63eb668be8a8f4e9de2421">00130</a>   <span class="keywordtype">double</span> *GetResliceAxesOrigin() {
<a name="l00131"></a>00131     this-&gt;GetResliceAxesOrigin(this-&gt;ResliceAxesOrigin);
<a name="l00132"></a>00132     <span class="keywordflow">return</span> this-&gt;ResliceAxesOrigin; };
<a name="l00134"></a>00134 
<a name="l00136"></a>00136 
<a name="l00143"></a>00143   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetResliceTransform(<a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a>*);
<a name="l00144"></a>00144   vtkGetObjectMacro(ResliceTransform, <a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a>);
<a name="l00146"></a>00146 
<a name="l00148"></a>00148 
<a name="l00154"></a>00154   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetInformationInput(<a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>*);
<a name="l00155"></a>00155   vtkGetObjectMacro(InformationInput, <a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>);
<a name="l00157"></a>00157 
<a name="l00159"></a>00159 
<a name="l00163"></a>00163   vtkSetMacro(TransformInputSampling, <span class="keywordtype">int</span>);
<a name="l00164"></a>00164   vtkBooleanMacro(TransformInputSampling, <span class="keywordtype">int</span>);
<a name="l00165"></a>00165   vtkGetMacro(TransformInputSampling, <span class="keywordtype">int</span>);
<a name="l00167"></a>00167 
<a name="l00169"></a>00169 
<a name="l00172"></a>00172   vtkSetMacro(AutoCropOutput, <span class="keywordtype">int</span>);
<a name="l00173"></a>00173   vtkBooleanMacro(AutoCropOutput, <span class="keywordtype">int</span>);
<a name="l00174"></a>00174   vtkGetMacro(AutoCropOutput, <span class="keywordtype">int</span>);
<a name="l00176"></a>00176 
<a name="l00178"></a>00178 
<a name="l00179"></a>00179   vtkSetMacro(Wrap, <span class="keywordtype">int</span>);
<a name="l00180"></a>00180   vtkGetMacro(Wrap, <span class="keywordtype">int</span>);
<a name="l00181"></a>00181   vtkBooleanMacro(Wrap, <span class="keywordtype">int</span>);
<a name="l00183"></a>00183 
<a name="l00185"></a>00185 
<a name="l00187"></a>00187   vtkSetMacro(Mirror, <span class="keywordtype">int</span>);
<a name="l00188"></a>00188   vtkGetMacro(Mirror, <span class="keywordtype">int</span>);
<a name="l00189"></a>00189   vtkBooleanMacro(Mirror, <span class="keywordtype">int</span>);
<a name="l00191"></a>00191 
<a name="l00193"></a>00193 
<a name="l00200"></a>00200   vtkSetMacro(Border, <span class="keywordtype">int</span>);
<a name="l00201"></a>00201   vtkGetMacro(Border, <span class="keywordtype">int</span>);
<a name="l00202"></a>00202   vtkBooleanMacro(Border, <span class="keywordtype">int</span>);
<a name="l00204"></a>00204 
<a name="l00206"></a>00206 
<a name="l00207"></a>00207   vtkSetClampMacro(InterpolationMode, <span class="keywordtype">int</span>,
<a name="l00208"></a>00208                    <a class="code" href="a02949.html#1df056e87d6c90a281f7b8dc322fcfad">VTK_RESLICE_NEAREST</a>, <a class="code" href="a02949.html#0169d5688a998c2d710cb607cf9baaaa">VTK_RESLICE_CUBIC</a>);
<a name="l00209"></a>00209   vtkGetMacro(InterpolationMode, <span class="keywordtype">int</span>);
<a name="l00210"></a><a class="code" href="a00820.html#cce2675f4d8725fae15c5fbc9aeaf2e7">00210</a>   <span class="keywordtype">void</span> SetInterpolationModeToNearestNeighbor() {
<a name="l00211"></a>00211     this-&gt;SetInterpolationMode(<a class="code" href="a02949.html#1df056e87d6c90a281f7b8dc322fcfad">VTK_RESLICE_NEAREST</a>); };
<a name="l00212"></a><a class="code" href="a00820.html#f1d3a6e4041d59c7437d17b8a7a60756">00212</a>   <span class="keywordtype">void</span> SetInterpolationModeToLinear() {
<a name="l00213"></a>00213     this-&gt;SetInterpolationMode(<a class="code" href="a02949.html#ea331bc13ac63f723886672126fe7f08">VTK_RESLICE_LINEAR</a>); };
<a name="l00214"></a><a class="code" href="a00820.html#639d31bbdfc31d1a85cbacd830bf1f1c">00214</a>   <span class="keywordtype">void</span> SetInterpolationModeToCubic() {
<a name="l00215"></a>00215     this-&gt;SetInterpolationMode(<a class="code" href="a02949.html#0169d5688a998c2d710cb607cf9baaaa">VTK_RESLICE_CUBIC</a>); };
<a name="l00216"></a>00216   <span class="keyword">const</span> <span class="keywordtype">char</span> *GetInterpolationModeAsString();
<a name="l00218"></a>00218 
<a name="l00220"></a>00220 
<a name="l00222"></a>00222   vtkSetMacro(Optimization, <span class="keywordtype">int</span>);
<a name="l00223"></a>00223   vtkGetMacro(Optimization, <span class="keywordtype">int</span>);
<a name="l00224"></a>00224   vtkBooleanMacro(Optimization, <span class="keywordtype">int</span>);
<a name="l00226"></a>00226 
<a name="l00228"></a>00228 
<a name="l00229"></a>00229   vtkSetVector4Macro(BackgroundColor, <span class="keywordtype">double</span>);
<a name="l00230"></a>00230   vtkGetVector4Macro(BackgroundColor, <span class="keywordtype">double</span>);
<a name="l00232"></a>00232 
<a name="l00234"></a>00234 
<a name="l00235"></a><a class="code" href="a00820.html#e7e49081800db82478d645dcc00ff75d">00235</a>   <span class="keywordtype">void</span> SetBackgroundLevel(<span class="keywordtype">double</span> v) { this-&gt;SetBackgroundColor(v,v,v,v); };
<a name="l00236"></a><a class="code" href="a00820.html#806ab71d0c0984cac0b7e538738da8f1">00236</a>   <span class="keywordtype">double</span> GetBackgroundLevel() { <span class="keywordflow">return</span> this-&gt;GetBackgroundColor()[0]; };
<a name="l00238"></a>00238 
<a name="l00240"></a>00240 
<a name="l00242"></a>00242   vtkSetVector3Macro(OutputSpacing, <span class="keywordtype">double</span>);
<a name="l00243"></a>00243   vtkGetVector3Macro(OutputSpacing, <span class="keywordtype">double</span>);
<a name="l00244"></a><a class="code" href="a00820.html#5637b6baa5f4e3e013dc801786e8dd29">00244</a>   <span class="keywordtype">void</span> SetOutputSpacingToDefault() {
<a name="l00245"></a>00245     this-&gt;SetOutputSpacing(<a class="code" href="a02149.html#a933eb1ff8ef089de59cce7b41e21261">VTK_DOUBLE_MAX</a>, <a class="code" href="a02149.html#a933eb1ff8ef089de59cce7b41e21261">VTK_DOUBLE_MAX</a>, <a class="code" href="a02149.html#a933eb1ff8ef089de59cce7b41e21261">VTK_DOUBLE_MAX</a>); };
<a name="l00247"></a>00247 
<a name="l00249"></a>00249 
<a name="l00251"></a>00251   vtkSetVector3Macro(OutputOrigin, <span class="keywordtype">double</span>);
<a name="l00252"></a>00252   vtkGetVector3Macro(OutputOrigin, <span class="keywordtype">double</span>);
<a name="l00253"></a><a class="code" href="a00820.html#eb186627608be28e24f5dc0f9e607739">00253</a>   <span class="keywordtype">void</span> SetOutputOriginToDefault() {
<a name="l00254"></a>00254     this-&gt;SetOutputOrigin(<a class="code" href="a02149.html#a933eb1ff8ef089de59cce7b41e21261">VTK_DOUBLE_MAX</a>, <a class="code" href="a02149.html#a933eb1ff8ef089de59cce7b41e21261">VTK_DOUBLE_MAX</a>, <a class="code" href="a02149.html#a933eb1ff8ef089de59cce7b41e21261">VTK_DOUBLE_MAX</a>); };
<a name="l00256"></a>00256 
<a name="l00258"></a>00258 
<a name="l00260"></a>00260   vtkSetVector6Macro(OutputExtent, <span class="keywordtype">int</span>);
<a name="l00261"></a>00261   vtkGetVector6Macro(OutputExtent, <span class="keywordtype">int</span>);
<a name="l00262"></a><a class="code" href="a00820.html#cd32a0fe5b467990c4540e9f91efefe8">00262</a>   <span class="keywordtype">void</span> SetOutputExtentToDefault() {
<a name="l00263"></a>00263     this-&gt;SetOutputExtent(<a class="code" href="a02149.html#604cdf986a38179d2840b01d52239b29">VTK_INT_MIN</a>, <a class="code" href="a02149.html#f0ba85e5e5ccbbc44fbe1d494dc47399">VTK_INT_MAX</a>,
<a name="l00264"></a>00264                           <a class="code" href="a02149.html#604cdf986a38179d2840b01d52239b29">VTK_INT_MIN</a>, <a class="code" href="a02149.html#f0ba85e5e5ccbbc44fbe1d494dc47399">VTK_INT_MAX</a>,
<a name="l00265"></a>00265                           <a class="code" href="a02149.html#604cdf986a38179d2840b01d52239b29">VTK_INT_MIN</a>, <a class="code" href="a02149.html#f0ba85e5e5ccbbc44fbe1d494dc47399">VTK_INT_MAX</a>); };
<a name="l00267"></a>00267 
<a name="l00269"></a>00269 
<a name="l00275"></a>00275   vtkSetMacro(OutputDimensionality, <span class="keywordtype">int</span>);
<a name="l00276"></a>00276   vtkGetMacro(OutputDimensionality, <span class="keywordtype">int</span>);
<a name="l00278"></a>00278 
<a name="l00281"></a>00281   <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="l00282"></a>00282 
<a name="l00284"></a>00284   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00101.html#2640547007328b99cfb851143f0f706d">ReportReferences</a>(<a class="code" href="a00572.html" title="Detect and break reference loops.">vtkGarbageCollector</a>*);
<a name="l00285"></a>00285 
<a name="l00287"></a>00287 
<a name="l00292"></a><a class="code" href="a00820.html#d0ff02a824959d80d1caa87ab1ab92a0">00292</a>   <span class="keywordtype">void</span> SetInterpolate(<span class="keywordtype">int</span> t) {
<a name="l00293"></a>00293     <span class="keywordflow">if</span> (t &amp;&amp; !this-&gt;GetInterpolate()) {
<a name="l00294"></a>00294       this-&gt;SetInterpolationModeToLinear(); }
<a name="l00295"></a>00295     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!t &amp;&amp; this-&gt;GetInterpolate()) {
<a name="l00296"></a>00296       this-&gt;SetInterpolationModeToNearestNeighbor(); } };
<a name="l00297"></a><a class="code" href="a00820.html#3b65dd7d4f2a4d96e6d5f11f4b983d8c">00297</a>   <span class="keywordtype">void</span> InterpolateOn() {
<a name="l00298"></a>00298     this-&gt;SetInterpolate(1); };
<a name="l00299"></a><a class="code" href="a00820.html#00007c847583bbc03e9b84bde85a4423">00299</a>   <span class="keywordtype">void</span> InterpolateOff() {
<a name="l00300"></a>00300     this-&gt;SetInterpolate(0); };
<a name="l00301"></a><a class="code" href="a00820.html#7264d37201113e82c7f58cc1c73a79ee">00301</a>   <span class="keywordtype">int</span> GetInterpolate() {
<a name="l00302"></a>00302     <span class="keywordflow">return</span> (this-&gt;GetInterpolationMode() != <a class="code" href="a02949.html#1df056e87d6c90a281f7b8dc322fcfad">VTK_RESLICE_NEAREST</a>); };
<a name="l00304"></a>00304 
<a name="l00306"></a>00306 
<a name="l00309"></a>00309   <span class="keywordtype">void</span> SetStencil(<a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> *stencil);
<a name="l00310"></a>00310   <a class="code" href="a00836.html" title="efficient description of an image stencil">vtkImageStencilData</a> *GetStencil();
<a name="l00312"></a>00312 
<a name="l00313"></a>00313 <span class="keyword">protected</span>:
<a name="l00314"></a>00314   <a class="code" href="a00820.html" title="Reslices a volume along a new set of axes.">vtkImageReslice</a>();
<a name="l00315"></a>00315   ~<a class="code" href="a00820.html" title="Reslices a volume along a new set of axes.">vtkImageReslice</a>();
<a name="l00316"></a>00316 
<a name="l00317"></a><a class="code" href="a00820.html#af562fac6811c83ff2e43961da3c559d">00317</a>   <a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a> *ResliceAxes;
<a name="l00318"></a><a class="code" href="a00820.html#58494d22924f8e8ab2bcf4cc4c3260b2">00318</a>   <span class="keywordtype">double</span> ResliceAxesDirectionCosines[9];
<a name="l00319"></a><a class="code" href="a00820.html#581871838a86280e643db3023a447e7b">00319</a>   <span class="keywordtype">double</span> ResliceAxesOrigin[3];
<a name="l00320"></a><a class="code" href="a00820.html#bd5ee6ae5c895aae87d82f6327b8119f">00320</a>   <a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a> *ResliceTransform;
<a name="l00321"></a><a class="code" href="a00820.html#dd95c8fa738aef8a3d68e5feebef4a19">00321</a>   <a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a> *InformationInput;
<a name="l00322"></a><a class="code" href="a00820.html#1ef22f61ddcf97bbc4fc39b3486c7b33">00322</a>   <span class="keywordtype">int</span> Wrap;
<a name="l00323"></a><a class="code" href="a00820.html#f50c7ab8488f6615d5a8ce36b5294ce8">00323</a>   <span class="keywordtype">int</span> Mirror;
<a name="l00324"></a><a class="code" href="a00820.html#c8896db75db4232116b9026ae44d67bd">00324</a>   <span class="keywordtype">int</span> Border;
<a name="l00325"></a><a class="code" href="a00820.html#b9f214a0fd3e633e4e219956b982788e">00325</a>   <span class="keywordtype">int</span> InterpolationMode;
<a name="l00326"></a><a class="code" href="a00820.html#4dc5b46fe6d2c0883c6e9d66f9de2e27">00326</a>   <span class="keywordtype">int</span> Optimization;
<a name="l00327"></a><a class="code" href="a00820.html#0668ee0f5da55814e0da03cac955d94e">00327</a>   <span class="keywordtype">double</span> BackgroundColor[4];
<a name="l00328"></a><a class="code" href="a00820.html#ed1dd6d2baaab401e7ff731a765904b7">00328</a>   <span class="keywordtype">double</span> OutputOrigin[3];
<a name="l00329"></a><a class="code" href="a00820.html#151fa1dc0eb615ad4a80575b0cb370be">00329</a>   <span class="keywordtype">double</span> OutputSpacing[3];
<a name="l00330"></a><a class="code" href="a00820.html#2de9df5b14db80ee6169824545338739">00330</a>   <span class="keywordtype">int</span> OutputExtent[6];
<a name="l00331"></a><a class="code" href="a00820.html#aaa38dbc89b38bb5bfd42f8779cd95ce">00331</a>   <span class="keywordtype">int</span> OutputDimensionality;
<a name="l00332"></a><a class="code" href="a00820.html#8dfacd02b9ceccc85cdf963ca67badf2">00332</a>   <span class="keywordtype">int</span> TransformInputSampling;
<a name="l00333"></a><a class="code" href="a00820.html#2815ae27bcfa628c953cddeb8b8d1a31">00333</a>   <span class="keywordtype">int</span> AutoCropOutput;
<a name="l00334"></a><a class="code" href="a00820.html#3877dae7396ed21eb18b934d55523f6f">00334</a>   <span class="keywordtype">int</span> HitInputExtent;
<a name="l00335"></a>00335 
<a name="l00336"></a><a class="code" href="a00820.html#9c063121dd8b58e03426c14d7cacd948">00336</a>   <a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a> *IndexMatrix;
<a name="l00337"></a><a class="code" href="a00820.html#947267ca5cb3be2dc8f94c46f7192683">00337</a>   <a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a> *OptimizedTransform;
<a name="l00338"></a>00338 
<a name="l00339"></a>00339   <span class="keywordtype">void</span> GetAutoCroppedOutputBounds(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *inInfo, <span class="keywordtype">double</span> bounds[6]);
<a name="l00340"></a>00340   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00727.html#b739abd84881f7e31a8a382bf5a06a91">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 name="l00341"></a>00341                                  <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *);
<a name="l00342"></a>00342   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00727.html#442e91c5e549f40acffb0941846cb047">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 name="l00343"></a>00343                                   <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *);
<a name="l00344"></a>00344   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01705.html#dda52b8ad4b703ee11c76b916accbb42">ThreadedRequestData</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *request,
<a name="l00345"></a>00345                                    <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> **inputVector,
<a name="l00346"></a>00346                                    <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *outputVector,
<a name="l00347"></a>00347                                    <a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a> ***inData,
<a name="l00348"></a>00348                                    <a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a> **outData, <span class="keywordtype">int</span> ext[6], <span class="keywordtype">int</span> <span class="keywordtype">id</span>);
<a name="l00349"></a>00349   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00727.html#7abefdbb585c2e27ebc314c894c87f74">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="l00350"></a>00350 
<a name="l00351"></a>00351   <a class="code" href="a00998.html" title="represent and manipulate 4x4 transformation matrices">vtkMatrix4x4</a> *GetIndexMatrix(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *inInfo,
<a name="l00352"></a>00352                                <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *outInfo);
<a name="l00353"></a><a class="code" href="a00820.html#b28d2cb3da71c1e074e7440b10ed79e5">00353</a>   <a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a> *GetOptimizedTransform() { 
<a name="l00354"></a>00354     <span class="keywordflow">return</span> this-&gt;OptimizedTransform; };
<a name="l00355"></a>00355 
<a name="l00356"></a>00356 <span class="keyword">private</span>:
<a name="l00357"></a>00357   <a class="code" href="a00820.html" title="Reslices a volume along a new set of axes.">vtkImageReslice</a>(<span class="keyword">const</span> <a class="code" href="a00820.html" title="Reslices a volume along a new set of axes.">vtkImageReslice</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00358"></a>00358   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00820.html" title="Reslices a volume along a new set of axes.">vtkImageReslice</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00359"></a>00359 };
<a name="l00360"></a>00360 
<a name="l00361"></a>00361 <span class="comment">//----------------------------------------------------------------------------</span>
<a name="l00362"></a><a class="code" href="a00820.html#365d4ab228593b19bd7732551cd65642">00362</a> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00820.html#365d4ab228593b19bd7732551cd65642">vtkImageReslice::GetInterpolationModeAsString</a>()
<a name="l00363"></a>00363 {
<a name="l00364"></a>00364   <span class="keywordflow">switch</span> (this-&gt;<a class="code" href="a00820.html#b9f214a0fd3e633e4e219956b982788e">InterpolationMode</a>)
<a name="l00365"></a>00365     {
<a name="l00366"></a>00366     <span class="keywordflow">case</span> <a class="code" href="a02949.html#1df056e87d6c90a281f7b8dc322fcfad">VTK_RESLICE_NEAREST</a>:
<a name="l00367"></a>00367       <span class="keywordflow">return</span> <span class="stringliteral">"NearestNeighbor"</span>;
<a name="l00368"></a>00368     <span class="keywordflow">case</span> <a class="code" href="a02949.html#ea331bc13ac63f723886672126fe7f08">VTK_RESLICE_LINEAR</a>:
<a name="l00369"></a>00369       <span class="keywordflow">return</span> <span class="stringliteral">"Linear"</span>;
<a name="l00370"></a>00370     <span class="keywordflow">case</span> <a class="code" href="a02949.html#f82ff468d469321ed64a27b505549e8d">VTK_RESLICE_RESERVED_2</a>:
<a name="l00371"></a>00371       <span class="keywordflow">return</span> <span class="stringliteral">"ReservedValue"</span>;
<a name="l00372"></a>00372     <span class="keywordflow">case</span> <a class="code" href="a02949.html#0169d5688a998c2d710cb607cf9baaaa">VTK_RESLICE_CUBIC</a>:
<a name="l00373"></a>00373       <span class="keywordflow">return</span> <span class="stringliteral">"Cubic"</span>;
<a name="l00374"></a>00374     <span class="keywordflow">default</span>:
<a name="l00375"></a>00375       <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00376"></a>00376     }
<a name="l00377"></a>00377 }  
<a name="l00378"></a>00378 
<a name="l00379"></a>00379 <span class="preprocessor">#endif</span>
<a name="l00380"></a>00380 <span class="preprocessor"></span>
<a name="l00381"></a>00381 
<a name="l00382"></a>00382 
<a name="l00383"></a>00383 
<a name="l00384"></a>00384 
</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>