<!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: itkImageRegionExclusionConstIteratorWithIndex.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_ea7fc529ede9a38b0438cf13831ae873.html">Common</a> </div> <div class="contents"> <h1>itkImageRegionExclusionConstIteratorWithIndex.h</h1><a href="itkImageRegionExclusionConstIteratorWithIndex_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: itkImageRegionExclusionConstIteratorWithIndex.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-10-18 21:13:25 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.8 $</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 __itkImageRegionExclusionConstIteratorWithIndex_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkImageRegionExclusionConstIteratorWithIndex_h</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkImageConstIteratorWithIndex_8h.html">itkImageConstIteratorWithIndex.h</a>"</span> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="keyword">namespace </span>itk <a name="l00023"></a>00023 { <a name="l00024"></a>00024 <a name="l00124"></a>00124 <span class="keyword">template</span><<span class="keyword">typename</span> TImage> <a name="l00125"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html">00125</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html" title="Multi-dimensional image iterator that walks an image region, excluding a second region...">ImageRegionExclusionConstIteratorWithIndex</a> : <span class="keyword">public</span> <a class="code" href="classitk_1_1ImageConstIteratorWithIndex.html" title="A base class for multi-dimensional iterators templated over image type that are designed...">ImageConstIteratorWithIndex</a><TImage> <a name="l00126"></a>00126 { <a name="l00127"></a>00127 <span class="keyword">public</span>: <a name="l00129"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#1a5b5d9887a1f76042d3f5ffae8a662c">00129</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html" title="Multi-dimensional image iterator that walks an image region, excluding a second region...">ImageRegionExclusionConstIteratorWithIndex</a> <a class="code" href="classitk_1_1ImageConstIteratorWithIndex.html" title="A base class for multi-dimensional iterators templated over image type that are designed...">Self</a>; <a name="l00130"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#30894279ba03127747227b63690a2b9e">00130</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageConstIteratorWithIndex.html">ImageConstIteratorWithIndex<TImage></a> <a class="code" href="classitk_1_1ImageConstIteratorWithIndex.html">Superclass</a>; <a name="l00131"></a>00131 <a name="l00136"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#7d0acb4d9e3d3efbc2db33801b19805a">00136</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">TImage::IndexType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>; <a name="l00137"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#f57af989a74484742e83e6d6fc908c8a">00137</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">TImage::SizeType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>; <a name="l00138"></a>00138 <a name="l00143"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#4b2ff8cd10f77544d65ab43ea3d711ac">00143</a> <span class="keyword">typedef</span> TImage ImageType; <a name="l00144"></a>00144 <a name="l00148"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#bf1007a1898b541149280f081179c69e">00148</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> TImage::PixelContainer PixelContainer; <a name="l00149"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#c07ba8519cc7783450990ae5028852d6">00149</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">PixelContainer::Pointer</a> PixelContainerPointer; <a name="l00150"></a>00150 <a name="l00155"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#8b54c4bbf17012bc8b70a3b6b5d21fc0">00155</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">TImage::RegionType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a>; <a name="l00156"></a>00156 <a name="l00158"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#416d98864329f8236a7369d5b66a2458">00158</a> <a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#416d98864329f8236a7369d5b66a2458">ImageRegionExclusionConstIteratorWithIndex</a>() : <a class="code" href="classitk_1_1ImageConstIteratorWithIndex.html" title="A base class for multi-dimensional iterators templated over image type that are designed...">ImageConstIteratorWithIndex</a><TImage>() {} <a name="l00159"></a>00159 <a name="l00162"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#bf22fcee6df86f7d780de8266415cc54">00162</a> <a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html" title="Multi-dimensional image iterator that walks an image region, excluding a second region...">ImageRegionExclusionConstIteratorWithIndex</a>(<span class="keyword">const</span> TImage *ptr, <a name="l00163"></a>00163 <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a>& region) <a name="l00164"></a>00164 : <a class="code" href="classitk_1_1ImageConstIteratorWithIndex.html" title="A base class for multi-dimensional iterators templated over image type that are designed...">ImageConstIteratorWithIndex</a><TImage>(ptr, region) {} <a name="l00165"></a>00165 <a name="l00172"></a><a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html#d47a3eae88fe355841fd60f22e51b985">00172</a> <a class="code" href="classitk_1_1ImageRegionExclusionConstIteratorWithIndex.html" title="Multi-dimensional image iterator that walks an image region, excluding a second region...">ImageRegionExclusionConstIteratorWithIndex</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1ImageConstIteratorWithIndex.html">ImageConstIteratorWithIndex<TImage></a> &it) <a name="l00173"></a>00173 { this-><a class="code" href="classitk_1_1ImageConstIteratorWithIndex.html" title="A base class for multi-dimensional iterators templated over image type that are designed...">ImageConstIteratorWithIndex<TImage>::operator=</a>(it); } <a name="l00174"></a>00174 <a name="l00182"></a>00182 <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a> & operator++(); <a name="l00183"></a>00183 <a name="l00191"></a>00191 <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a> & operator--(); <a name="l00192"></a>00192 <a name="l00193"></a>00193 <a name="l00200"></a>00200 <span class="keywordtype">void</span> SetExclusionRegion( <span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> & region ); <a name="l00201"></a>00201 <a name="l00206"></a>00206 <span class="keywordtype">void</span> SetExclusionRegionToInsetRegion(); <a name="l00207"></a>00207 <a name="l00208"></a>00208 <span class="keyword">private</span>: <a name="l00209"></a>00209 <a name="l00210"></a>00210 <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">RegionType</a> m_ExclusionRegion; <a name="l00211"></a>00211 <a name="l00212"></a>00212 <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> m_ExclusionBegin; <a name="l00213"></a>00213 <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a> m_ExclusionEnd; <a name="l00214"></a>00214 <a name="l00215"></a>00215 }; <a name="l00216"></a>00216 <a name="l00217"></a>00217 } <span class="comment">// end namespace itk</span> <a name="l00218"></a>00218 <a name="l00219"></a>00219 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00220"></a>00220 <span class="preprocessor"></span><span class="preprocessor">#include "itkImageRegionExclusionConstIteratorWithIndex.txx"</span> <a name="l00221"></a>00221 <span class="preprocessor">#endif</span> <a name="l00222"></a>00222 <span class="preprocessor"></span> <a name="l00223"></a>00223 <span class="preprocessor">#endif </span> <a name="l00224"></a>00224 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 23:07:41 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>