KWStyle - itkImageRegionReverseConstIterator.txx
 
Matrix View
Description

1 /*=========================================================================
2
3   Program:   Insight Segmentation & Registration Toolkit
4   Module:    $RCSfile: itkImageRegionReverseConstIterator.txx.html,v $
5   Language:  C++
6   Date:      $Date: 2006/01/17 19:15:39 $
7   Version:   $Revision: 1.4 $
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 DEF #ifndef _itkImageRegionReverseConstIterator_txx
18 DEF #define _itkImageRegionReverseConstIterator_txx
19
20 #include "itkImageRegionReverseConstIterator.h"
21
22 namespace itk
23 {
24
25 template< typename TImage >
26 ImageRegionReverseConstIterator<TImage> 
27 ImageRegionReverseConstIterator<TImage>
28 ::Begin() const
29
30   // Copy the current iterator
31   Self it( *this );
32
33   // Set the iterator to the beginning of the region
34   it.GoToBegin();
35   
36   return it;
37 }
38
39
40 EML
41 template< typename TImage >
42 ImageRegionReverseConstIterator<TImage> 
43 ImageRegionReverseConstIterator<TImage>
44 ::End() const
45
46   // Copy the current iterator
47   Self it( *this );
48
49   // Set the iterator to the end of the region
50   it.GoToEnd();
51   
52   return it;
53 }
54
55
56 // end namespace itk
57
58 #endif
59

Generated by KWStyle 1.0b on Tuesday January,17 at 02:14:14PM
© Kitware Inc.