<!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: itkFastMarchingUpwindGradientImageFilter.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>itkFastMarchingUpwindGradientImageFilter.h</h1><a href="itkFastMarchingUpwindGradientImageFilter_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: itkFastMarchingUpwindGradientImageFilter.h,v $</span> <a name="l00005"></a>00005 <span class="comment"> Language: C++</span> <a name="l00006"></a>00006 <span class="comment"> Date: $Date: 2007-04-20 11:52:27 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.7 $</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 <a name="l00018"></a>00018 <span class="preprocessor">#ifndef __itkFastMarchingUpwindGradientImageFilter_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define __itkFastMarchingUpwindGradientImageFilter_h</span> <a name="l00020"></a>00020 <span class="preprocessor"></span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkFastMarchingImageFilter_8h.html">itkFastMarchingImageFilter.h</a>"</span> <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 <a name="l00024"></a>00024 <span class="keyword">namespace </span>itk <a name="l00025"></a>00025 { <a name="l00057"></a>00057 <span class="keyword">template</span> < <a name="l00058"></a>00058 <span class="keyword">class </span>TLevelSet, <a name="l00059"></a>00059 <span class="keyword">class </span>TSpeedImage = Image<float,::itk::GetImageDimension<TLevelSet>::ImageDimension> > <a name="l00060"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html">00060</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html" title="Generates the upwind gradient field of fast marching arrival times.">FastMarchingUpwindGradientImageFilter</a> : <a name="l00061"></a>00061 <span class="keyword">public</span> <a class="code" href="classitk_1_1FastMarchingImageFilter.html" title="Solve an Eikonal equation using Fast Marching.">FastMarchingImageFilter</a><TLevelSet,TSpeedImage> <a name="l00062"></a>00062 { <a name="l00063"></a>00063 <a name="l00064"></a>00064 <span class="keyword">public</span>: <a name="l00066"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#ecd530873b05374c26013f4c8437d46a">00066</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html" title="Generates the upwind gradient field of fast marching arrival times.">FastMarchingUpwindGradientImageFilter</a> <a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html" title="Generates the upwind gradient field of fast marching arrival times.">Self</a>; <a name="l00067"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#382d4c10b0ff78878f9b12582bb28335">00067</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1FastMarchingImageFilter.html">FastMarchingImageFilter<TLevelSet,TSpeedImage></a> <a class="code" href="classitk_1_1FastMarchingImageFilter.html">Superclass</a>; <a name="l00068"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#082429b9ba846eff40766fce5daeb8cc">00068</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<Self></a> <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>; <a name="l00069"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#81aba7679b5ca7058f68dde7899f8be3">00069</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<const Self></a> <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>; <a name="l00070"></a>00070 <a name="l00072"></a>00072 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html" title="Generates the upwind gradient field of fast marching arrival times.">Self</a>); <a name="l00073"></a>00073 <a name="l00075"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#1d9b92efefee172370d8a4224a32811f">00075</a> <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html" title="Generates the upwind gradient field of fast marching arrival times.">FastMarchingUpwindGradientImageFilter</a>, <a class="code" href="classitk_1_1FastMarchingImageFilter.html" title="Solve an Eikonal equation using Fast Marching.">FastMarchingImageFilter</a>); <a name="l00076"></a>00076 <a name="l00078"></a>00078 <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1LevelSetTypeDefault.html" title="Level set type information.">Superclass::LevelSetType</a> <a class="code" href="classitk_1_1LevelSetTypeDefault.html" title="Level set type information.">LevelSetType</a>; <a name="l00079"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#e9f65eb7006e67991af7a71a858e4ba9">00079</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::SpeedImageType SpeedImageType; <a name="l00080"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#3193cbb6c577b1e654c226ac0ccb9402">00080</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::LevelSetImageType LevelSetImageType; <a name="l00081"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#8bd45be1eb2b7199578be73f10833d17">00081</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::LevelSetPointer LevelSetPointer; <a name="l00082"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#ed3e85f3e5cba93465206690f09046a5">00082</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::SpeedImageConstPointer SpeedImageConstPointer; <a name="l00083"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#f6bd5787c567679423766f88ddd3ce9a">00083</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Superclass::LabelImageType</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">LabelImageType</a>; <a name="l00084"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#68ba1670ff8dcee161493b459f67c674">00084</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::PixelType PixelType; <a name="l00085"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#1de59c8e237c22930a776140d6e5991b">00085</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::AxisNodeType AxisNodeType; <a name="l00086"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#2a326117f72fd967758bba0e9a1273c5">00086</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1LevelSetNode.html">Superclass::NodeType</a> <a class="code" href="classitk_1_1LevelSetNode.html">NodeType</a>; <a name="l00087"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#6bddef16c360c44248b89065d889a33e">00087</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1VectorContainer.html">Superclass::NodeContainer</a> <a class="code" href="classitk_1_1VectorContainer.html">NodeContainer</a>; <a name="l00088"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#1b1169af97f956310a653ea29c8878a3">00088</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">Superclass::NodeContainerPointer</a> <a class="code" href="classitk_1_1SmartPointer.html">NodeContainerPointer</a>; <a name="l00089"></a>00089 <a name="l00090"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#ff05825294f2d233ecb5e0782de08556">00090</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Index.html" title="Represent a n-dimensional index in a n-dimensional image.">Superclass::IndexType</a> <a class="code" href="classitk_1_1Index.html" title="Represent a n-dimensional index in a n-dimensional image.">IndexType</a>; <a name="l00091"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#71efefae4f0ceda454990eb44bf42ab1">00091</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OutputSpacingType OutputSpacingType; <a name="l00092"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#d3a73c68ee0a89f629778f71315afdc7">00092</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::LevelSetIndexType LevelSetIndexType; <a name="l00093"></a>00093 <a name="l00094"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#85ebc5ee1dc15f345aa72996bbc224da">00094</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OutputPointType PointType; <a name="l00095"></a>00095 <a name="l00096"></a>00096 <a name="l00098"></a>00098 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(SetDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,Superclass::SetDimension); <a name="l00099"></a>00099 <a name="l00103"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#f8401f2f3be5d62720186e14d008b3a8">00103</a> <span class="keywordtype">void</span> SetTargetPoints( <a class="code" href="classitk_1_1VectorContainer.html">NodeContainer</a> * points ) <a name="l00104"></a>00104 { <a name="l00105"></a>00105 m_TargetPoints = points; <a name="l00106"></a>00106 this->Modified(); <a name="l00107"></a>00107 }; <a name="l00109"></a>00109 <a name="l00111"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#69c5f30b319221865aad7b94363ab6a2">00111</a> <a class="code" href="classitk_1_1SmartPointer.html">NodeContainerPointer</a> GetTargetPoints( ) <a name="l00112"></a>00112 { <span class="keywordflow">return</span> m_TargetPoints; } <a name="l00113"></a>00113 <a name="l00115"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#06c263679f34f52d5e8d10c192754f0b">00115</a> <a class="code" href="classitk_1_1SmartPointer.html">NodeContainerPointer</a> GetReachedTargetPoints( ) <a name="l00116"></a>00116 { <span class="keywordflow">return</span> m_ReachedTargetPoints; } <a name="l00117"></a>00117 <a name="l00119"></a>00119 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">CovariantVector</a><PixelType, <a name="l00120"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#b135258144686364e42fb3d7c574b468">00120</a> <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(SetDimension)> <a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">GradientPixelType</a>; <a name="l00121"></a>00121 <a name="l00123"></a>00123 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a><<a class="code" href="classitk_1_1CovariantVector.html" title="A templated class holding a n-Dimensional covariant vector.">GradientPixelType</a>, <a name="l00124"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#e2901ef0800f136edaf0786fed3a669a">00124</a> <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(SetDimension)> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">GradientImageType</a>; <a name="l00125"></a>00125 <a name="l00127"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#ba41034e1a1ffbd9ec74a57b9cc2fbdb">00127</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="l00128"></a>00128 <a name="l00130"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#2370b7d481b9864b634385aadf893cb2">00130</a> <a class="code" href="classitk_1_1SmartPointer.html">GradientImagePointer</a> GetGradientImage()<span class="keyword"> const</span> <a name="l00131"></a>00131 <span class="keyword"> </span>{ <span class="keywordflow">return</span> m_GradientImage; } <a name="l00132"></a>00132 <a name="l00135"></a>00135 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( GenerateGradientImage, <span class="keywordtype">bool</span> ); <a name="l00136"></a>00136 <a name="l00138"></a>00138 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( GenerateGradientImage, <span class="keywordtype">bool</span> ); <a name="l00139"></a>00139 <a class="code" href="itkMacro_8h.html#9e7d129ffebb09fd28bc213e02d87248">itkBooleanMacro</a>( GenerateGradientImage ); <a name="l00141"></a>00141 <a name="l00145"></a>00145 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( TargetOffset, <span class="keywordtype">double</span> ); <a name="l00146"></a>00146 <a name="l00148"></a>00148 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( TargetOffset, <span class="keywordtype">double</span> ); <a name="l00149"></a>00149 <a name="l00153"></a>00153 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( TargetReachedMode, <span class="keywordtype">int</span> ); <a name="l00154"></a>00154 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( TargetReachedMode, <span class="keywordtype">int</span> ); <a name="l00155"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#4abb843d1a0322d7afdf03b487c75697">00155</a> <span class="keywordtype">void</span> SetTargetReachedModeToNoTargets() <a name="l00156"></a>00156 { this->SetTargetReachedMode(NoTargets); } <a name="l00157"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#45bca80e6d8fefe0a8beec497807b60f">00157</a> <span class="keywordtype">void</span> SetTargetReachedModeToOneTarget() <a name="l00158"></a>00158 { this->SetTargetReachedMode(OneTarget); } <a name="l00159"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#dc4412f96433351902bfbce6ceaa647d">00159</a> <span class="keywordtype">void</span> SetTargetReachedModeToSomeTargets( <span class="keywordtype">long</span> numberOfTargets ) <a name="l00160"></a>00160 { <a name="l00161"></a>00161 this->SetTargetReachedMode(SomeTargets); <a name="l00162"></a>00162 m_NumberOfTargets = numberOfTargets; <a name="l00163"></a>00163 } <a name="l00164"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#9a86268ca0a917ae2022dfedf1849475">00164</a> <span class="keywordtype">void</span> SetTargetReachedModeToAllTargets() <a name="l00165"></a>00165 { this->SetTargetReachedMode(AllTargets); } <a name="l00167"></a>00167 <a name="l00169"></a>00169 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( NumberOfTargets, <span class="keywordtype">long</span> ); <a name="l00170"></a>00170 <a name="l00172"></a>00172 <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( TargetValue, <span class="keywordtype">double</span> ); <a name="l00173"></a>00173 <a name="l00174"></a>00174 <span class="keyword">enum</span> <a name="l00175"></a>00175 { <a name="l00176"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#e5ccda4de1f3b8bfacbe80c6399f757c9bede7497a7ee623f7e1b6bb638f9c29">00176</a> NoTargets, <a name="l00177"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#e5ccda4de1f3b8bfacbe80c6399f757c8ea2a044c99366338b24b0b11700eb5c">00177</a> OneTarget, <a name="l00178"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#e5ccda4de1f3b8bfacbe80c6399f757c84e0011cbc4a1cdef7182312055d76c1">00178</a> SomeTargets, <a name="l00179"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#e5ccda4de1f3b8bfacbe80c6399f757c98f31a1b9c23fba19ecbed44607492e1">00179</a> AllTargets <a name="l00180"></a>00180 }; <a name="l00181"></a>00181 <a name="l00182"></a>00182 <span class="preprocessor">#ifdef ITK_USE_CONCEPT_CHECKING</span> <a name="l00183"></a>00183 <span class="preprocessor"></span> <a name="l00184"></a>00184 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(LevelSetDoubleDivisionOperatorsCheck, <a name="l00185"></a>00185 (<a class="code" href="structitk_1_1Concept_1_1DivisionOperators.html">Concept::DivisionOperators<typename TLevelSet::PixelType, double></a>)); <a name="l00186"></a>00186 <a name="l00188"></a>00188 <span class="preprocessor">#endif</span> <a name="l00189"></a>00189 <span class="preprocessor"></span> <a name="l00190"></a>00190 <span class="keyword">protected</span>: <a name="l00191"></a>00191 <a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html" title="Generates the upwind gradient field of fast marching arrival times.">FastMarchingUpwindGradientImageFilter</a>(); <a name="l00192"></a><a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#3ded746c11434a16b6122c0d9d9ca681">00192</a> <a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html#3ded746c11434a16b6122c0d9d9ca681">~FastMarchingUpwindGradientImageFilter</a>(){}; <a name="l00193"></a>00193 <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>( std::ostream& os, <a class="code" href="classitk_1_1Indent.html" title="Control indentation during Print() invocation.">Indent</a> indent ) <span class="keyword">const</span>; <a name="l00194"></a>00194 <a name="l00195"></a>00195 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Initialize( LevelSetImageType * ); <a name="l00196"></a>00196 <a name="l00197"></a>00197 <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#f75a5945cdd8315676941024a0b8c1e9">GenerateData</a>(); <a name="l00198"></a>00198 <a name="l00199"></a>00199 <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdateNeighbors( <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>& index, <a name="l00200"></a>00200 <span class="keyword">const</span> SpeedImageType *, LevelSetImageType * ); <a name="l00201"></a>00201 <a name="l00202"></a>00202 <span class="keyword">virtual</span> <span class="keywordtype">void</span> ComputeGradient( <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>& index , <a name="l00203"></a>00203 <span class="keyword">const</span> LevelSetImageType * output, <a name="l00204"></a>00204 <span class="keyword">const</span> LabelImageType * labelImage, <a name="l00205"></a>00205 GradientImageType * gradientImage); <a name="l00206"></a>00206 <a name="l00207"></a>00207 <span class="keyword">private</span>: <a name="l00208"></a>00208 <a class="code" href="classitk_1_1FastMarchingUpwindGradientImageFilter.html" title="Generates the upwind gradient field of fast marching arrival times.">FastMarchingUpwindGradientImageFilter</a>(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00209"></a>00209 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00210"></a>00210 <a name="l00211"></a>00211 NodeContainerPointer m_TargetPoints; <a name="l00212"></a>00212 NodeContainerPointer m_ReachedTargetPoints; <a name="l00213"></a>00213 <a name="l00214"></a>00214 GradientImagePointer m_GradientImage; <a name="l00215"></a>00215 <a name="l00216"></a>00216 <span class="keywordtype">bool</span> m_GenerateGradientImage; <a name="l00217"></a>00217 <a name="l00218"></a>00218 <span class="keywordtype">double</span> m_TargetOffset; <a name="l00219"></a>00219 <a name="l00220"></a>00220 <span class="keywordtype">int</span> m_TargetReachedMode; <a name="l00221"></a>00221 <a name="l00222"></a>00222 <span class="keywordtype">double</span> m_TargetValue; <a name="l00223"></a>00223 <a name="l00224"></a>00224 <span class="keywordtype">long</span> m_NumberOfTargets; <a name="l00225"></a>00225 <a name="l00226"></a>00226 }; <a name="l00227"></a>00227 <a name="l00228"></a>00228 } <span class="comment">// namespace itk</span> <a name="l00229"></a>00229 <a name="l00230"></a>00230 <a name="l00231"></a>00231 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00232"></a>00232 <span class="preprocessor"></span><span class="preprocessor">#include "itkFastMarchingUpwindGradientImageFilter.txx"</span> <a name="l00233"></a>00233 <span class="preprocessor">#endif</span> <a name="l00234"></a>00234 <span class="preprocessor"></span> <a name="l00235"></a>00235 <span class="preprocessor">#endif</span> <a name="l00236"></a>00236 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 22:40:05 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>