Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkImageRegionConstIteratorWithIndex.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkImageRegionConstIteratorWithIndex.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:11 $ 00007 Version: $Revision: 1.8 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __itkImageRegionConstIteratorWithIndex_h 00018 #define __itkImageRegionConstIteratorWithIndex_h 00019 00020 #include "itkImageConstIteratorWithIndex.h" 00021 00022 namespace itk 00023 { 00024 00088 template<typename TImage> 00089 class ITK_EXPORT ImageRegionConstIteratorWithIndex : public ImageConstIteratorWithIndex<TImage> 00090 { 00091 public: 00093 typedef ImageRegionConstIteratorWithIndex Self; 00094 typedef ImageConstIteratorWithIndex<TImage> Superclass; 00095 00100 typedef typename TImage::IndexType IndexType; 00101 00106 typedef TImage ImageType; 00107 00111 typedef typename TImage::PixelContainer PixelContainer; 00112 typedef typename PixelContainer::Pointer PixelContainerPointer; 00113 00118 typedef typename TImage::RegionType RegionType; 00119 00121 ImageRegionConstIteratorWithIndex() : ImageConstIteratorWithIndex<TImage>() {} 00122 00125 ImageRegionConstIteratorWithIndex( const TImage *ptr, 00126 const RegionType& region ) 00127 : ImageConstIteratorWithIndex<TImage>(ptr, region) {} 00128 00135 ImageRegionConstIteratorWithIndex( const ImageConstIteratorWithIndex<TImage> &it) 00136 { this->ImageConstIteratorWithIndex<TImage>::operator=(it); } 00137 00145 Self & operator++(); 00146 00154 Self & operator--(); 00155 }; 00156 00161 } // end namespace itk 00162 00163 #ifndef ITK_MANUAL_INSTANTIATION 00164 #include "itkImageRegionConstIteratorWithIndex.txx" 00165 #endif 00166 00167 #endif 00168

Generated at Sun Apr 1 02:34:28 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000