<!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: itkFEMFiniteDifferenceFunctionLoad.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_16b0d2d22c345042f35cebae66b36010.html">Algorithms</a> </div> <div class="contents"> <h1>itkFEMFiniteDifferenceFunctionLoad.h</h1><a href="itkFEMFiniteDifferenceFunctionLoad_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: itkFEMFiniteDifferenceFunctionLoad.h,v $</span> <a name="l00005"></a>00005 <span class="comment"> Language: C++</span> <a name="l00006"></a>00006 <span class="comment"> Date: $Date: 2008-12-21 19:13:10 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.5 $</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"> This software is distributed WITHOUT ANY WARRANTY; without even</span> <a name="l00013"></a>00013 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span> <a name="l00014"></a>00014 <span class="comment"> PURPOSE. See the above copyright notices for more information.</span> <a name="l00015"></a>00015 <span class="comment"></span> <a name="l00016"></a>00016 <span class="comment">=========================================================================*/</span> <a name="l00017"></a>00017 <span class="preprocessor">#ifndef __itkFEMFiniteDifferenceFunctionLoad_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkFEMFiniteDifferenceFunctionLoad_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkFEMLoadElementBase_8h.html">itkFEMLoadElementBase.h</a>"</span> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkImage_8h.html">itkImage.h</a>"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkTranslationTransform_8h.html">itkTranslationTransform.h</a>"</span> <a name="l00024"></a>00024 <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkImageRegionIteratorWithIndex_8h.html">itkImageRegionIteratorWithIndex.h</a>"</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkNeighborhoodIterator_8h.html">itkNeighborhoodIterator.h</a>"</span> <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itkNeighborhoodIterator_8h.html">itkNeighborhoodIterator.h</a>"</span> <a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="itkNeighborhoodInnerProduct_8h.html">itkNeighborhoodInnerProduct.h</a>"</span> <a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="itkDerivativeOperator_8h.html">itkDerivativeOperator.h</a>"</span> <a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="itkForwardDifferenceOperator_8h.html">itkForwardDifferenceOperator.h</a>"</span> <a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="itkLinearInterpolateImageFunction_8h.html">itkLinearInterpolateImageFunction.h</a>"</span> <a name="l00032"></a>00032 <span class="preprocessor">#include "vnl/vnl_math.h"</span> <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="itkDemonsRegistrationFunction_8h.html">itkDemonsRegistrationFunction.h</a>"</span> <a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="itkMeanSquareRegistrationFunction_8h.html">itkMeanSquareRegistrationFunction.h</a>"</span> <a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="itkNCCRegistrationFunction_8h.html">itkNCCRegistrationFunction.h</a>"</span> <a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="itkMIRegistrationFunction_8h.html">itkMIRegistrationFunction.h</a>"</span> <a name="l00038"></a>00038 <a name="l00039"></a>00039 <span class="keyword">namespace </span>itk <a name="l00040"></a>00040 { <a name="l00041"></a><a class="code" href="namespaceitk_1_1fem.html">00041</a> <span class="keyword">namespace </span>fem <a name="l00042"></a>00042 { <a name="l00043"></a>00043 <a name="l00063"></a>00063 <span class="keyword">template</span><<span class="keyword">class</span> TMoving,<span class="keyword">class</span> TFixed> <a name="l00064"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html">00064</a> <span class="keyword">class </span><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html" title="General image pair load that uses the itkFiniteDifferenceFunctions.">FiniteDifferenceFunctionLoad</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1fem_1_1LoadElement.html" title="Virtual element load base class.">LoadElement</a> <a name="l00065"></a>00065 { <a name="l00066"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#2e7b05cd0635b95dbf471407d4c8654f">00066</a> <a class="code" href="itkFEMMacro_8h.html#a6412b85156702b319322aa9a908209d" title="Defines typedefs for pointers to class.">FEM_CLASS</a>(<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html" title="General image pair load that uses the itkFiniteDifferenceFunctions.">FiniteDifferenceFunctionLoad</a>,<a class="code" href="classitk_1_1fem_1_1LoadElement.html" title="Virtual element load base class.">LoadElement</a>) <a name="l00067"></a>00067 public: <a name="l00068"></a>00068 <a name="l00069"></a>00069 <span class="comment">// Necessary typedefs for dealing with images BEGIN</span> <a name="l00070"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">00070</a> typedef typename <a class="code" href="classitk_1_1fem_1_1LoadElement.html" title="Virtual element load base class.">LoadElement</a>::<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a>; <a name="l00071"></a>00071 <a name="l00072"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#839a1117adf74ad2ed796ef08f121ba8">00072</a> typedef TMoving <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#839a1117adf74ad2ed796ef08f121ba8">MovingImageType</a>; <a name="l00073"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#1eb7ac586581c41c6153363956abff90">00073</a> typedef typename MovingImageType::<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html" title="General image pair load that uses the itkFiniteDifferenceFunctions.">ConstPointer</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#1eb7ac586581c41c6153363956abff90">MovingConstPointer</a>; <a name="l00074"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a076ad69b3e9fd6320075f8fbcbe9915">00074</a> typedef MovingImageType* <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a076ad69b3e9fd6320075f8fbcbe9915">MovingPointer</a>; <a name="l00075"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a7d15560dd3a6491bf9414c16b3aaaff">00075</a> typedef TFixed <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a7d15560dd3a6491bf9414c16b3aaaff">FixedImageType</a>; <a name="l00076"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#5db8e111c1a40fccf5820b0aeba9ef9d">00076</a> typedef FixedImageType* <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#5db8e111c1a40fccf5820b0aeba9ef9d">FixedPointer</a>; <a name="l00077"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#c3807cf83927d5ef1d815a3393cc1de0">00077</a> typedef typename FixedImageType::<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html" title="General image pair load that uses the itkFiniteDifferenceFunctions.">ConstPointer</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#c3807cf83927d5ef1d815a3393cc1de0">FixedConstPointer</a>; <a name="l00078"></a>00078 <a name="l00080"></a>00080 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#7fa92ab2470117031e9c4437f94cecc2">itkStaticConstMacro</a>(ImageDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, <a name="l00081"></a>00081 MovingImageType::ImageDimension); <a name="l00082"></a>00082 <a name="l00083"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#6029da109eb5a2699cdc0ddf43a93c03">00083</a> typedef <a class="code" href="classitk_1_1ImageRegionIteratorWithIndex.html" title="A multi-dimensional iterator templated over image type that walks pixels within a...">ImageRegionIteratorWithIndex</a><MovingImageType> <a class="code" href="classitk_1_1ImageRegionIteratorWithIndex.html" title="A multi-dimensional iterator templated over image type that walks pixels within a...">MovingRegionIteratorType</a>; <a name="l00084"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#96f12159106d956d4e0cd86c42a444b2">00084</a> typedef <a class="code" href="classitk_1_1ImageRegionIteratorWithIndex.html" title="A multi-dimensional iterator templated over image type that walks pixels within a...">ImageRegionIteratorWithIndex</a><FixedImageType> <a class="code" href="classitk_1_1ImageRegionIteratorWithIndex.html" title="A multi-dimensional iterator templated over image type that walks pixels within a...">FixedRegionIteratorType</a>; <a name="l00085"></a>00085 <a name="l00086"></a>00086 <a name="l00087"></a>00087 typedef <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">NeighborhoodIterator</a><MovingImageType> <a name="l00088"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#c9b2ebc932489e84a147fafb277d4bdc">00088</a> <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">MovingNeighborhoodIteratorType</a>; <a name="l00089"></a>00089 typedef typename <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">MovingNeighborhoodIteratorType</a>::<a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> <a name="l00090"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#6f1400685c97c9f367448dff4098c8e9">00090</a> <a class="code" href="classitk_1_1Index.html">MovingNeighborhoodIndexType</a>; <a name="l00091"></a>00091 typedef typename <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">MovingNeighborhoodIteratorType</a>::<a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">RadiusType</a> <a name="l00092"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#41b7305274d2e862304d062c56337f72">00092</a> <a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">MovingRadiusType</a>; <a name="l00093"></a>00093 typedef typename <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">MovingNeighborhoodIteratorType</a>::<a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">RadiusType</a> <a name="l00094"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#aff524cab541bd70dac42c47259740bd">00094</a> <a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">RadiusType</a>; <a name="l00095"></a>00095 typedef <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">NeighborhoodIterator</a><FixedImageType> <a name="l00096"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#8fa77bcf3ac5a1f5832af20fd6e430d5">00096</a> <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">FixedNeighborhoodIteratorType</a>; <a name="l00097"></a>00097 typedef typename <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">FixedNeighborhoodIteratorType</a>::<a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> <a name="l00098"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#6778f0a9db00d0db29f1fa0b68c70378">00098</a> <a class="code" href="classitk_1_1Index.html">FixedNeighborhoodIndexType</a>; <a name="l00099"></a>00099 typedef typename <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">FixedNeighborhoodIteratorType</a>::<a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">RadiusType</a> <a name="l00100"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#832276cb8f139ab0e95fe9e3497ddb09">00100</a> <a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">FixedRadiusType</a>; <a name="l00101"></a>00101 <a name="l00102"></a>00102 <a name="l00103"></a>00103 <span class="comment">// IMAGE DATA</span> <a name="l00104"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#db1ef92830fdfa59a37e916244500d38">00104</a> typedef typename MovingImageType::<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#d5d7089084b149ca8f03f88c7b2604b9">PixelType</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#db1ef92830fdfa59a37e916244500d38">MovingPixelType</a>; <a name="l00105"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#2f35bb4cc27d807c62d972980e2a3f17">00105</a> typedef typename FixedImageType::<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#d5d7089084b149ca8f03f88c7b2604b9">PixelType</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#2f35bb4cc27d807c62d972980e2a3f17">FixedPixelType</a>; <a name="l00106"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#d5d7089084b149ca8f03f88c7b2604b9">00106</a> typedef Float <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#d5d7089084b149ca8f03f88c7b2604b9">PixelType</a>; <a name="l00107"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#1e383ea0e5d84a06aadbe8981ec9b634">00107</a> typedef Float <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#1e383ea0e5d84a06aadbe8981ec9b634">ComputationType</a>; <a name="l00108"></a>00108 typedef <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>< PixelType, <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(ImageDimension) > <a name="l00109"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#92c9182174998006b6a688ed9ede71a9">00109</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">ImageType</a>; <a name="l00110"></a>00110 typedef itk::<a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">Vector</a><<span class="keywordtype">float</span>,<a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(ImageDimension)> <a name="l00111"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a2e7dd7001a16830002500b2dd49157b">00111</a> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">VectorType</a>; <a name="l00112"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#9e65996f6150c2be049541bf0bc96ecf">00112</a> typedef <a class="code" href="classvnl__vector.html">vnl_vector</a><Float> <a class="code" href="classvnl__vector.html">FEMVectorType</a>; <a name="l00113"></a>00113 typedef <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>< <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">VectorType</a>, <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(ImageDimension) > <a name="l00114"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#d56ec3a4ca01919eb0f2b05e0bc89e7e">00114</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">DeformationFieldType</a>; <a name="l00115"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#b556853705156c197be1a9a19a40a79d">00115</a> typedef typename <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">DeformationFieldType</a>::<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html" title="General image pair load that uses the itkFiniteDifferenceFunctions.">Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">DeformationFieldTypePointer</a>; <a name="l00116"></a>00116 <a name="l00117"></a>00117 <a name="l00118"></a>00118 typedef <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">NeighborhoodIterator</a><<a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">DeformationFieldType</a>> <a name="l00119"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#bb3efd01c11b910999d69c14ea3b7740">00119</a> <a class="code" href="classitk_1_1NeighborhoodIterator.html" title="Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image...">FieldIteratorType</a>; <a name="l00120"></a>00120 <a name="l00121"></a>00121 <span class="comment">// Necessary typedefs for dealing with images END</span> <a name="l00122"></a>00122 <a name="l00124"></a>00124 typedef <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">PDEDeformableRegistrationFunction</a><FixedImageType,MovingImageType, <a name="l00125"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#9a4c88f0f2d145b9fde1ada4f912b218">00125</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">DeformationFieldType</a>> <a class="code" href="classitk_1_1PDEDeformableRegistrationFunction.html">FiniteDifferenceFunctionType</a>; <a name="l00126"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a584f4bbe258eb1e92114ee7762bfccc">00126</a> typedef typename FiniteDifferenceFunctionType::<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html" title="General image pair load that uses the itkFiniteDifferenceFunctions.">Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">FiniteDifferenceFunctionTypePointer</a>; <a name="l00127"></a>00127 <a name="l00128"></a>00128 <a name="l00129"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#856f2b75e5e085926b69d27a2d193c94">00129</a> typedef typename FiniteDifferenceFunctionType::<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#856f2b75e5e085926b69d27a2d193c94">TimeStepType</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#856f2b75e5e085926b69d27a2d193c94">TimeStepType</a>; <a name="l00130"></a>00130 <a name="l00131"></a>00131 typedef <a class="code" href="classitk_1_1MeanSquareRegistrationFunction.html">MeanSquareRegistrationFunction</a><FixedImageType,MovingImageType, <a name="l00132"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#fb843da47037c0f4a8ab2d03dafa3a71">00132</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">DeformationFieldType</a>> <a class="code" href="classitk_1_1MeanSquareRegistrationFunction.html">MeanSquareRegistrationFunctionType</a>; <a name="l00133"></a>00133 <a name="l00134"></a>00134 typedef <a class="code" href="classitk_1_1DemonsRegistrationFunction.html">DemonsRegistrationFunction</a><FixedImageType,MovingImageType, <a name="l00135"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#bbe951060d27605b2246f54d1844fb59">00135</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">DeformationFieldType</a>> <a class="code" href="classitk_1_1DemonsRegistrationFunction.html">DemonsRegistrationFunctionType</a>; <a name="l00136"></a>00136 <a name="l00137"></a>00137 typedef <a class="code" href="classitk_1_1NCCRegistrationFunction.html">NCCRegistrationFunction</a><FixedImageType,MovingImageType, <a name="l00138"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#be2a2e52c147fdd054312a03cf01148d">00138</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">DeformationFieldType</a>> <a class="code" href="classitk_1_1NCCRegistrationFunction.html">NCCRegistrationFunctionType</a>; <a name="l00139"></a>00139 <a name="l00140"></a>00140 typedef <a class="code" href="classitk_1_1MIRegistrationFunction.html">MIRegistrationFunction</a><FixedImageType,MovingImageType, <a name="l00141"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#4082724b3c4ee9928bebc8bd15aaac6d">00141</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">DeformationFieldType</a>> <a class="code" href="classitk_1_1MIRegistrationFunction.html">MIRegistrationFunctionType</a>; <a name="l00142"></a>00142 <a name="l00143"></a>00143 <span class="comment">// FUNCTIONS</span> <a name="l00144"></a>00144 <a name="l00145"></a>00145 <span class="comment">/* This method sets the pointer to a FiniteDifferenceFunction object that</span> <a name="l00146"></a>00146 <span class="comment"> * will be used by the filter to calculate updates at image pixels.</span> <a name="l00147"></a>00147 <span class="comment"> * \returns A FiniteDifferenceObject pointer. */</span> <a name="l00148"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0a39408124fa33d7f5aa3b9babd07229">00148</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0a39408124fa33d7f5aa3b9babd07229">SetDifferenceFunction</a>( FiniteDifferenceFunctionTypePointer drfp) <a name="l00149"></a>00149 { <a name="l00150"></a>00150 drfp->SetFixedImage(m_FixedImage); <a name="l00151"></a>00151 drfp->SetMovingImage(m_MovingImage); <a name="l00152"></a>00152 drfp->SetRadius(m_MetricRadius); <a name="l00153"></a>00153 drfp->SetDeformationField(m_DeformationField); <a name="l00154"></a>00154 drfp->InitializeIteration(); <a name="l00155"></a>00155 this->m_DifferenceFunction=drfp; <a name="l00156"></a>00156 } <a name="l00157"></a>00157 <a name="l00158"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#507688728523ad3194efeb6c6f0bb5c1">00158</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#507688728523ad3194efeb6c6f0bb5c1">SetMetric</a>( <a class="code" href="classitk_1_1SmartPointer.html">FiniteDifferenceFunctionTypePointer</a> drfp ) <a name="l00159"></a>00159 { <a name="l00160"></a>00160 this-><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0a39408124fa33d7f5aa3b9babd07229">SetDifferenceFunction</a>( static_cast<FiniteDifferenceFunctionType *>( <a name="l00161"></a>00161 drfp.<a class="code" href="classitk_1_1SmartPointer.html#0734d2308d93e0ca10199b79531db5de">GetPointer</a>() ) ); <a name="l00162"></a>00162 <a name="l00163"></a>00163 m_FixedSize=m_DeformationField->GetLargestPossibleRegion().GetSize(); <a name="l00164"></a>00164 } <a name="l00165"></a>00165 <a name="l00167"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#8dcb53f4954e6202b300ad7aa71ba17e">00167</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#8dcb53f4954e6202b300ad7aa71ba17e">SetMovingImage</a>(<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#839a1117adf74ad2ed796ef08f121ba8">MovingImageType</a>* R) <a name="l00168"></a>00168 { <a name="l00169"></a>00169 m_MovingImage = R; <a name="l00170"></a>00170 m_MovingSize=m_MovingImage->GetLargestPossibleRegion().GetSize(); <a name="l00171"></a>00171 <span class="keywordflow">if</span> (this->m_DifferenceFunction) this->m_DifferenceFunction->SetMovingImage(m_MovingImage); <a name="l00172"></a>00172 }; <a name="l00174"></a>00174 <a name="l00175"></a>00175 <a name="l00177"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a7c42d348e23c610a9286c19abb974bd">00177</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a7c42d348e23c610a9286c19abb974bd">SetFixedImage</a>(<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a7d15560dd3a6491bf9414c16b3aaaff">FixedImageType</a>* T) <a name="l00178"></a>00178 { <a name="l00179"></a>00179 m_FixedImage=T; <a name="l00180"></a>00180 m_FixedSize=T->GetLargestPossibleRegion().GetSize(); <a name="l00181"></a>00181 <span class="keywordflow">if</span> (this->m_DifferenceFunction) <a name="l00182"></a>00182 { <a name="l00183"></a>00183 this->m_DifferenceFunction->SetFixedImage(m_MovingImage); <a name="l00184"></a>00184 } <a name="l00185"></a>00185 } <a name="l00187"></a>00187 <a name="l00188"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0794966e9d295e3318793dd25a3024bb">00188</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a076ad69b3e9fd6320075f8fbcbe9915">MovingPointer</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0794966e9d295e3318793dd25a3024bb">GetMovingImage</a>() <a name="l00189"></a>00189 { <a name="l00190"></a>00190 <span class="keywordflow">return</span> m_MovingImage; <a name="l00191"></a>00191 } <a name="l00192"></a>00192 <a name="l00193"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#b045b7996eb1f65b9fdcc055d795f819">00193</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#5db8e111c1a40fccf5820b0aeba9ef9d">FixedPointer</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#b045b7996eb1f65b9fdcc055d795f819">GetFixedImage</a>() <a name="l00194"></a>00194 { <a name="l00195"></a>00195 <span class="keywordflow">return</span> m_FixedImage; <a name="l00196"></a>00196 } <a name="l00197"></a>00197 <a name="l00199"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#3a44a97e7c3c3debdfa927c525a39878">00199</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#3a44a97e7c3c3debdfa927c525a39878">SetMetricRadius</a>(<a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">MovingRadiusType</a> T) <a name="l00200"></a>00200 { <a name="l00201"></a>00201 m_MetricRadius = T; <a name="l00202"></a>00202 } <a name="l00203"></a>00203 <a name="l00205"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#2f16f911c39fdb84c834ba846b8c3777">00205</a> <a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">MovingRadiusType</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#2f16f911c39fdb84c834ba846b8c3777">GetMetricRadius</a>() <a name="l00206"></a>00206 { <a name="l00207"></a>00207 <span class="keywordflow">return</span> m_MetricRadius; <a name="l00208"></a>00208 } <a name="l00209"></a>00209 <a name="l00214"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#eb9da2fa7f2e564126bbe5297e3667c6">00214</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#eb9da2fa7f2e564126bbe5297e3667c6">SetNumberOfIntegrationPoints</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i) <a name="l00215"></a>00215 { <a name="l00216"></a>00216 m_NumberOfIntegrationPoints=i; <a name="l00217"></a>00217 } <a name="l00218"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#295d520b379ccc7ecd627179f5dd7064">00218</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#295d520b379ccc7ecd627179f5dd7064">GetNumberOfIntegrationPoints</a>() <a name="l00219"></a>00219 { <a name="l00220"></a>00220 <span class="keywordflow">return</span> m_NumberOfIntegrationPoints; <a name="l00221"></a>00221 } <a name="l00223"></a>00223 <a name="l00227"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#d7f7cbb8a6892e5b0c333b0e7e62b1d5">00227</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#d7f7cbb8a6892e5b0c333b0e7e62b1d5">SetSign</a>(<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> s) <a name="l00228"></a>00228 { <a name="l00229"></a>00229 m_Sign=s; <a name="l00230"></a>00230 } <a name="l00231"></a>00231 <a name="l00233"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#319a8cc0447e48e37b398fdce2717667">00233</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#319a8cc0447e48e37b398fdce2717667">SetTemp</a>(<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> s) <a name="l00234"></a>00234 { <a name="l00235"></a>00235 m_Temp=s; <a name="l00236"></a>00236 } <a name="l00237"></a>00237 <a name="l00238"></a>00238 <a name="l00240"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#88056fb82fbdc59af64b1ec57cdc9cb3">00240</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#88056fb82fbdc59af64b1ec57cdc9cb3">SetGamma</a>(<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> s) <a name="l00241"></a>00241 { <a name="l00242"></a>00242 m_Gamma=s; <a name="l00243"></a>00243 } <a name="l00244"></a>00244 <a name="l00245"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0697aeaca5e520d0de957e0f36ccd451">00245</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0697aeaca5e520d0de957e0f36ccd451">SetSolution</a>(<a class="code" href="classitk_1_1fem_1_1Solution.html" title="Provides functions to access the values of the solution vector.">Solution::ConstPointer</a> ptr) <a name="l00246"></a>00246 { <a name="l00247"></a>00247 m_Solution=ptr; <a name="l00248"></a>00248 } <a name="l00249"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#c1428e312af96582bf9905dca4b49ebf">00249</a> <a class="code" href="classitk_1_1fem_1_1Solution.html" title="Provides functions to access the values of the solution vector.">Solution::ConstPointer</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#c1428e312af96582bf9905dca4b49ebf">GetSolution</a>() <a name="l00250"></a>00250 { <a name="l00251"></a>00251 <span class="keywordflow">return</span> m_Solution; <a name="l00252"></a>00252 } <a name="l00253"></a>00253 <a name="l00254"></a>00254 <span class="comment">// FIXME - WE ASSUME THE 2ND VECTOR (INDEX 1) HAS THE INFORMATION WE WANT</span> <a name="l00255"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#8de238a109365020a3212b0e25ee7a02">00255</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#c1428e312af96582bf9905dca4b49ebf">GetSolution</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i,<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> which=0) <a name="l00256"></a>00256 { <a name="l00257"></a>00257 <span class="keywordflow">return</span> m_Solution-><a class="code" href="classitk_1_1fem_1_1Solution.html#4d4ea59c159d3d809bd5f7cb83f44818">GetSolutionValue</a>(i,which); <a name="l00258"></a>00258 } <a name="l00259"></a>00259 <a name="l00260"></a>00260 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a2678cb9f9fada9b5241a09aa7976eda">FiniteDifferenceFunctionLoad</a>(); <span class="comment">// cannot be private until we always use smart pointers</span> <a name="l00261"></a>00261 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#2389180a5e95b1a176c88e407a7995e4">EvaluateMetricGivenSolution</a> ( <a class="code" href="classitk_1_1fem_1_1FEMPArray.html" title="Array for FEMP objects.">Element::ArrayType</a>* el, <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> step=1.0); <a name="l00262"></a>00262 <a name="l00266"></a>00266 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a2e7dd7001a16830002500b2dd49157b">VectorType</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#bfa06d17ed647de117e9a79de320037d">Fe1</a>(<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a2e7dd7001a16830002500b2dd49157b">VectorType</a>); <a name="l00267"></a>00267 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#9e65996f6150c2be049541bf0bc96ecf">FEMVectorType</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0d73f30ec885f02e1160c102b7fb303d">Fe</a>(<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#9e65996f6150c2be049541bf0bc96ecf">FEMVectorType</a>,<a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#9e65996f6150c2be049541bf0bc96ecf">FEMVectorType</a>); <a name="l00269"></a>00269 <a name="l00270"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#625466e06b7173c57d5f789d522ea832">00270</a> <span class="keyword">static</span> <a class="code" href="classitk_1_1fem_1_1FEMLightObject.html" title="Base class for all classes that define the FEM system.">Baseclass</a>* <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#625466e06b7173c57d5f789d522ea832">NewFiniteDifferenceFunctionLoad</a>(<span class="keywordtype">void</span>) <a name="l00271"></a>00271 { <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html" title="General image pair load that uses the itkFiniteDifferenceFunctions.">FiniteDifferenceFunctionLoad</a>; } <a name="l00272"></a>00272 <a name="l00273"></a>00273 <a name="l00275"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0d6681db5fa30a79a829de0f4aca87e8">00275</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#0d6681db5fa30a79a829de0f4aca87e8">SetDeformationField</a>( <a class="code" href="classitk_1_1SmartPointer.html">DeformationFieldTypePointer</a> df) <a name="l00276"></a>00276 { m_DeformationField=df;} <a name="l00277"></a>00277 <a name="l00279"></a><a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#447a2a1bbea902d36f3701f69bee425a">00279</a> <a class="code" href="classitk_1_1SmartPointer.html">DeformationFieldTypePointer</a> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#447a2a1bbea902d36f3701f69bee425a">GetDeformationField</a>() { <span class="keywordflow">return</span> m_DeformationField;} <a name="l00280"></a>00280 <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#e1633164603ba2ff7c641fcef08d8ceb">InitializeIteration</a>(); <a name="l00281"></a>00281 <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#ab5806c1fbe3204a1280c16c585b210c">InitializeMetric</a>(); <a name="l00283"></a>00283 <a name="l00284"></a>00284 <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#755e09cf657fb78795e415f45ffbc43e">PrintCurrentEnergy</a>(); <a name="l00285"></a>00285 <span class="keywordtype">double</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#b8a0a8856f513b7f3d568a5c36ecdf51">GetCurrentEnergy</a>(); <a name="l00286"></a>00286 <span class="keywordtype">void</span> <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#813a2209a051c395f7af28772ede4e2e">SetCurrentEnergy</a>( <span class="keywordtype">double</span> e = 0.0); <a name="l00287"></a>00287 <a name="l00288"></a>00288 <span class="keyword">protected</span>: <a name="l00289"></a>00289 <a name="l00290"></a>00290 <a name="l00291"></a>00291 <span class="keyword">private</span>: <a name="l00292"></a>00292 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a076ad69b3e9fd6320075f8fbcbe9915">MovingPointer</a> m_MovingImage; <a name="l00293"></a>00293 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#5db8e111c1a40fccf5820b0aeba9ef9d">FixedPointer</a> m_FixedImage; <a name="l00295"></a>00295 <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">MovingImageType::SizeType</a> m_MovingSize; <a name="l00296"></a>00296 <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">FixedImageType::SizeType</a> m_FixedSize; <a name="l00297"></a>00297 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_NumberOfIntegrationPoints; <a name="l00298"></a>00298 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_SolutionIndex; <a name="l00299"></a>00299 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_SolutionIndex2; <a name="l00300"></a>00300 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> m_Temp; <a name="l00301"></a>00301 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#581069756054607a8249d3db7b458701">Float</a> m_Gamma; <a name="l00302"></a>00302 <span class="keyword">typename</span> <a class="code" href="classitk_1_1fem_1_1Solution.html" title="Provides functions to access the values of the solution vector.">Solution::ConstPointer</a> m_Solution; <a name="l00303"></a>00303 <a name="l00304"></a>00304 <span class="keywordtype">float</span> m_GradSigma; <a name="l00305"></a>00305 <span class="keywordtype">float</span> m_Sign; <a name="l00306"></a>00306 <span class="keywordtype">float</span> m_WhichMetric; <a name="l00307"></a>00307 <a class="code" href="classitk_1_1fem_1_1FiniteDifferenceFunctionLoad.html#a584f4bbe258eb1e92114ee7762bfccc">FiniteDifferenceFunctionTypePointer</a> m_DifferenceFunction; <a name="l00308"></a>00308 <a name="l00309"></a>00309 <span class="keyword">typename</span> <a class="code" href="classitk_1_1Image.html#2577f4dcf08637785a9ee2fb45f38a7c">DeformationFieldType::Pointer</a> m_DeformationField; <a name="l00312"></a>00312 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> m_DummyCLID; <a name="l00313"></a>00313 <a name="l00314"></a>00314 }; <a name="l00315"></a>00315 <a name="l00316"></a>00316 } <a name="l00317"></a>00317 } <span class="comment">// end namespace fem/itk</span> <a name="l00318"></a>00318 <a name="l00319"></a>00319 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00320"></a>00320 <span class="preprocessor"></span><span class="preprocessor">#include "itkFEMFiniteDifferenceFunctionLoad.txx"</span> <a name="l00321"></a>00321 <span class="preprocessor">#endif</span> <a name="l00322"></a>00322 <span class="preprocessor"></span> <a name="l00323"></a>00323 <span class="preprocessor">#endif</span> <a name="l00324"></a>00324 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 22:41:53 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>