ITK  5.1.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 {
129 template <typename TImage>
131 {
132 public:
136 
144  using SizeType = typename Superclass::SizeType;
148 
152  {}
153 
156  ImageRegionConstIteratorWithOnlyIndex(const TImage * ptr, const RegionType & region)
157  : ImageConstIteratorWithOnlyIndex<TImage>(ptr, region)
158  {}
159 
167  {
169  }
170 
178  Self &
179  operator++();
180 
188  Self &
189  operator--();
190 };
191 } // end namespace itk
193 
194 #ifndef ITK_MANUAL_INSTANTIATION
195 # include "itkImageRegionConstIteratorWithOnlyIndex.hxx"
196 #endif
197 
198 #endif
itk::ImageRegionConstIteratorWithOnlyIndex::ImageRegionConstIteratorWithOnlyIndex
ImageRegionConstIteratorWithOnlyIndex()
Definition: itkImageRegionConstIteratorWithOnlyIndex.h:150
itk::ImageRegionConstIteratorWithOnlyIndex::ImageRegionConstIteratorWithOnlyIndex
ImageRegionConstIteratorWithOnlyIndex(const TImage *ptr, const RegionType &region)
Definition: itkImageRegionConstIteratorWithOnlyIndex.h:156
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:130
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:166
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: itkArray.h:26
itk::ImageConstIteratorWithOnlyIndex::IndexType
typename TImage::IndexType IndexType
Definition: itkImageConstIteratorWithOnlyIndex.h:108