<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ITK: itkBSplineInterpolateImageFunction.h Source File</title> <link href="DoxygenStyle.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 --> <center> <a href="index.html" class="qindex">Main Page</a> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <a href="pages.html" class="qindex">Concepts</a></center> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="dir_02e23d841c198393a6e961e9a0678fff.html">Code</a> » <a class="el" href="dir_00ffda33c24cbbf617b202f4f3bcb7e8.html">BasicFilters</a> </div> <div class="contents"> <h1>itkBSplineInterpolateImageFunction.h</h1><a href="itkBSplineInterpolateImageFunction_8h.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: Insight Segmentation & Registration Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: itkBSplineInterpolateImageFunction.h,v $</span> <a name="l00005"></a>00005 <span class="comment"> Language: C++</span> <a name="l00006"></a>00006 <span class="comment"> Date: $Date: 2009-01-28 17:52:26 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.23 $</span> <a name="l00008"></a>00008 <span class="comment"></span> <a name="l00009"></a>00009 <span class="comment"> Copyright (c) Insight Software Consortium. All rights reserved.</span> <a name="l00010"></a>00010 <span class="comment"> See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.</span> <a name="l00011"></a>00011 <span class="comment"></span> <a name="l00012"></a>00012 <span class="comment"> Portions of this code are covered under the VTK copyright.</span> <a name="l00013"></a>00013 <span class="comment"> See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.</span> <a name="l00014"></a>00014 <span class="comment"></span> <a name="l00015"></a>00015 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even </span> <a name="l00016"></a>00016 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR </span> <a name="l00017"></a>00017 <span class="comment"> PURPOSE. See the above copyright notices for more information.</span> <a name="l00018"></a>00018 <span class="comment"></span> <a name="l00019"></a>00019 <span class="comment">=========================================================================*/</span> <a name="l00020"></a>00020 <span class="preprocessor">#ifndef __itkBSplineInterpolateImageFunction_h</span> <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define __itkBSplineInterpolateImageFunction_h</span> <a name="l00022"></a>00022 <span class="preprocessor"></span> <a name="l00023"></a>00023 <span class="comment">// First make sure that the configuration is available.</span> <a name="l00024"></a>00024 <span class="comment">// This line can be removed once the optimized versions</span> <a name="l00025"></a>00025 <span class="comment">// gets integrated into the main directories.</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "itkConfigure.h"</span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="preprocessor">#ifdef ITK_USE_OPTIMIZED_REGISTRATION_METHODS</span> <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="itkOptBSplineInterpolateImageFunction_8h.html">itkOptBSplineInterpolateImageFunction.h</a>"</span> <a name="l00030"></a>00030 <span class="preprocessor">#else</span> <a name="l00031"></a>00031 <span class="preprocessor"></span> <a name="l00032"></a>00032 <span class="preprocessor">#include <vector></span> <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="itkImageLinearIteratorWithIndex_8h.html">itkImageLinearIteratorWithIndex.h</a>"</span> <a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="itkInterpolateImageFunction_8h.html">itkInterpolateImageFunction.h</a>"</span> <a name="l00036"></a>00036 <span class="preprocessor">#include "vnl/vnl_matrix.h"</span> <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="itkBSplineDecompositionImageFilter_8h.html">itkBSplineDecompositionImageFilter.h</a>"</span> <a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="itkConceptChecking_8h.html">itkConceptChecking.h</a>"</span> <a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="itkCovariantVector_8h.html">itkCovariantVector.h</a>"</span> <a name="l00041"></a>00041 <a name="l00042"></a>00042 <span class="keyword">namespace </span>itk <a name="l00043"></a>00043 { <a name="l00077"></a>00077 <span class="keyword">template</span> < <a name="l00078"></a>00078 <span class="keyword">class </span>TImageType, <a name="l00079"></a>00079 <span class="keyword">class </span>TCoordRep = double, <a name="l00080"></a>00080 <span class="keyword">class </span>TCoefficientType = <span class="keywordtype">double</span> > <a name="l00081"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html">00081</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html" title="Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5...">BSplineInterpolateImageFunction</a> : <a name="l00082"></a>00082 <span class="keyword">public</span> <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolateImageFunction</a><TImageType,TCoordRep> <a name="l00083"></a>00083 { <a name="l00084"></a>00084 <span class="keyword">public</span>: <a name="l00086"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#382faf0d36ce76592dd022bd2056e117">00086</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html" title="Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5...">BSplineInterpolateImageFunction</a> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>; <a name="l00087"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#6ad40dacc0645450a660d0eb33d6b478">00087</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1InterpolateImageFunction.html">InterpolateImageFunction<TImageType,TCoordRep></a> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>; <a name="l00088"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#40266843bf2feb416753e14878532404">00088</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<Self></a> <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>; <a name="l00089"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#2bdbf9c202bae2fb2f3dcb2900f2dfdf">00089</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<const Self></a> <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>; <a name="l00090"></a>00090 <a name="l00092"></a>00092 <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html" title="Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5...">BSplineInterpolateImageFunction</a>, <a class="code" href="classitk_1_1InterpolateImageFunction.html" title="Base class for all image interpolaters.">InterpolateImageFunction</a>); <a name="l00093"></a>00093 <a name="l00094"></a>00094 <a name="l00096"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#e64f04bfe0bcbd436e511993b9f27e07">00096</a> <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>( <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a> ); <a name="l00097"></a>00097 <a name="l00099"></a>00099 <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OutputType OutputType; <a name="l00100"></a>00100 <a name="l00102"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#3e6be840819f6d1218d089bfedbe7732">00102</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">Superclass::InputImageType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">InputImageType</a>; <a name="l00103"></a>00103 <a name="l00105"></a>00105 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(ImageDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,Superclass::ImageDimension); <a name="l00106"></a>00106 <a name="l00108"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#cc55092cd3c87e3db5c41920f3949ec6">00108</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">Superclass::IndexType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>; <a name="l00109"></a>00109 <a name="l00111"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#be425e47bfa96df5954117dfcdc04005">00111</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::ContinuousIndexType ContinuousIndexType; <a name="l00112"></a>00112 <a name="l00114"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#27a512c79649b8eb27c50ac9b1f139c6">00114</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::PointType PointType; <a name="l00115"></a>00115 <a name="l00117"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#3b1f345abe274e451dda5be976d7950c">00117</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageLinearIteratorWithIndex.html">ImageLinearIteratorWithIndex<TImageType></a> <a class="code" href="classitk_1_1ImageLinearIteratorWithIndex.html">Iterator</a>; <a name="l00118"></a>00118 <a name="l00120"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#68a68ff11bccf28add103af655e192fc">00120</a> <span class="keyword">typedef</span> TCoefficientType CoefficientDataType; <a name="l00121"></a>00121 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a><CoefficientDataType, <a name="l00122"></a>00122 <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(ImageDimension) <a name="l00123"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#273f4f89aff5f986eb8494ddc010a044">00123</a> > <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">CoefficientImageType</a>; <a name="l00124"></a>00124 <a name="l00126"></a>00126 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1BSplineDecompositionImageFilter.html" title="Calculates the B-Spline coefficients of an image. Spline order may be from 0 to 5...">BSplineDecompositionImageFilter<TImageType, CoefficientImageType></a> <a name="l00127"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#2f8e85abda8dc6a4083ca49c76310c82">00127</a> <a class="code" href="classitk_1_1BSplineDecompositionImageFilter.html" title="Calculates the B-Spline coefficients of an image. Spline order may be from 0 to 5...">CoefficientFilter</a>; <a name="l00128"></a>00128 <a name="l00129"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#a1c1fc41a943aaa32f6d00b524f054e2">00129</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">CoefficientFilter::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">CoefficientFilterPointer</a>; <a name="l00130"></a>00130 <a name="l00139"></a>00139 <span class="keyword">virtual</span> OutputType EvaluateAtContinuousIndex( <a name="l00140"></a>00140 <span class="keyword">const</span> ContinuousIndexType & index ) <span class="keyword">const</span>; <a name="l00141"></a>00141 <a name="l00143"></a>00143 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVector</a><OutputType, <a name="l00144"></a>00144 <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(ImageDimension) <a name="l00145"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#cc9c6f6453ef06c24a8148a418b2a6af">00145</a> > <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVectorType</a>; <a name="l00146"></a>00146 <a name="l00147"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#d28c897551270b8a9f599b4eb616709d">00147</a> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVectorType</a> EvaluateDerivative( <span class="keyword">const</span> PointType & point )<span class="keyword"> const</span> <a name="l00148"></a>00148 <span class="keyword"> </span>{ <a name="l00149"></a>00149 ContinuousIndexType index; <a name="l00150"></a>00150 this->GetInputImage()->TransformPhysicalPointToContinuousIndex( point, index ); <a name="l00151"></a>00151 <span class="keywordflow">return</span> ( this->EvaluateDerivativeAtContinuousIndex( index ) ); <a name="l00152"></a>00152 } <a name="l00153"></a>00153 <a name="l00154"></a>00154 CovariantVectorType EvaluateDerivativeAtContinuousIndex( <a name="l00155"></a>00155 <span class="keyword">const</span> ContinuousIndexType & x ) <span class="keyword">const</span>; <a name="l00156"></a>00156 <a name="l00157"></a>00157 <a name="l00160"></a>00160 <span class="keywordtype">void</span> SetSplineOrder(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> SplineOrder); <a name="l00161"></a>00161 <a class="code" href="itkMacro_8h.html#89294335d94b115d40e2603f2fff7950">itkGetConstMacro</a>(SplineOrder, <span class="keywordtype">int</span>); <a name="l00163"></a>00163 <a name="l00164"></a>00164 <a name="l00166"></a>00166 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetInputImage(<span class="keyword">const</span> TImageType * inputData); <a name="l00167"></a>00167 <a name="l00168"></a>00168 <a name="l00181"></a>00181 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( UseImageDirection, <span class="keywordtype">bool</span> ); <a name="l00182"></a>00182 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( UseImageDirection, <span class="keywordtype">bool</span> ); <a name="l00183"></a>00183 <a class="code" href="itkMacro_8h.html#9e7d129ffebb09fd28bc213e02d87248">itkBooleanMacro</a>( UseImageDirection ); <a name="l00185"></a>00185 <a name="l00186"></a>00186 <a name="l00187"></a>00187 <span class="keyword">protected</span>: <a name="l00188"></a>00188 <a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html" title="Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5...">BSplineInterpolateImageFunction</a>(); <a name="l00189"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#c34b0f27b616ab4e6afda90f71109be5">00189</a> <span class="keyword">virtual</span> <a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#c34b0f27b616ab4e6afda90f71109be5">~BSplineInterpolateImageFunction</a>() {}; <a name="l00190"></a>00190 <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream& os, <a class="code" href="classitk_1_1Indent.html" title="Control indentation during Print() invocation.">Indent</a> indent) <span class="keyword">const</span>; <a name="l00191"></a>00191 <a name="l00192"></a>00192 <span class="comment">// These are needed by the smoothing spline routine.</span> <a name="l00193"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#4b7f8edfa4cf75433b4d396d13ffdbbc">00193</a> std::vector<CoefficientDataType> m_Scratch; <span class="comment">// temp storage for processing of Coefficients</span> <a name="l00194"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#edb3d4b24acb72b9e82d0bd6dc8c4534">00194</a> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">TImageType::SizeType</a> m_DataLength; <span class="comment">// Image size</span> <a name="l00195"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#af36e142bffea7f0b88cee1dd6094cd6">00195</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_SplineOrder; <span class="comment">// User specified spline order (3rd or cubic is the default)</span> <a name="l00196"></a>00196 <a name="l00197"></a><a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html#fb168a718a17cc44aae15017cda2e485">00197</a> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">CoefficientImageType::ConstPointer</a> m_Coefficients; <span class="comment">// Spline coefficients </span> <a name="l00198"></a>00198 <a name="l00199"></a>00199 <span class="keyword">private</span>: <a name="l00200"></a>00200 <a class="code" href="classitk_1_1BSplineInterpolateImageFunction.html" title="Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5...">BSplineInterpolateImageFunction</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>& ); <span class="comment">//purposely not implemented</span> <a name="l00201"></a>00201 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>& ); <span class="comment">//purposely not implemented</span> <a name="l00202"></a>00202 <a name="l00204"></a>00204 <span class="keywordtype">void</span> SetInterpolationWeights( <span class="keyword">const</span> ContinuousIndexType & x, <a name="l00205"></a>00205 <span class="keyword">const</span> <a class="code" href="classvnl__matrix.html">vnl_matrix<long></a> & EvaluateIndex, <a name="l00206"></a>00206 <a class="code" href="classvnl__matrix.html">vnl_matrix<double></a> & weights, <a name="l00207"></a>00207 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> splineOrder ) <span class="keyword">const</span>; <a name="l00208"></a>00208 <a name="l00210"></a>00210 <span class="keywordtype">void</span> SetDerivativeWeights( <span class="keyword">const</span> ContinuousIndexType & x, <a name="l00211"></a>00211 <span class="keyword">const</span> <a class="code" href="classvnl__matrix.html">vnl_matrix<long></a> & EvaluateIndex, <a name="l00212"></a>00212 <a class="code" href="classvnl__matrix.html">vnl_matrix<double></a> & weights, <a name="l00213"></a>00213 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> splineOrder ) <span class="keyword">const</span>; <a name="l00214"></a>00214 <a name="l00217"></a>00217 <span class="keywordtype">void</span> GeneratePointsToIndex( ); <a name="l00218"></a>00218 <a name="l00220"></a>00220 <span class="keywordtype">void</span> DetermineRegionOfSupport( <a class="code" href="classvnl__matrix.html">vnl_matrix<long></a> & evaluateIndex, <a name="l00221"></a>00221 <span class="keyword">const</span> ContinuousIndexType & x, <a name="l00222"></a>00222 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> splineOrder ) <span class="keyword">const</span>; <a name="l00223"></a>00223 <a name="l00226"></a>00226 <span class="keywordtype">void</span> ApplyMirrorBoundaryConditions(<a class="code" href="classvnl__matrix.html">vnl_matrix<long></a> & evaluateIndex, <a name="l00227"></a>00227 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> splineOrder) <span class="keyword">const</span>; <a name="l00228"></a>00228 <a name="l00229"></a>00229 <a name="l00230"></a>00230 <a class="code" href="classitk_1_1ImageLinearIteratorWithIndex.html">Iterator</a> m_CIterator; <span class="comment">// Iterator for traversing spline coefficients.</span> <a name="l00231"></a>00231 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> m_MaxNumberInterpolationPoints; <span class="comment">// number of neighborhood points used for interpolation</span> <a name="l00232"></a>00232 std::vector<IndexType> m_PointsToIndex; <span class="comment">// Preallocation of interpolation neighborhood indicies</span> <a name="l00233"></a>00233 <a name="l00234"></a>00234 <a class="code" href="classitk_1_1SmartPointer.html">CoefficientFilterPointer</a> m_CoefficientFilter; <a name="l00235"></a>00235 <a name="l00236"></a>00236 <span class="comment">// flag to take or not the image direction into account when computing the</span> <a name="l00237"></a>00237 <span class="comment">// derivatives.</span> <a name="l00238"></a>00238 <span class="keywordtype">bool</span> m_UseImageDirection; <a name="l00239"></a>00239 <a name="l00240"></a>00240 }; <a name="l00241"></a>00241 <a name="l00242"></a>00242 } <span class="comment">// namespace itk</span> <a name="l00243"></a>00243 <a name="l00244"></a>00244 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00245"></a>00245 <span class="preprocessor"></span><span class="preprocessor">#include "itkBSplineInterpolateImageFunction.txx"</span> <a name="l00246"></a>00246 <span class="preprocessor">#endif</span> <a name="l00247"></a>00247 <span class="preprocessor"></span> <a name="l00248"></a>00248 <span class="preprocessor">#endif</span> <a name="l00249"></a>00249 <span class="preprocessor"></span> <a name="l00250"></a>00250 <span class="preprocessor">#endif</span> <a name="l00251"></a>00251 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 22:19:58 2009 for ITK by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53> </a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2000</small></address> </body> </html>