<!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: itkWatershedBoundary.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>itkWatershedBoundary.h</h1><a href="itkWatershedBoundary_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: itkWatershedBoundary.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-01-27 19:30:17 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.17 $</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 __itkWatershedBoundary_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkWatershedBoundary_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#if defined(_MSC_VER)</span> <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#pragma warning ( disable : 4786 )</span> <a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00023"></a>00023 <span class="preprocessor"></span> <a name="l00024"></a>00024 <span class="preprocessor">#include <list></span> <a name="l00025"></a>00025 <span class="preprocessor">#include <vector></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="itkObjectFactory_8h.html">itkObjectFactory.h</a>"</span> <a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="itkDataObject_8h.html">itkDataObject.h</a>"</span> <a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="itkProcessObject_8h.html">itkProcessObject.h</a>"</span> <a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="itk__hash__map_8h.html">itk_hash_map.h</a>"</span> <a name="l00031"></a>00031 <a name="l00032"></a>00032 <span class="keyword">namespace </span>itk <a name="l00033"></a>00033 { <a name="l00034"></a><a class="code" href="namespaceitk_1_1watershed.html">00034</a> <span class="keyword">namespace </span>watershed <a name="l00035"></a>00035 { <a name="l00055"></a>00055 <span class="keyword">template</span> <<span class="keyword">class</span> TScalarType, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> TDimension> <a name="l00056"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html">00056</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1watershed_1_1Boundary.html">Boundary</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> <a name="l00057"></a>00057 { <a name="l00058"></a>00058 <span class="keyword">public</span>: <a name="l00063"></a>00063 <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(Dimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, TDimension); <a name="l00064"></a>00064 <a name="l00069"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#c58ec3c874fa5f632b813867780a6f58">00069</a> <span class="keyword">typedef</span> std::pair<unsigned, unsigned> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>; <a name="l00070"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#25e1ffc333e230658ee315e74563b0b4">00070</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.">Image<unsigned long, TDimension>::IndexType</a> ImageIndexType; <a name="l00071"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#9fd344816b6a1a44e51950ea4705d2c5">00071</a> <span class="keyword">typedef</span> TScalarType ScalarType; <a name="l00072"></a>00072 <a name="l00074"></a><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1face__pixel__t.html">00074</a> <span class="keyword">struct </span><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1face__pixel__t.html">face_pixel_t</a> <a name="l00075"></a>00075 { <a name="l00076"></a>00076 <a name="l00091"></a><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1face__pixel__t.html#1daf47c4dce1bc29a574958e718f814c">00091</a> <span class="keywordtype">short</span> flow; <a name="l00092"></a>00092 <a name="l00094"></a><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1face__pixel__t.html#60e2245f96bd6bffa0408cbe769cac17">00094</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> label; <a name="l00095"></a>00095 }; <a name="l00096"></a>00096 <a name="l00098"></a><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1flat__region__t.html">00098</a> <span class="keyword">struct </span><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1flat__region__t.html">flat_region_t</a> <a name="l00099"></a>00099 { <a name="l00100"></a>00100 <a name="l00104"></a><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1flat__region__t.html#63b80bf448f640d79041be1d3355cd57">00104</a> std::list<unsigned long> offset_list; <a name="l00105"></a>00105 <a name="l00108"></a><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1flat__region__t.html#d05e64329c3b0feb8b45ecedbef64b5a">00108</a> ScalarType bounds_min; <a name="l00109"></a>00109 <a name="l00112"></a><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1flat__region__t.html#880590fb11fb1ecf6d7e0d27f0664ace">00112</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> min_label; <a name="l00113"></a>00113 <a name="l00115"></a><a class="code" href="structitk_1_1watershed_1_1Boundary_1_1flat__region__t.html#c714676ec3903c6827be81342936b7bb">00115</a> ScalarType value; <a name="l00116"></a>00116 }; <a name="l00117"></a>00117 <a name="l00120"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#66129500a369e3587985a01501536b21">00120</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image<face_pixel_t, TDimension></a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">face_t</a>; <a name="l00121"></a>00121 <a name="l00123"></a>00123 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1hash__map.html" title="Replacement for STL hash map because some systems do not support it, or support it...">itk::hash_map</a><<span class="keywordtype">unsigned</span> long, <a class="code" href="structitk_1_1watershed_1_1Boundary_1_1flat__region__t.html">flat_region_t</a>, <a name="l00124"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#0b73af7823f861478cae6192a4f643f2">00124</a> <a class="code" href="structitk_1_1hash_3_01unsigned_01long_01_4.html">itk::hash<unsigned long></a> > <a class="code" href="classitk_1_1hash__map.html" title="Replacement for STL hash map because some systems do not support it, or support it...">flat_hash_t</a>; <a name="l00125"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#863b4fba5f9490add3c7926a434a9b5e">00125</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceitk.html#87ac35b82c3f0b7231a21eda576557d1">flat_hash_t::value_type</a> FlatHashValueType; <a name="l00126"></a>00126 <a name="l00129"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#beea496d19741bdf30c3759b926c3205">00129</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1watershed_1_1Boundary.html">Boundary</a> <a class="code" href="classitk_1_1watershed_1_1Boundary.html">Self</a>; <a name="l00130"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#9fde1546f0ca8ed546731a78df78ddba">00130</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a> <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">Superclass</a>; <a name="l00131"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#89de75a7e399bde6b623bb37a7c18088">00131</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="l00132"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#53aac7398580b3f3e827ba5d9396c6a4">00132</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="l00133"></a>00133 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1watershed_1_1Boundary.html">Self</a>); <a name="l00134"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#e6ee649d4b7bfa07afab09e20036af93">00134</a> <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(WatershedBoundary, <a class="code" href="classitk_1_1DataObject.html" title="Base class for all data objects in ITK.">DataObject</a>); <a name="l00136"></a>00136 <a name="l00138"></a>00138 <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">face_t::Pointer</a> <a class="code" href="classitk_1_1SmartPointer.html">FacePointer</a>; <a name="l00139"></a>00139 <a name="l00140"></a>00140 <a name="l00142"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#d17f5aaf1dd69eae9fc4c5b084ebda4c">00142</a> <a class="code" href="classitk_1_1SmartPointer.html">FacePointer</a> GetFace(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &idx) <a name="l00143"></a>00143 { <span class="keywordflow">return</span> this-><a class="code" href="classitk_1_1watershed_1_1Boundary.html#d17f5aaf1dd69eae9fc4c5b084ebda4c">GetFace</a>(idx.first, idx.second); } <a name="l00144"></a>00144 <a name="l00148"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#1df713fc36d56669c4e8ef8a736b3b77">00148</a> <a class="code" href="classitk_1_1SmartPointer.html">FacePointer</a> GetFace(<span class="keywordtype">unsigned</span> dimension, <span class="keywordtype">unsigned</span> highlow) <a name="l00149"></a>00149 { <a name="l00150"></a>00150 <span class="keywordflow">if</span> (highlow == 0) <span class="keywordflow">return</span> m_Faces[dimension].first; <a name="l00151"></a>00151 <span class="keywordflow">else</span> <span class="keywordflow">return</span> m_Faces[dimension].second; <a name="l00152"></a>00152 } <a name="l00154"></a>00154 <a name="l00155"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#69b38c4cef658c768b1ae69be4a7d45d">00155</a> <span class="keywordtype">void</span> SetFace(<a class="code" href="classitk_1_1SmartPointer.html">FacePointer</a> f, <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &idx) <a name="l00156"></a>00156 { this-><a class="code" href="classitk_1_1watershed_1_1Boundary.html#69b38c4cef658c768b1ae69be4a7d45d">SetFace</a>(f, idx.first, idx.second); } <a name="l00157"></a>00157 <a name="l00158"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#bb4aed27bbd8e4c41cdcec63427de40d">00158</a> <span class="keywordtype">void</span> SetFace(<a class="code" href="classitk_1_1SmartPointer.html">FacePointer</a> f, <span class="keywordtype">unsigned</span> dimension, <span class="keywordtype">unsigned</span> highlow) <a name="l00159"></a>00159 { <a name="l00160"></a>00160 <span class="keywordflow">if</span> (highlow ==0 ) m_Faces[dimension].first = f; <a name="l00161"></a>00161 <span class="keywordflow">else</span> m_Faces[dimension].second = f; <a name="l00162"></a>00162 this->Modified(); <a name="l00163"></a>00163 } <a name="l00164"></a>00164 <a name="l00166"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#3ff302b5cb301fe8354afd0b9b08907e">00166</a> <a class="code" href="classitk_1_1hash__map.html" title="Replacement for STL hash map because some systems do not support it, or support it...">flat_hash_t</a> *GetFlatHash(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &idx) <a name="l00167"></a>00167 { <span class="keywordflow">return</span> this-><a class="code" href="classitk_1_1watershed_1_1Boundary.html#3ff302b5cb301fe8354afd0b9b08907e">GetFlatHash</a>(idx.first, idx.second); } <a name="l00168"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#924e413063198a6dc64197e007338d91">00168</a> <a class="code" href="classitk_1_1hash__map.html" title="Replacement for STL hash map because some systems do not support it, or support it...">flat_hash_t</a> *GetFlatHash(<span class="keywordtype">unsigned</span> dimension, <span class="keywordtype">unsigned</span> highlow) <a name="l00169"></a>00169 { <a name="l00170"></a>00170 <span class="keywordflow">if</span> (highlow == 0) <span class="keywordflow">return</span> &(m_FlatHashes[dimension].first); <a name="l00171"></a>00171 <span class="keywordflow">else</span> <span class="keywordflow">return</span> &(m_FlatHashes[dimension].second); <a name="l00172"></a>00172 } <a name="l00173"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#832ed2ac4c20611c16e84f46b9979259">00173</a> <span class="keywordtype">void</span> SetFlatHash(<a class="code" href="classitk_1_1hash__map.html" title="Replacement for STL hash map because some systems do not support it, or support it...">flat_hash_t</a> & l, <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &idx) <a name="l00174"></a>00174 { this-><a class="code" href="classitk_1_1watershed_1_1Boundary.html#832ed2ac4c20611c16e84f46b9979259">SetFlatHash</a>(l, idx.first, idx.second); } <a name="l00175"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#4e5787d5cfd888e3760c82162a6a17b9">00175</a> <span class="keywordtype">void</span> SetFlatHash(<a class="code" href="classitk_1_1hash__map.html" title="Replacement for STL hash map because some systems do not support it, or support it...">flat_hash_t</a> & l, <span class="keywordtype">unsigned</span> dimension, <a name="l00176"></a>00176 <span class="keywordtype">unsigned</span> highlow) <a name="l00177"></a>00177 { <a name="l00178"></a>00178 <span class="keywordflow">if</span> (highlow ==0 ) m_FlatHashes[dimension].first = l; <a name="l00179"></a>00179 <span class="keywordflow">else</span> m_FlatHashes[dimension].second = l; <a name="l00180"></a>00180 this->Modified(); <a name="l00181"></a>00181 } <a name="l00183"></a>00183 <a name="l00188"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#02864d7f8c436435a98ebe8c573ff573">00188</a> <span class="keywordtype">void</span> SetValid(<span class="keywordtype">bool</span> & l, <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &idx) <a name="l00189"></a>00189 { this-><a class="code" href="classitk_1_1watershed_1_1Boundary.html#02864d7f8c436435a98ebe8c573ff573">SetValid</a>(l, idx.first, idx.second); } <a name="l00190"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#265cf5dfcd09c402b3d5cce3c7970d1f">00190</a> <span class="keywordtype">void</span> SetValid(<span class="keywordtype">bool</span> b, <span class="keywordtype">unsigned</span> dimension, <a name="l00191"></a>00191 <span class="keywordtype">unsigned</span> highlow) <a name="l00192"></a>00192 { <a name="l00193"></a>00193 <span class="keywordflow">if</span> (highlow ==0 ) m_Valid[dimension].first = b; <a name="l00194"></a>00194 <span class="keywordflow">else</span> m_Valid[dimension].second = b; <a name="l00195"></a>00195 this->Modified(); <a name="l00196"></a>00196 } <a name="l00197"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#0aba4c1fb5a3216a7a6ef75a61b9ccfc">00197</a> <span class="keywordtype">bool</span> GetValid(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> &idx)<span class="keyword"> const</span> <a name="l00198"></a>00198 <span class="keyword"> </span>{ <span class="keywordflow">return</span> this-><a class="code" href="classitk_1_1watershed_1_1Boundary.html#0aba4c1fb5a3216a7a6ef75a61b9ccfc">GetValid</a>(idx.first, idx.second); } <a name="l00199"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#0791c14d4a9f94bb3bfd8c9f4b7b0f4e">00199</a> <span class="keywordtype">bool</span> GetValid(<span class="keywordtype">unsigned</span> dimension, <span class="keywordtype">unsigned</span> highlow)<span class="keyword"> const</span> <a name="l00200"></a>00200 <span class="keyword"> </span>{ <a name="l00201"></a>00201 <span class="keywordflow">if</span> (highlow == 0) <span class="keywordflow">return</span> m_Valid[dimension].first; <a name="l00202"></a>00202 <span class="keywordflow">else</span> <span class="keywordflow">return</span> m_Valid[dimension].second; <a name="l00203"></a>00203 } <a name="l00205"></a>00205 <a name="l00206"></a>00206 <span class="keyword">protected</span>: <a name="l00207"></a>00207 <a class="code" href="classitk_1_1watershed_1_1Boundary.html">Boundary</a>(); <a name="l00208"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#b3190de5b6fe5e58528ce4811af0fa04">00208</a> <span class="keyword">virtual</span> <a class="code" href="classitk_1_1watershed_1_1Boundary.html#b3190de5b6fe5e58528ce4811af0fa04">~Boundary</a>() {} <a name="l00209"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#8fb594d002ace0f90a1112c6fe560262">00209</a> <a class="code" href="classitk_1_1watershed_1_1Boundary.html#8fb594d002ace0f90a1112c6fe560262">Boundary</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1watershed_1_1Boundary.html">Self</a>&) {} <a name="l00210"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#246b196b2e289d436bb457c1d7817ea2">00210</a> <span class="keywordtype">void</span> <a class="code" href="classitk_1_1watershed_1_1Boundary.html#246b196b2e289d436bb457c1d7817ea2">operator=</a>(<span class="keyword">const</span> <a class="code" href="classitk_1_1watershed_1_1Boundary.html">Self</a>&) {} <a name="l00211"></a>00211 <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="l00212"></a>00212 <a name="l00214"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#13ab5c86d7bc2bd37d722f55aa7edd32">00214</a> std::vector<std::pair<FacePointer, FacePointer> > m_Faces; <a name="l00215"></a>00215 <a name="l00218"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#5067181e2c3f6dd47b07f4341e5fa9df">00218</a> std::vector<std::pair<flat_hash_t, flat_hash_t> > m_FlatHashes; <a name="l00219"></a>00219 <a name="l00222"></a><a class="code" href="classitk_1_1watershed_1_1Boundary.html#d74e5e4c497d9e48f73f4bcd614c739e">00222</a> std::vector<std::pair<bool,bool> > m_Valid; <a name="l00223"></a>00223 <a name="l00224"></a>00224 }; <a name="l00225"></a>00225 }<span class="comment">// end namespace watershed</span> <a name="l00226"></a>00226 }<span class="comment">// end namespace itk</span> <a name="l00227"></a>00227 <a name="l00228"></a>00228 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00229"></a>00229 <span class="preprocessor"></span><span class="preprocessor">#include "itkWatershedBoundary.txx"</span> <a name="l00230"></a>00230 <span class="preprocessor">#endif</span> <a name="l00231"></a>00231 <span class="preprocessor"></span> <a name="l00232"></a>00232 <span class="preprocessor">#endif</span> <a name="l00233"></a>00233 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Fri May 8 00:40:01 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>