Orfeo Toolbox  3.16
itkImageSliceIteratorWithIndex.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkImageSliceIteratorWithIndex.h,v $
5  Language: C++
6  Date: $Date: 2009-05-19 13:47:44 $
7  Version: $Revision: 1.12 $
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 __itkImageSliceIteratorWithIndex_h
18 #define __itkImageSliceIteratorWithIndex_h
19 
22 
23 namespace itk
24 {
25 
67 template<typename TImage>
69 {
70 public:
74 
76  typedef typename Superclass::IndexType IndexType;
78  typedef typename Superclass::SizeType SizeType;
83  typedef typename Superclass::ImageType ImageType;
87  typedef typename Superclass::PixelType PixelType;
89 
90 
93 
97 
105 
107  void Set( const PixelType & value) const
108  { this->m_PixelAccessorFunctor.Set(*(const_cast<InternalPixelType *>(this->m_Position)),value); }
109 
113  PixelType & Value(void)
114  { return *(const_cast<InternalPixelType *>(this->m_Position)); }
115 
116 protected:
120  Self & operator=(const ImageSliceConstIteratorWithIndex<TImage> & it);
121 
122 
123 };
124 
125 } // end namespace itk
126 
127 #ifndef ITK_MANUAL_INSTANTIATION
129 #endif
130 
131 #endif

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