Sophie

Sophie

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

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: itkDeformableMesh3DFilter.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_16b0d2d22c345042f35cebae66b36010.html">Algorithms</a>
  </div>
<div class="contents">
<h1>itkDeformableMesh3DFilter.h</h1><a href="itkDeformableMesh3DFilter_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: itkDeformableMesh3DFilter.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-08 16:00:51 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.27 $</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 __itkDeformableMesh3DFilter_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkDeformableMesh3DFilter_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkMeshToMeshFilter_8h.html">itkMeshToMeshFilter.h</a>"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "vnl/vnl_matrix_fixed.h"</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "vnl/vnl_math.h"</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="itkMesh_8h.html">itkMesh.h</a>"</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="itkVector_8h.html">itkVector.h</a>"</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="itkTriangleCell_8h.html">itkTriangleCell.h</a>"</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkImage_8h.html">itkImage.h</a>"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itkImageRegionIterator_8h.html">itkImageRegionIterator.h</a>"</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;<a class="code" href="itkCovariantVector_8h.html">itkCovariantVector.h</a>&gt;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="keyword">namespace </span>itk
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032 
<a name="l00050"></a>00050 <span class="keyword">template</span> &lt;<span class="keyword">class</span> TInputMesh, <span class="keyword">class</span> TOutputMesh&gt;
<a name="l00051"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html">00051</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1DeformableMesh3DFilter.html">DeformableMesh3DFilter</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1MeshToMeshFilter.html" title="MeshToMeshFilter is the base class for all process objects that output mesh data...">MeshToMeshFilter</a>&lt;TInputMesh, TOutputMesh&gt;
<a name="l00052"></a>00052 {
<a name="l00053"></a>00053 <span class="keyword">public</span>:
<a name="l00055"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#bbea2f6488b9e7c35cc07f22c8fbcb77">00055</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DeformableMesh3DFilter.html">DeformableMesh3DFilter</a>  <a class="code" href="classitk_1_1DeformableMesh3DFilter.html">Self</a>;
<a name="l00056"></a>00056 
<a name="l00058"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#8f8fb713ded0b709ee411f279f8c5a06">00058</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1MeshToMeshFilter.html">MeshToMeshFilter&lt;TInputMesh, TOutputMesh&gt;</a> <a class="code" href="classitk_1_1MeshToMeshFilter.html">Superclass</a>;
<a name="l00059"></a>00059 
<a name="l00061"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#f2efe9bd2fc226da6b1311e35f292b28">00061</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="l00062"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#e1549eec34f1a03fb695faca3d64484d">00062</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="l00063"></a>00063 
<a name="l00065"></a>00065   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1DeformableMesh3DFilter.html">Self</a>);
<a name="l00066"></a>00066 
<a name="l00068"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#559796a54b2435cad167092d727b82ff">00068</a>   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1DeformableMesh3DFilter.html">DeformableMesh3DFilter</a>,<a class="code" href="classitk_1_1MeshToMeshFilter.html" title="MeshToMeshFilter is the base class for all process objects that output mesh data...">MeshToMeshFilter</a>);
<a name="l00069"></a>00069 
<a name="l00071"></a>00071   <span class="keyword">typedef</span> TInputMesh                          InputMeshType;
<a name="l00072"></a>00072   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointsContainerPointer
<a name="l00073"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#fdb6423de1708f9264ce2121b962fa31">00073</a>                                               InputPointsContainerPointer;
<a name="l00074"></a>00074   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointsContainer::Iterator
<a name="l00075"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#f7f5b145d0f6f3ae3eb1401ee7459814">00075</a>                                               InputPointsContainerIterator;
<a name="l00076"></a>00076   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointDataContainerPointer
<a name="l00077"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#1f285f386018598111f193e8d97204c6">00077</a>                                               InputPointDataContainerPointer;
<a name="l00078"></a>00078   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointDataContainer::Iterator
<a name="l00079"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#bfe330d7ea01a7f3e1587544d75e70fc">00079</a>                                               InputPointDataContainerIterator;
<a name="l00080"></a>00080   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellsContainerPointer
<a name="l00081"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#d806b6decca07baa78f1e8fb073a82da">00081</a>                                               InputCellsContainerPointer;
<a name="l00082"></a>00082   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellsContainer::Iterator
<a name="l00083"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#89e30d1e604ef7e9f773cddd39813cc3">00083</a>                                               InputCellsContainerIterator;
<a name="l00084"></a>00084   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellDataContainerPointer
<a name="l00085"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#6485bf03b6d7961dce6fa7e0c1a14002">00085</a>                                               InputCellDataContainerPointer;
<a name="l00086"></a>00086   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellDataContainer::Iterator
<a name="l00087"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#83d46cfff6953a35d944ecb1a7690b02">00087</a>                                               InputCellDataContainerIterator;
<a name="l00088"></a>00088 
<a name="l00089"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#e8b699b9d2c3b95241dc6444792291c5">00089</a>   <span class="keyword">typedef</span> TOutputMesh                         OutputMeshType;
<a name="l00090"></a>00090   <span class="keyword">typedef</span> <span class="keyword">typename</span> OutputMeshType::PointsContainerPointer
<a name="l00091"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#92b90f255f1ac71f6bda38155a5aa381">00091</a>                                               OutputPointsContainerPointer;
<a name="l00092"></a>00092   <span class="keyword">typedef</span> <span class="keyword">typename</span> OutputMeshType::CellsContainer
<a name="l00093"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#fd21ba1530aaa341f7a2cd57d7dcf6d6">00093</a>                                               OutputCellsContainer;
<a name="l00094"></a>00094   <span class="keyword">typedef</span> <span class="keyword">typename</span> OutputMeshType::CellsContainerPointer
<a name="l00095"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#fa65428b6d534992dfc5e15276064b82">00095</a>                                               OutputCellsContainerPointer;
<a name="l00096"></a>00096   <span class="keyword">typedef</span> <span class="keyword">typename</span> OutputMeshType::PointsContainer::Iterator
<a name="l00097"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#f26d05608a401c6de0b7a923e2d910b9">00097</a>                                               OutputPointsContainerIterator;
<a name="l00098"></a>00098 
<a name="l00100"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#9ff0544d47bf71b428772c86b0ae4368">00100</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellType          CellType;
<a name="l00101"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#d5ad3846ab74b4b55e7239c0b0e9ceee">00101</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::CellTraits        CellTraits;
<a name="l00102"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#161b72391d1ff9453deac39e79521f7c">00102</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PointType         InputPointType;
<a name="l00103"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#561fd5c6207ff1da51187a726fb182cc">00103</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> InputMeshType::PixelType         PixelType;
<a name="l00104"></a>00104 
<a name="l00106"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#126af6550f228204204661847fbb323b">00106</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image&lt;unsigned char, 3&gt;</a>                      <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">PotentialImageType</a>;
<a name="l00107"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#47318115ea92edea33b92d14edef2c99">00107</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">ImageRegionIterator&lt;PotentialImageType&gt;</a>      <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">PotentialIterator</a>;
<a name="l00108"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#3adb95ccd0bef4952b25a674d93b5780">00108</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVector&lt;PixelType, 3&gt;</a>                <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">GradientType</a>;
<a name="l00109"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#a958622bc626dc3344a214a1b229c476">00109</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image&lt;GradientType, 3&gt;</a>                       <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">GradientImageType</a>;
<a name="l00110"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#cd6dbabc08fae493a1845f09b8ce466f">00110</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">ImageRegionIterator&lt;GradientImageType&gt;</a>       <a class="code" href="classitk_1_1ImageRegionIterator.html" title="A multi-dimensional iterator templated over image type that walks a region of pixels...">GradientIterator</a>;
<a name="l00111"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#f9c2fc99cabcc491aec20f65a1e24921">00111</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">GradientImageType::SizeType</a>         ImageSizeType;
<a name="l00112"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#fd75ac4d816a5557ec8972578d4298a7">00112</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">GradientImageType::IndexType</a>        ImageIndexType;
<a name="l00113"></a>00113 
<a name="l00114"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#5fcb9519f5580b51b1cf0bd17ddf6a16">00114</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CellInterface.html">itk::CellInterface&lt;PixelType, CellTraits&gt;</a>    <a class="code" href="classitk_1_1CellInterface.html">TCellInterface</a>;
<a name="l00115"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#882ef53d1144fad392505cb16fbb641e">00115</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1TriangleCell.html">itk::TriangleCell&lt;TCellInterface&gt;</a>            <a class="code" href="classitk_1_1TriangleCell.html">TriCell</a>;
<a name="l00116"></a>00116 
<a name="l00117"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#5371340d4e85a457636c0a106d214721">00117</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVector&lt;int, 3&gt;</a>                      <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">int3DVector</a>;
<a name="l00118"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#3366c8d31e35e8c0ae9aa7eeee97488a">00118</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CovariantVector.html">CovariantVector&lt;double, 2&gt;</a>                   <a class="code" href="classitk_1_1CovariantVector.html">double2DVector</a>;
<a name="l00119"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#ac93166bbced2944d992629172cfa2d7">00119</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CovariantVector.html">CovariantVector&lt;double, 3&gt;</a>                   <a class="code" href="classitk_1_1CovariantVector.html">double3DVector</a>;
<a name="l00120"></a>00120 
<a name="l00121"></a>00121   <span class="comment">/* Mesh pointer definition. */</span>
<a name="l00122"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#4405f774bebc40869495a2a848d90b94">00122</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">InputMeshType::Pointer</a>     InputMeshPointer;
<a name="l00123"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#74b4f8ab884408af407499890abb5e08">00123</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">OutputMeshType::Pointer</a>    OutputMeshPointer;
<a name="l00124"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#1aed3034f9f57b21ca7193855449a37d">00124</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">GradientImageType::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">GradientImagePointer</a>;
<a name="l00125"></a>00125 
<a name="l00126"></a>00126   <span class="comment">/* Stiffness Matrix Type definition */</span>
<a name="l00127"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#6c22f076b2775331fc1ff1fce3fe5d3b">00127</a>   <span class="keyword">typedef</span> vnl_matrix_fixed&lt;double, 4, 4&gt;  StiffnessMatrixType;
<a name="l00128"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#fe63a5d7bd54dd35d0fc86331d46212a">00128</a>   <span class="keyword">typedef</span> StiffnessMatrixType *           StiffnessMatrixRawPointer; 
<a name="l00129"></a>00129 
<a name="l00131"></a>00131   <span class="keywordtype">void</span> SetStiffnessMatrix( StiffnessMatrixType *stiff, <span class="keywordtype">int</span> i );
<a name="l00132"></a>00132 
<a name="l00134"></a>00134   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Gradient, <a class="code" href="classitk_1_1SmartPointer.html">GradientImagePointer</a>);
<a name="l00135"></a>00135   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(Gradient, <a class="code" href="classitk_1_1SmartPointer.html">GradientImagePointer</a>);
<a name="l00137"></a>00137 
<a name="l00138"></a>00138   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(StepThreshold, <span class="keywordtype">int</span>);
<a name="l00139"></a>00139   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(StepThreshold, <span class="keywordtype">int</span>);
<a name="l00140"></a>00140 
<a name="l00141"></a>00141   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Stiffness, <a class="code" href="classitk_1_1CovariantVector.html">double2DVector</a>);
<a name="l00142"></a>00142   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(Stiffness, <a class="code" href="classitk_1_1CovariantVector.html">double2DVector</a>);
<a name="l00143"></a>00143 
<a name="l00144"></a>00144   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(TimeStep, <span class="keywordtype">double</span>);
<a name="l00145"></a>00145   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(TimeStep, <span class="keywordtype">double</span>);
<a name="l00146"></a>00146 
<a name="l00147"></a>00147   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(Scale, <a class="code" href="classitk_1_1CovariantVector.html">double3DVector</a>);
<a name="l00148"></a>00148 
<a name="l00149"></a>00149   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(PotentialMagnitude, PixelType);
<a name="l00150"></a>00150   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(GradientMagnitude, PixelType);
<a name="l00151"></a>00151   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(PotentialOn, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>);
<a name="l00152"></a>00152   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(ObjectLabel, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>);
<a name="l00153"></a>00153 
<a name="l00154"></a>00154   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>(Normals, InputMeshPointer);
<a name="l00155"></a>00155 
<a name="l00156"></a>00156 <span class="keyword">protected</span>:
<a name="l00157"></a>00157   <a class="code" href="classitk_1_1DeformableMesh3DFilter.html">DeformableMesh3DFilter</a>();
<a name="l00158"></a>00158   ~<a class="code" href="classitk_1_1DeformableMesh3DFilter.html">DeformableMesh3DFilter</a>();
<a name="l00159"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#de4073cfc94438170681813c44510723">00159</a>   <a class="code" href="classitk_1_1DeformableMesh3DFilter.html#de4073cfc94438170681813c44510723">DeformableMesh3DFilter</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1DeformableMesh3DFilter.html">Self</a>&amp;) {}
<a name="l00160"></a><a class="code" href="classitk_1_1DeformableMesh3DFilter.html#bcc281844e0c7ef2958820d6fceeb9d7">00160</a>   <span class="keywordtype">void</span> <a class="code" href="classitk_1_1DeformableMesh3DFilter.html#bcc281844e0c7ef2958820d6fceeb9d7">operator=</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1DeformableMesh3DFilter.html">Self</a>&amp;) {}
<a name="l00161"></a>00161   <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="l00162"></a>00162 
<a name="l00163"></a>00163   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#f75a5945cdd8315676941024a0b8c1e9">GenerateData</a>();
<a name="l00164"></a>00164 
<a name="l00165"></a>00165 <span class="keyword">private</span>:
<a name="l00167"></a>00167   InputMeshPointer  m_Forces; 
<a name="l00168"></a>00168   InputMeshPointer  m_Normals;
<a name="l00169"></a>00169   InputMeshPointer  m_Displacements;
<a name="l00170"></a>00170   InputMeshPointer  m_Derives;
<a name="l00171"></a>00171   InputMeshPointer  m_Locations;
<a name="l00172"></a>00172 
<a name="l00173"></a>00173   <span class="keywordtype">void</span> Initialize();
<a name="l00174"></a>00174   <span class="keywordtype">void</span> SetDefaultStiffnessMatrix();
<a name="l00175"></a>00175   <span class="keywordtype">void</span> SetMeshStiffness();
<a name="l00176"></a>00176   <span class="keywordtype">void</span> Advance();     <span class="comment">// update data for next iteration</span>
<a name="l00177"></a>00177   <span class="keywordtype">void</span> ComputeDt();   <span class="comment">// compute point positions</span>
<a name="l00178"></a>00178   <span class="keywordtype">void</span> ComputeOutput();
<a name="l00179"></a>00179   <span class="keywordtype">void</span> GradientFit(); <span class="comment">// fit the model with gradient information</span>
<a name="l00180"></a>00180   <span class="keywordtype">void</span> ComputeNormals();
<a name="l00181"></a>00181   <span class="keywordtype">void</span> PotentialFit();
<a name="l00182"></a>00182 
<a name="l00184"></a>00184   StiffnessMatrixType         m_StiffnessMatrix[10];
<a name="l00185"></a>00185   StiffnessMatrixRawPointer  *m_K;
<a name="l00186"></a>00186 
<a name="l00188"></a>00188   double2DVector    m_Stiffness;
<a name="l00189"></a>00189 
<a name="l00191"></a>00191   double3DVector    m_Scale;
<a name="l00192"></a>00192 
<a name="l00194"></a>00194   <span class="keywordtype">int</span>       m_NumberOfNodes;
<a name="l00195"></a>00195   <span class="keywordtype">int</span>       m_NumberOfCells;
<a name="l00196"></a>00196 
<a name="l00198"></a>00198   <span class="keywordtype">int</span>       m_ImageHeight;
<a name="l00199"></a>00199   <span class="keywordtype">int</span>       m_ImageDepth;
<a name="l00200"></a>00200 
<a name="l00203"></a>00203   <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> m_ModelXUpLimit;
<a name="l00204"></a>00204   <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> m_ModelXDownLimit;
<a name="l00205"></a>00205   <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> m_ModelYUpLimit;
<a name="l00206"></a>00206   <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> m_ModelYDownLimit;
<a name="l00207"></a>00207   <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> m_ModelZUpLimit;
<a name="l00208"></a>00208   <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> m_ModelZDownLimit;
<a name="l00209"></a>00209   <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> m_PotentialOn;
<a name="l00210"></a>00210   <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>  m_ObjectLabel;
<a name="l00211"></a>00211   PixelType      m_GradientMagnitude;
<a name="l00212"></a>00212   PixelType      m_PotentialMagnitude;
<a name="l00213"></a>00213 
<a name="l00215"></a>00215   GradientImagePointer        m_Gradient; 
<a name="l00216"></a>00216   <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">PotentialImageType::Pointer</a> m_Potential;  
<a name="l00217"></a>00217 };
<a name="l00218"></a>00218 
<a name="l00219"></a>00219 } <span class="comment">// end namespace itk</span>
<a name="l00220"></a>00220 
<a name="l00221"></a>00221 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span>
<a name="l00222"></a>00222 <span class="preprocessor"></span><span class="preprocessor">#include "itkDeformableMesh3DFilter.txx"</span>
<a name="l00223"></a>00223 <span class="preprocessor">#endif</span>
<a name="l00224"></a>00224 <span class="preprocessor"></span>
<a name="l00225"></a>00225 <span class="preprocessor">#endif</span>
<a name="l00226"></a>00226 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 22:32:33 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>