ITK  5.2.0
Insight Toolkit
itkImageRegionConstIteratorWithOnlyIndex.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkImageRegionConstIteratorWithOnlyIndex_h
19 #define itkImageRegionConstIteratorWithOnlyIndex_h
20 
22 
23 namespace itk
24 {
130 template <typename TImage>
132 {
133 public:
137 
145  using SizeType = typename Superclass::SizeType;
149 
153  {}
154 
157  ImageRegionConstIteratorWithOnlyIndex(const TImage * ptr, const RegionType & region)
158  : ImageConstIteratorWithOnlyIndex<TImage>(ptr, region)
159  {}
160 
168  {
170  }
171 
179  Self &
180  operator++();
181 
189  Self &
190  operator--();
191 };
192 } // end namespace itk
194 
195 #ifndef ITK_MANUAL_INSTANTIATION
196 # include "itkImageRegionConstIteratorWithOnlyIndex.hxx"
197 #endif
198 
199 #endif
itk::ImageRegionConstIteratorWithOnlyIndex::ImageRegionConstIteratorWithOnlyIndex
ImageRegionConstIteratorWithOnlyIndex()
Definition: itkImageRegionConstIteratorWithOnlyIndex.h:151
itk::ImageRegionConstIteratorWithOnlyIndex::ImageRegionConstIteratorWithOnlyIndex
ImageRegionConstIteratorWithOnlyIndex(const TImage *ptr, const RegionType &region)
Definition: itkImageRegionConstIteratorWithOnlyIndex.h:157
itk::ImageConstIteratorWithOnlyIndex::SizeType
typename TImage::SizeType SizeType
Definition: itkImageConstIteratorWithOnlyIndex.h:112
itk::ImageConstIteratorWithOnlyIndex::OffsetType
typename TImage::OffsetType OffsetType
Definition: itkImageConstIteratorWithOnlyIndex.h:122
itk::ImageRegionConstIteratorWithOnlyIndex
A multi-dimensional iterator templated over image type that walks an image region and is specialized ...
Definition: itkImageRegionConstIteratorWithOnlyIndex.h:131
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::ImageConstIteratorWithOnlyIndex::RegionType
typename TImage::RegionType RegionType
Definition: itkImageConstIteratorWithOnlyIndex.h:116
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition: itkGTestTypedefsAndConstructors.h:50
itk::ImageConstIteratorWithOnlyIndex::ImageType
TImage ImageType
Definition: itkImageConstIteratorWithOnlyIndex.h:119
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::ImageRegionConstIteratorWithOnlyIndex::ImageRegionConstIteratorWithOnlyIndex
ImageRegionConstIteratorWithOnlyIndex(const ImageConstIteratorWithOnlyIndex< TImage > &it)
Definition: itkImageRegionConstIteratorWithOnlyIndex.h:167
itk::ImageConstIteratorWithOnlyIndex::operator=
Self & operator=(const Self &it)
itkImageConstIteratorWithOnlyIndex.h
itk::ImageConstIteratorWithOnlyIndex
A base class for multi-dimensional iterators templated over image type that are designed to provide o...
Definition: itkImageConstIteratorWithOnlyIndex.h:95
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ImageConstIteratorWithOnlyIndex::IndexType
typename TImage::IndexType IndexType
Definition: itkImageConstIteratorWithOnlyIndex.h:108