<!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: itkExtensionVelocitiesImageFilter.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>itkExtensionVelocitiesImageFilter.h</h1><a href="itkExtensionVelocitiesImageFilter_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: itkExtensionVelocitiesImageFilter.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-17 18:52:03 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.26 $</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 __itkExtensionVelocitiesImageFilter_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkExtensionVelocitiesImageFilter_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkLevelSetVelocityNeighborhoodExtractor_8h.html">itkLevelSetVelocityNeighborhoodExtractor.h</a>"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkFastMarchingExtensionImageFilter_8h.html">itkFastMarchingExtensionImageFilter.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkReinitializeLevelSetImageFilter_8h.html">itkReinitializeLevelSetImageFilter.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="l00047"></a>00047 <span class="keyword">template</span> < <a name="l00048"></a>00048 <span class="keyword">class </span>TLevelSet, <a name="l00049"></a>00049 <span class="keyword">class </span>TAuxValue = float, <a name="l00050"></a>00050 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> VAuxDimension = 1 <a name="l00051"></a>00051 > <a name="l00052"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html">00052</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html" title="Extend velocities smoothly from a particular level set.">ExtensionVelocitiesImageFilter</a> : <a name="l00053"></a>00053 <span class="keyword">public</span> <a class="code" href="classitk_1_1ReinitializeLevelSetImageFilter.html" title="Reinitialize the level set to the signed distance function.">ReinitializeLevelSetImageFilter</a><TLevelSet> <a name="l00054"></a>00054 { <a name="l00055"></a>00055 <span class="keyword">public</span>: <a name="l00056"></a>00056 <a name="l00058"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#6c00dfdb6a64edf084a63f841687c7a5">00058</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html" title="Extend velocities smoothly from a particular level set.">ExtensionVelocitiesImageFilter</a> <a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html" title="Extend velocities smoothly from a particular level set.">Self</a>; <a name="l00059"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#f85d4b09b6672f425f51e04c9ddc0460">00059</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ReinitializeLevelSetImageFilter.html">ReinitializeLevelSetImageFilter<TLevelSet></a> <a class="code" href="classitk_1_1ReinitializeLevelSetImageFilter.html">Superclass</a>; <a name="l00060"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#c33daec5b00a8f37c3d724173feb2603">00060</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="l00061"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#b7991dabd217e53dbdd1e57c8f5c545f">00061</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="l00062"></a>00062 <a name="l00064"></a>00064 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html" title="Extend velocities smoothly from a particular level set.">Self</a>); <a name="l00065"></a>00065 <a name="l00067"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#ba970105eab98e1bb1b04c357f2f68a3">00067</a> <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html" title="Extend velocities smoothly from a particular level set.">ExtensionVelocitiesImageFilter</a>, <a class="code" href="classitk_1_1ReinitializeLevelSetImageFilter.html" title="Reinitialize the level set to the signed distance function.">ReinitializeLevelSetImageFilter</a>); <a name="l00068"></a>00068 <a name="l00070"></a>00070 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1LevelSetTypeDefault.html" title="Level set type information.">LevelSetTypeDefault<TLevelSet></a> <a class="code" href="classitk_1_1LevelSetTypeDefault.html" title="Level set type information.">LevelSetType</a>; <a name="l00071"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#60b5560f3044bd750fddfec9cb39fdfc">00071</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> LevelSetType::LevelSetPointer LevelSetPointer; <a name="l00072"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#3ea55d56acd12b02dc625d857e77c7fc">00072</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> LevelSetType::LevelSetConstPointer LevelSetConstPointer; <a name="l00073"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#73d5fbf730332ea67cafdafe07fac2d6">00073</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> LevelSetType::PixelType PixelType; <a name="l00074"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#ad872bca5c8a167d2d9426693855d156">00074</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1LevelSetNode.html">LevelSetType::NodeType</a> <a class="code" href="classitk_1_1LevelSetNode.html">NodeType</a>; <a name="l00075"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#846521bb3c6e010dd5507b92be2dde6b">00075</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1VectorContainer.html">LevelSetType::NodeContainer</a> <a class="code" href="classitk_1_1VectorContainer.html">NodeContainer</a>; <a name="l00076"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#e908db2ff9df90c788dd6ad3ea5cc0d7">00076</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">LevelSetType::NodeContainerPointer</a> <a class="code" href="classitk_1_1SmartPointer.html">NodeContainerPointer</a>; <a name="l00077"></a>00077 <a name="l00079"></a>00079 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(SetDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,LevelSetType::SetDimension); <a name="l00080"></a>00080 <a name="l00082"></a>00082 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1AuxVarTypeDefault.html" title="Level set auxiliary variables type information.">AuxVarTypeDefault</a><TAuxValue,VAuxDimension, <a name="l00083"></a>00083 <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(SetDimension)> <a name="l00084"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#e1dc36234be386fdbfe2b27bf52966b3">00084</a> <a class="code" href="classitk_1_1AuxVarTypeDefault.html" title="Level set auxiliary variables type information.">AuxVarType</a>; <a name="l00085"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#a87611ce5eabaa560d0bd0e7fa8e55dd">00085</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> AuxVarType::AuxValueType AuxValueType; <a name="l00086"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#551321dc08302023dbc377c0c820a2c7">00086</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">AuxVarType::AuxValueVectorType</a> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">AuxValueVectorType</a>; <a name="l00087"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#abdbf25a49a8065da7bf1144de077f3c">00087</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1VectorContainer.html">AuxVarType::AuxValueContainer</a> <a class="code" href="classitk_1_1VectorContainer.html">AuxValueContainer</a>; <a name="l00088"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#037d77753dd75c8412bbb37db3bbffab">00088</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.">AuxVarType::AuxImageType</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">AuxImageType</a>; <a name="l00089"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#89b1fefac93444de47a7dc152c6b38a6">00089</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">AuxVarType::AuxImagePointer</a> <a class="code" href="classitk_1_1SmartPointer.html">AuxImagePointer</a>; <a name="l00090"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#5d1a1056751d940019e0ad74a84caf6c">00090</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">AuxVarType::AuxImageConstPointer</a> <a class="code" href="classitk_1_1SmartPointer.html">AuxImageConstPointer</a>; <a name="l00091"></a>00091 <a name="l00093"></a>00093 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(AuxDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,VAuxDimension); <a name="l00094"></a>00094 <a name="l00096"></a>00096 <span class="keywordtype">void</span> SetInputVelocityImage(<span class="keyword">const</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">AuxImageType</a> * ptr, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx = 0); <a name="l00097"></a>00097 <span class="keyword">const</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">AuxImageType</a> * GetInputVelocityImage(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx = 0); <a name="l00099"></a>00099 <a name="l00101"></a>00101 <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">AuxImageType</a> * GetOutputVelocityImage( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx = 0 ); <a name="l00102"></a>00102 <a name="l00103"></a>00103 <span class="preprocessor">#ifdef ITK_USE_CONCEPT_CHECKING</span> <a name="l00104"></a>00104 <span class="preprocessor"></span> <a name="l00105"></a>00105 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(AuxValueHasNumericTraitsCheck, <a name="l00106"></a>00106 (<a class="code" href="structitk_1_1Concept_1_1HasNumericTraits.html">Concept::HasNumericTraits<TAuxValue></a>)); <a name="l00107"></a>00107 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(LevelSetOStreamWritableCheck, <a name="l00108"></a>00108 (<a class="code" href="structitk_1_1Concept_1_1OStreamWritable.html">Concept::OStreamWritable<PixelType></a>)); <a name="l00109"></a>00109 <a name="l00111"></a>00111 <span class="preprocessor">#endif</span> <a name="l00112"></a>00112 <span class="preprocessor"></span> <a name="l00113"></a>00113 <span class="keyword">protected</span>: <a name="l00114"></a>00114 <a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html" title="Extend velocities smoothly from a particular level set.">ExtensionVelocitiesImageFilter</a>(); <a name="l00115"></a><a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#8ffe3ffe426fab6b35e445bf2953db08">00115</a> <a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html#8ffe3ffe426fab6b35e445bf2953db08">~ExtensionVelocitiesImageFilter</a>(){}; <a name="l00116"></a>00116 <a name="l00117"></a>00117 <span class="keyword">virtual</span> <span class="keywordtype">void</span> GenerateDataFull(); <a name="l00118"></a>00118 <span class="keyword">virtual</span> <span class="keywordtype">void</span> GenerateDataNarrowBand(); <a name="l00119"></a>00119 <span class="keyword">virtual</span> <span class="keywordtype">void</span> AllocateOutput(); <a name="l00120"></a>00120 <a name="l00121"></a>00121 <span class="keyword">virtual</span> <span class="keywordtype">void</span> EnlargeOutputRequestedRegion( <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> * ); <a name="l00122"></a>00122 <a name="l00123"></a>00123 <span class="keyword">private</span>: <a name="l00124"></a>00124 <a class="code" href="classitk_1_1ExtensionVelocitiesImageFilter.html" title="Extend velocities smoothly from a particular level set.">ExtensionVelocitiesImageFilter</a>(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&); <span class="comment">//purposely not implemented</span> <a name="l00125"></a>00125 <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="l00126"></a>00126 <a name="l00130"></a>00130 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image<float, itkGetStaticConstMacro(SetDimension) ></a> SpeedImageType; <a name="l00131"></a>00131 <a name="l00132"></a>00132 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1LevelSetVelocityNeighborhoodExtractor.html" title="Locate pixels of a particular level set.">LevelSetVelocityNeighborhoodExtractor<TLevelSet,TAuxValue,VAuxDimension></a> <a name="l00133"></a>00133 LocatorType; <a name="l00134"></a>00134 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1FastMarchingExtensionImageFilter.html" title="Extend auxiliary variables smoothly using Fast Marching.">FastMarchingExtensionImageFilter<TLevelSet,TAuxValue,VAuxDimension,SpeedImageType></a> <a name="l00135"></a>00135 FastMarchingImageFilterType; <a name="l00136"></a>00136 <a name="l00137"></a>00137 <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">LocatorType::Pointer</a> m_Locator; <a name="l00138"></a>00138 <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">FastMarchingImageFilterType::Pointer</a> m_Marcher; <a name="l00139"></a>00139 <a name="l00140"></a>00140 }; <a name="l00141"></a>00141 <a name="l00142"></a>00142 } <span class="comment">// namespace itk</span> <a name="l00143"></a>00143 <a name="l00144"></a>00144 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00145"></a>00145 <span class="preprocessor"></span><span class="preprocessor">#include "itkExtensionVelocitiesImageFilter.txx"</span> <a name="l00146"></a>00146 <span class="preprocessor">#endif</span> <a name="l00147"></a>00147 <span class="preprocessor"></span> <a name="l00148"></a>00148 <span class="preprocessor">#endif</span> <a name="l00149"></a>00149 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 22:39:26 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>