<!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</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="contents"> <h1>itkImageRegionExclusionConstIteratorWithIndex</h1><div class="fragment"><pre class="fragment"> IteratorType it( image, image->GetRequestedRegion() ); it.SetExclusionRegion( exclusionRegion ); it.GoToBegin(); <span class="keywordflow">while</span>( ! it.IsAtEnd() ) { it.Set( 100.0 + it.Get() ); ++it; } </pre></div><p> It also can be used for walking in the reverse direction like<p> <div class="fragment"><pre class="fragment"> IteratorType it( image, image->GetRequestedRegion() ); it.SetExclusionRegion( exclusionRegion ); it.GoToEnd(); <span class="keywordflow">while</span>( !it.IsAtBegin() ) { it.Set( 100.0 ); --it; } </pre></div><p> <dl class="user" compact><dt><b>MORE INFORMATION</b></dt><dd>For a complete description of the ITK Image Iterators and their API, please see the Iterators chapter in the ITK Software Guide. The ITK Software Guide is available in print and as a free .pdf download from <a href="http://www.itk.org.">http://www.itk.org.</a></dd></dl> <dl class="see" compact><dt><b>See also:</b></dt><dd>ImageConstIterator <p> ConditionalConstIterator <p> ConstNeighborhoodIterator <p> ConstShapedNeighborhoodIterator <p> ConstSliceIterator <p> CorrespondenceDataStructureIterator <p> FloodFilledFunctionConditionalConstIterator <p> FloodFilledImageFunctionConditionalConstIterator <p> FloodFilledImageFunctionConditionalIterator <p> FloodFilledSpatialFunctionConditionalConstIterator <p> FloodFilledSpatialFunctionConditionalIterator <p> ImageConstIterator <p> ImageConstIteratorWithIndex <p> ImageIterator <p> ImageIteratorWithIndex <p> ImageLinearConstIteratorWithIndex <p> ImageLinearIteratorWithIndex <p> ImageRandomConstIteratorWithIndex <p> ImageRandomIteratorWithIndex <p> ImageRegionConstIterator <p> ImageRegionConstIteratorWithIndex <p> ImageRegionExclusionConstIteratorWithIndex <p> ImageRegionExclusionIteratorWithIndex <p> ImageRegionIterator <p> ImageRegionIteratorWithIndex <p> ImageRegionReverseConstIterator <p> ImageRegionReverseIterator <p> ImageReverseConstIterator <p> ImageReverseIterator <p> ImageSliceConstIteratorWithIndex <p> ImageSliceIteratorWithIndex <p> NeighborhoodIterator <p> PathConstIterator <p> PathIterator <p> ShapedNeighborhoodIterator <p> SliceIterator <p> ImageConstIteratorWithIndex</dd></dl> <div class="fragment"><pre class="fragment"></pre></div> </div> <hr><address><small> Generated at Thu May 7 22:04:09 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>