Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d5e74628f0e673bb8680aebce32b2c04 > files > 16270

itk-doc-3.12.0-1mdv2010.0.i586.rpm

<!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: itkKernelTransform.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>&nbsp;&nbsp; 
<a href="modules.html" class="qindex">Groups</a>&nbsp;&nbsp;
<a href="namespaces.html" class="qindex">Namespace List</a>&nbsp;&nbsp;
<a href="hierarchy.html" class="qindex">Class Hierarchy</a>&nbsp;&nbsp;
<a href="classes.html" class="qindex">Alphabetical List</a>&nbsp;&nbsp;
<a href="annotated.html" class="qindex">Compound List</a>&nbsp;&nbsp; 
<a href="files.html" class="qindex">File
List</a>&nbsp;&nbsp; 
<a href="namespacemembers.html" class="qindex">Namespace Members</a>&nbsp;&nbsp; 
<a href="functions.html" class="qindex">Compound Members</a>&nbsp;&nbsp; 
<a href="globals.html" class="qindex">File Members</a>&nbsp;&nbsp;
<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>&nbsp;&raquo&nbsp;<a class="el" href="dir_ea7fc529ede9a38b0438cf13831ae873.html">Common</a>
  </div>
<div class="contents">
<h1>itkKernelTransform.h</h1><a href="itkKernelTransform_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 &amp; Registration Toolkit</span>
<a name="l00004"></a>00004 <span class="comment">  Module:    $RCSfile: itkKernelTransform.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-02-05 19:04:58 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.47 $</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 __itkKernelTransform_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkKernelTransform_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkTransform_8h.html">itkTransform.h</a>"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkPoint_8h.html">itkPoint.h</a>"</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkVector_8h.html">itkVector.h</a>"</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkMatrix_8h.html">itkMatrix.h</a>"</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkPointSet_8h.html">itkPointSet.h</a>"</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;deque&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;math.h&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "vnl/vnl_matrix_fixed.h"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include "vnl/vnl_matrix.h"</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include "vnl/vnl_vector.h"</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include "vnl/vnl_vector_fixed.h"</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "vnl/algo/vnl_svd.h"</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include "vnl/vnl_sample.h"</span>
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="keyword">namespace </span>itk
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036 
<a name="l00062"></a>00062 <span class="keyword">template</span> &lt;<span class="keyword">class </span>TScalarType, <span class="comment">// probably only float and double make sense here</span>
<a name="l00063"></a>00063           <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> NDimensions&gt;   <span class="comment">// Number of dimensions</span>
<a name="l00064"></a><a class="code" href="classitk_1_1KernelTransform.html">00064</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</a> : 
<a name="l00065"></a>00065                     <span class="keyword">public</span> <a class="code" href="classitk_1_1Transform.html" title="Transform points and vector from an input space to an output space.">Transform</a>&lt;TScalarType, NDimensions,NDimensions&gt;
<a name="l00066"></a>00066 {
<a name="l00067"></a>00067 <span class="keyword">public</span>:
<a name="l00069"></a><a class="code" href="classitk_1_1KernelTransform.html#ba54e20673b84c7ad49625d2d691eaa3">00069</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</a>                                   <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Self</a>;
<a name="l00070"></a><a class="code" href="classitk_1_1KernelTransform.html#333a69d499a363ee2b88e6f8db1a33a1">00070</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Transform.html">Transform&lt;TScalarType, NDimensions, NDimensions &gt;</a> <a class="code" href="classitk_1_1LightObject.html" title="Light weight base class for most itk classes.">Superclass</a>;
<a name="l00071"></a><a class="code" href="classitk_1_1KernelTransform.html#39370db05a5d83509ae8e76fa700a5e5">00071</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer&lt;Self&gt;</a>                                <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>;
<a name="l00072"></a><a class="code" href="classitk_1_1KernelTransform.html#731b9b4473d8d19b841e24ca4640a2b6">00072</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer&lt;const Self&gt;</a>                          <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>;
<a name="l00073"></a>00073 
<a name="l00075"></a>00075   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>( <a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</a>, <a class="code" href="classitk_1_1Transform.html" title="Transform points and vector from an input space to an output space.">Transform</a> );
<a name="l00076"></a>00076 
<a name="l00078"></a>00078   <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="l00079"></a>00079 
<a name="l00081"></a>00081   <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(SpaceDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, NDimensions);
<a name="l00082"></a>00082 
<a name="l00084"></a><a class="code" href="classitk_1_1KernelTransform.html#b4d1116a74a16f8927db559730a311fe">00084</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::ScalarType  ScalarType;
<a name="l00085"></a>00085 
<a name="l00087"></a><a class="code" href="classitk_1_1KernelTransform.html#351f3138f1794cb3839f766eb071b19b">00087</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::ParametersType  <a class="code" href="classitk_1_1Array.html">ParametersType</a>;
<a name="l00088"></a>00088 
<a name="l00090"></a><a class="code" href="classitk_1_1KernelTransform.html#1f572c6bc8e65d1f3b543874774d2d90">00090</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::JacobianType  JacobianType;
<a name="l00091"></a>00091 
<a name="l00093"></a><a class="code" href="classitk_1_1KernelTransform.html#57042d84bd291a30f438344efc813a93">00093</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::InputPointType   InputPointType;
<a name="l00094"></a><a class="code" href="classitk_1_1KernelTransform.html#ce60b7f9839fa0077c720fefbbb6dc80">00094</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OutputPointType  OutputPointType;
<a name="l00095"></a>00095 
<a name="l00097"></a><a class="code" href="classitk_1_1KernelTransform.html#9f17863425ec3103a83d70a44ef5f0ca">00097</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::InputVectorType   InputVectorType;
<a name="l00098"></a><a class="code" href="classitk_1_1KernelTransform.html#486d2f9308f19dd6f3679ef80c788702">00098</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OutputVectorType  OutputVectorType;
<a name="l00099"></a>00099 
<a name="l00102"></a>00102   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DefaultStaticMeshTraits.html">DefaultStaticMeshTraits</a>&lt;TScalarType,
<a name="l00103"></a>00103                                   NDimensions,
<a name="l00104"></a>00104                                   NDimensions,
<a name="l00105"></a>00105                                   TScalarType,
<a name="l00106"></a><a class="code" href="classitk_1_1KernelTransform.html#ec5cd7e23269c2610c95a5ab05a87b75">00106</a>                                   TScalarType&gt; <a class="code" href="classitk_1_1DefaultStaticMeshTraits.html">PointSetTraitsType</a>;
<a name="l00107"></a><a class="code" href="classitk_1_1KernelTransform.html#f3e96472e1594dceca784cf9710de92f">00107</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSet&lt;InputPointType, NDimensions, PointSetTraitsType&gt;</a> <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSetType</a>;
<a name="l00108"></a><a class="code" href="classitk_1_1KernelTransform.html#cbc2b9e53518111c9de30cced75e404b">00108</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">PointSetType::Pointer</a>                        <a class="code" href="classitk_1_1SmartPointer.html">PointSetPointer</a>;
<a name="l00109"></a><a class="code" href="classitk_1_1KernelTransform.html#3636471b5a9cddf1e430f06e7d4909c9">00109</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> PointSetType::PointsContainer                PointsContainer;
<a name="l00110"></a><a class="code" href="classitk_1_1KernelTransform.html#6163d0f1ba8529492404a5b18ba6eb99">00110</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> PointSetType::PointsContainerIterator        PointsIterator;
<a name="l00111"></a><a class="code" href="classitk_1_1KernelTransform.html#06443ab594dd6b07a3527593a4ec9eda">00111</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> PointSetType::PointsContainerConstIterator   PointsConstIterator;
<a name="l00112"></a>00112 
<a name="l00114"></a><a class="code" href="classitk_1_1KernelTransform.html#d9df0d39109f85e80ff05ac1f0c189f4">00114</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1VectorContainer.html">itk::VectorContainer&lt;unsigned long,InputVectorType&gt;</a> <a class="code" href="classitk_1_1VectorContainer.html">VectorSetType</a>;
<a name="l00115"></a><a class="code" href="classitk_1_1KernelTransform.html#a1e196d89ac6e30d14204e52b86c497b">00115</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">VectorSetType::Pointer</a>                     <a class="code" href="classitk_1_1SmartPointer.html">VectorSetPointer</a>;
<a name="l00116"></a>00116 
<a name="l00118"></a>00118   <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( SourceLandmarks, <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSetType</a>);
<a name="l00119"></a>00119 
<a name="l00121"></a>00121   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetSourceLandmarks(<a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSetType</a> *);
<a name="l00122"></a>00122 
<a name="l00124"></a>00124   <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( TargetLandmarks, <a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSetType</a>);
<a name="l00125"></a>00125 
<a name="l00127"></a>00127   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetTargetLandmarks(<a class="code" href="classitk_1_1PointSet.html" title="A superclass of the N-dimensional mesh structure; supports point (geometric coordinate...">PointSetType</a> *);
<a name="l00128"></a>00128 
<a name="l00131"></a>00131   <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( Displacements, <a class="code" href="classitk_1_1VectorContainer.html">VectorSetType</a> );
<a name="l00132"></a>00132 
<a name="l00134"></a>00134   <span class="keywordtype">void</span> ComputeWMatrix(<span class="keywordtype">void</span>);
<a name="l00135"></a>00135 
<a name="l00137"></a>00137   <span class="keyword">virtual</span> OutputPointType TransformPoint(<span class="keyword">const</span> InputPointType&amp; thisPoint) <span class="keyword">const</span>;
<a name="l00138"></a>00138 
<a name="l00140"></a><a class="code" href="classitk_1_1KernelTransform.html#9f60867a8e9088eb0e2db08124855e29">00140</a>   <span class="keyword">typedef</span> vnl_matrix_fixed&lt;TScalarType, NDimensions, NDimensions&gt; IMatrixType;
<a name="l00141"></a>00141 
<a name="l00142"></a>00142 
<a name="l00144"></a>00144   <span class="keyword">virtual</span> <span class="keyword">const</span> JacobianType &amp; GetJacobian(<span class="keyword">const</span> InputPointType  &amp;point) <span class="keyword">const</span>;
<a name="l00145"></a>00145 
<a name="l00150"></a>00150   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetParameters(<span class="keyword">const</span> <a class="code" href="classitk_1_1Array.html">ParametersType</a> &amp;);
<a name="l00151"></a>00151 
<a name="l00157"></a>00157   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetFixedParameters(<span class="keyword">const</span> <a class="code" href="classitk_1_1Array.html">ParametersType</a> &amp;);
<a name="l00158"></a>00158 
<a name="l00160"></a>00160   <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdateParameters(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00161"></a>00161 
<a name="l00163"></a>00163   <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classitk_1_1Array.html">ParametersType</a>&amp; GetParameters(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00164"></a>00164 
<a name="l00166"></a>00166   <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classitk_1_1Array.html">ParametersType</a>&amp; GetFixedParameters(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00167"></a>00167 
<a name="l00171"></a><a class="code" href="classitk_1_1KernelTransform.html#ae50cd57d7985248e89b5d093e72c6a6">00171</a>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1KernelTransform.html#ae50cd57d7985248e89b5d093e72c6a6">IsLinear</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }
<a name="l00172"></a>00172 
<a name="l00183"></a>00183   <a class="code" href="itkMacro_8h.html#5cefe2f514fdc24c2484af7849042f18">itkSetClampMacro</a>(Stiffness, <span class="keywordtype">double</span>, 0.0, NumericTraits&lt;double&gt;::max());
<a name="l00184"></a>00184   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(Stiffness, <span class="keywordtype">double</span>);
<a name="l00186"></a>00186 
<a name="l00187"></a>00187 
<a name="l00188"></a>00188 <span class="keyword">protected</span>:
<a name="l00189"></a>00189   <a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</a>();
<a name="l00190"></a>00190   <span class="keyword">virtual</span> ~<a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</a>();
<a name="l00191"></a>00191   <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream&amp; 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="l00192"></a>00192 
<a name="l00193"></a>00193 <span class="keyword">public</span>:  
<a name="l00195"></a><a class="code" href="classitk_1_1KernelTransform.html#24798fb2830381722e0b54ab8773fcbc">00195</a>   <span class="keyword">typedef</span> vnl_matrix_fixed&lt;TScalarType, NDimensions, NDimensions&gt; GMatrixType;
<a name="l00196"></a>00196 
<a name="l00198"></a><a class="code" href="classitk_1_1KernelTransform.html#5a7be4f1df256f3985f991e5a333308c">00198</a>   <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix&lt;TScalarType&gt;</a> <a class="code" href="classvnl__matrix.html">LMatrixType</a>;
<a name="l00199"></a>00199 
<a name="l00201"></a><a class="code" href="classitk_1_1KernelTransform.html#452b322db0e39f3032db28f496db7b74">00201</a>   <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix&lt;TScalarType&gt;</a> <a class="code" href="classvnl__matrix.html">KMatrixType</a>;
<a name="l00202"></a>00202 
<a name="l00204"></a><a class="code" href="classitk_1_1KernelTransform.html#52e259dad8c8c3a243ae95063a900cfa">00204</a>   <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix&lt;TScalarType&gt;</a> <a class="code" href="classvnl__matrix.html">PMatrixType</a>;
<a name="l00205"></a>00205 
<a name="l00207"></a><a class="code" href="classitk_1_1KernelTransform.html#c50d126049c604cfe4b73a9d442ed305">00207</a>   <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix&lt;TScalarType&gt;</a> <a class="code" href="classvnl__matrix.html">YMatrixType</a>;
<a name="l00208"></a>00208 
<a name="l00210"></a><a class="code" href="classitk_1_1KernelTransform.html#efbf3587c09713a176dff784b8624f19">00210</a>   <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix&lt;TScalarType&gt;</a> <a class="code" href="classvnl__matrix.html">WMatrixType</a>;
<a name="l00211"></a>00211 
<a name="l00213"></a><a class="code" href="classitk_1_1KernelTransform.html#db9e2087834e94a5f35c04a6b9596046">00213</a>   <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix&lt;TScalarType&gt;</a> <a class="code" href="classvnl__matrix.html">DMatrixType</a>;
<a name="l00214"></a>00214 
<a name="l00216"></a><a class="code" href="classitk_1_1KernelTransform.html#385ca5566c60c5572e9c921ac880ea29">00216</a>   <span class="keyword">typedef</span> vnl_matrix_fixed&lt;TScalarType,NDimensions,NDimensions&gt; AMatrixType;
<a name="l00217"></a>00217 
<a name="l00219"></a><a class="code" href="classitk_1_1KernelTransform.html#5d83bd0717303e5457e6256e12b2ed2f">00219</a>   <span class="keyword">typedef</span> vnl_vector_fixed&lt;TScalarType,NDimensions&gt; BMatrixType;
<a name="l00220"></a>00220 
<a name="l00222"></a><a class="code" href="classitk_1_1KernelTransform.html#80e84230d12bf297b34bd1950205d631">00222</a>   <span class="keyword">typedef</span> vnl_matrix_fixed&lt;TScalarType, 1, NDimensions&gt; RowMatrixType;
<a name="l00223"></a>00223 
<a name="l00225"></a><a class="code" href="classitk_1_1KernelTransform.html#179590068006a0402dc973d3c4cdfa53">00225</a>   <span class="keyword">typedef</span> vnl_matrix_fixed&lt;TScalarType, NDimensions, 1&gt; ColumnMatrixType;
<a name="l00226"></a>00226 
<a name="l00227"></a>00227  
<a name="l00228"></a>00228 <span class="keyword">protected</span>:
<a name="l00235"></a>00235   <span class="keyword">virtual</span> <span class="keywordtype">void</span> ComputeG(<span class="keyword">const</span> InputVectorType&amp; landmarkVector, GMatrixType &amp; gmatrix ) <span class="keyword">const</span>;
<a name="l00236"></a>00236 
<a name="l00240"></a>00240   <a class="code" href="itkMacro_8h.html#3a3f287cb4dec085dc04305e497cb56d">itkLegacyMacro</a>( <span class="keyword">virtual</span> <span class="keyword">const</span> GMatrixType &amp; ComputeG(<span class="keyword">const</span> InputVectorType&amp; landmarkVector) <span class="keyword">const</span> );
<a name="l00241"></a>00241 
<a name="l00242"></a>00242 
<a name="l00252"></a>00252   <span class="keyword">virtual</span> <span class="keyword">const</span> GMatrixType &amp; ComputeReflexiveG(PointsIterator) <span class="keyword">const</span>;
<a name="l00253"></a>00253 
<a name="l00254"></a>00254   
<a name="l00257"></a>00257   <span class="keyword">virtual</span> <span class="keywordtype">void</span> ComputeDeformationContribution( <span class="keyword">const</span> InputPointType &amp; inputPoint,
<a name="l00258"></a>00258                                                      OutputPointType &amp; result ) <span class="keyword">const</span>;
<a name="l00259"></a>00259 
<a name="l00261"></a>00261   <span class="keywordtype">void</span> ComputeK();
<a name="l00262"></a>00262 
<a name="l00264"></a>00264   <span class="keywordtype">void</span> ComputeL();
<a name="l00265"></a>00265 
<a name="l00267"></a>00267   <span class="keywordtype">void</span> ComputeP();
<a name="l00268"></a>00268 
<a name="l00270"></a>00270   <span class="keywordtype">void</span> ComputeY();
<a name="l00271"></a>00271 
<a name="l00273"></a>00273   <span class="keywordtype">void</span> ComputeD();
<a name="l00274"></a>00274 
<a name="l00279"></a>00279   <span class="keywordtype">void</span> ReorganizeW(<span class="keywordtype">void</span>);
<a name="l00280"></a>00280 
<a name="l00282"></a><a class="code" href="classitk_1_1KernelTransform.html#630f4e6156515b2197cfaab8c52bfa36">00282</a>   <span class="keywordtype">double</span> m_Stiffness;
<a name="l00283"></a>00283 
<a name="l00286"></a><a class="code" href="classitk_1_1KernelTransform.html#bfb576994ab43bdba819c40a8052e947">00286</a>   <a class="code" href="classitk_1_1SmartPointer.html">VectorSetPointer</a> m_Displacements;
<a name="l00287"></a>00287 
<a name="l00289"></a><a class="code" href="classitk_1_1KernelTransform.html#b0637c19e61cdf649801f50909b2f254">00289</a>   <a class="code" href="classvnl__matrix.html">LMatrixType</a> m_LMatrix;
<a name="l00290"></a>00290 
<a name="l00292"></a><a class="code" href="classitk_1_1KernelTransform.html#ab7c37dbaa97769c472d0e06d898351e">00292</a>   <a class="code" href="classvnl__matrix.html">KMatrixType</a> m_KMatrix;
<a name="l00293"></a>00293 
<a name="l00295"></a><a class="code" href="classitk_1_1KernelTransform.html#283eaa4001da9941fe2e5e123bacb7c6">00295</a>   <a class="code" href="classvnl__matrix.html">PMatrixType</a> m_PMatrix;
<a name="l00296"></a>00296 
<a name="l00298"></a><a class="code" href="classitk_1_1KernelTransform.html#74524ec3a912c12a89721abab9157f2d">00298</a>   <a class="code" href="classvnl__matrix.html">YMatrixType</a> m_YMatrix;
<a name="l00299"></a>00299 
<a name="l00301"></a><a class="code" href="classitk_1_1KernelTransform.html#0afb03d8e409ffc7e526af00d5408589">00301</a>   <a class="code" href="classvnl__matrix.html">WMatrixType</a> m_WMatrix;
<a name="l00302"></a>00302 
<a name="l00308"></a><a class="code" href="classitk_1_1KernelTransform.html#592db2bbec0e03a4232e720a9e663e6c">00308</a>   <a class="code" href="classvnl__matrix.html">DMatrixType</a> m_DMatrix;
<a name="l00309"></a>00309 
<a name="l00311"></a><a class="code" href="classitk_1_1KernelTransform.html#246322b79837e2563dd81977bb5cd9cb">00311</a>   AMatrixType m_AMatrix;
<a name="l00312"></a>00312 
<a name="l00314"></a><a class="code" href="classitk_1_1KernelTransform.html#32f8e034a25e310845887111cad1ca85">00314</a>   BMatrixType m_BVector;
<a name="l00315"></a>00315 
<a name="l00319"></a><a class="code" href="classitk_1_1KernelTransform.html#75a6da269bb345a7195b6e5a837d440c">00319</a>   <span class="keyword">mutable</span> GMatrixType m_GMatrix;
<a name="l00320"></a>00320 
<a name="l00322"></a><a class="code" href="classitk_1_1KernelTransform.html#91920f051f8d95f5f2d9e34a7f10c7c6">00322</a>   <span class="keywordtype">bool</span> m_WMatrixComputed;
<a name="l00323"></a>00323 
<a name="l00325"></a><a class="code" href="classitk_1_1KernelTransform.html#67770bd0a25a54cd33419c1fab1cda09">00325</a>   IMatrixType m_I;
<a name="l00326"></a>00326 
<a name="l00328"></a><a class="code" href="classitk_1_1KernelTransform.html#0a528de6efd727e00abf28508205dec8">00328</a>   <a class="code" href="classitk_1_1SmartPointer.html">PointSetPointer</a> m_SourceLandmarks;
<a name="l00329"></a>00329 
<a name="l00331"></a><a class="code" href="classitk_1_1KernelTransform.html#25211454868b308083a751cbf6c65bfb">00331</a>   <a class="code" href="classitk_1_1SmartPointer.html">PointSetPointer</a> m_TargetLandmarks;
<a name="l00332"></a>00332 
<a name="l00333"></a>00333 <span class="keyword">private</span>:
<a name="l00334"></a>00334   <a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</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>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00335"></a>00335   <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>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00336"></a>00336 
<a name="l00337"></a>00337 };
<a name="l00338"></a>00338 
<a name="l00339"></a>00339 } <span class="comment">// end namespace itk</span>
<a name="l00340"></a>00340 
<a name="l00341"></a>00341 <span class="comment">// Define instantiation macro for this template.</span>
<a name="l00342"></a><a class="code" href="itkKernelTransform_8h.html#b2d03a6b30ef6f7bc14e088541b69d84">00342</a> <span class="preprocessor">#define ITK_TEMPLATE_KernelTransform(_, EXPORT, x, y) namespace itk { \</span>
<a name="l00343"></a>00343 <span class="preprocessor">  _(2(class EXPORT KernelTransform&lt; ITK_TEMPLATE_2 x &gt;)) \</span>
<a name="l00344"></a>00344 <span class="preprocessor">  namespace Templates { typedef KernelTransform&lt; ITK_TEMPLATE_2 x &gt; \</span>
<a name="l00345"></a>00345 <span class="preprocessor">                                                  KernelTransform##y; } \</span>
<a name="l00346"></a>00346 <span class="preprocessor">  }</span>
<a name="l00347"></a>00347 <span class="preprocessor"></span>
<a name="l00348"></a>00348 <span class="preprocessor">#if ITK_TEMPLATE_EXPLICIT</span>
<a name="l00349"></a>00349 <span class="preprocessor"></span><span class="preprocessor"># include "Templates/itkKernelTransform+-.h"</span>
<a name="l00350"></a>00350 <span class="preprocessor">#endif</span>
<a name="l00351"></a>00351 <span class="preprocessor"></span>
<a name="l00352"></a>00352 <span class="preprocessor">#if ITK_TEMPLATE_TXX</span>
<a name="l00353"></a>00353 <span class="preprocessor"></span><span class="preprocessor"># include "itkKernelTransform.txx"</span>
<a name="l00354"></a>00354 <span class="preprocessor">#endif</span>
<a name="l00355"></a>00355 <span class="preprocessor"></span>
<a name="l00356"></a>00356 <span class="preprocessor">#endif // __itkKernelTransform_h</span>
<a name="l00357"></a>00357 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 23:22:28 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>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>