Orfeo Toolbox  3.16
itkImageReverseIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkImageReverseIterator.h,v $
5  Language: C++
6  Date: $Date: 2008-10-18 21:13:25 $
7  Version: $Revision: 1.18 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkImageReverseIterator_h
18 #define __itkImageReverseIterator_h
19 
22 
23 namespace itk
24 {
25 
62 template<typename TImage>
64 {
65 public:
69 
71  typedef typename Superclass::IndexType IndexType;
73  typedef typename Superclass::SizeType SizeType;
78  typedef typename Superclass::ImageType ImageType;
82  typedef typename Superclass::PixelType PixelType;
84 
85 
88 
91  ImageReverseIterator(ImageType *ptr, const RegionType& region);
92 
100 
102  void Set( const PixelType & value) const
103  { this->m_PixelAccessorFunctor.Set(* const_cast<InternalPixelType *>((this->m_Buffer+this->m_Offset)),value); }
104 
108  PixelType & Value(void)
109  { return *(this->m_Buffer+this->m_Offset); }
110 
111 
112 protected:
116  Self & operator=(const ImageRegionReverseConstIterator<TImage> & it);
117 
118 
119 };
120 
121 } // end namespace itk
122 
123 #ifndef ITK_MANUAL_INSTANTIATION
125 #endif
126 
127 #endif

Generated at Sat Feb 2 2013 23:44:36 for Orfeo Toolbox with doxygen 1.8.1.1