00001 IteratorType it( image, image->GetRequestedRegion() ); 00002 00003 it.SetExclusionRegion( exclusionRegion ); 00004 00005 it.GoToBegin(); 00006 00007 while( ! it.IsAtEnd() ) 00008 { 00009 it.Set( 100.0 + it.Get() ); 00010 ++it; 00011 }
It also can be used for walking in the reverse direction like
00001 IteratorType it( image, image->GetRequestedRegion() ); 00002 00003 it.SetExclusionRegion( exclusionRegion ); 00004 it.GoToEnd(); 00005 00006 while( !it.IsAtBegin() ) 00007 { 00008 it.Set( 100.0 ); 00009 --it; 00010 }
ConditionalConstIterator
ConstNeighborhoodIterator
ConstShapedNeighborhoodIterator
ConstSliceIterator
CorrespondenceDataStructureIterator
FloodFilledFunctionConditionalConstIterator
FloodFilledImageFunctionConditionalConstIterator
FloodFilledImageFunctionConditionalIterator
FloodFilledSpatialFunctionConditionalConstIterator
FloodFilledSpatialFunctionConditionalIterator
ImageConstIterator
ImageConstIteratorWithIndex
ImageIterator
ImageIteratorWithIndex
ImageLinearConstIteratorWithIndex
ImageLinearIteratorWithIndex
ImageRandomConstIteratorWithIndex
ImageRandomIteratorWithIndex
ImageRegionConstIterator
ImageRegionConstIteratorWithIndex
ImageRegionExclusionConstIteratorWithIndex
ImageRegionExclusionIteratorWithIndex
ImageRegionIterator
ImageRegionIteratorWithIndex
ImageRegionReverseConstIterator
ImageRegionReverseIterator
ImageReverseConstIterator
ImageReverseIterator
ImageSliceConstIteratorWithIndex
ImageSliceIteratorWithIndex
NeighborhoodIterator
PathConstIterator
PathIterator
ShapedNeighborhoodIterator
SliceIterator
ImageConstIteratorWithIndex