ITK  6.0.0
Insight Toolkit
itkImageRegionSplitterSlowDimension.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  * https://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 itkImageRegionSplitterSlowDimension_h
19 #define itkImageRegionSplitterSlowDimension_h
20 
22 
23 namespace itk
24 {
25 
47 {
48 public:
49  ITK_DISALLOW_COPY_AND_MOVE(ImageRegionSplitterSlowDimension);
50 
56 
58  itkNewMacro(Self);
59 
61  itkOverrideGetNameOfClassMacro(ImageRegionSplitterSlowDimension);
62 
63 
64 protected:
66 
67  unsigned int
68  GetNumberOfSplitsInternal(unsigned int dim,
69  const IndexValueType regionIndex[],
70  const SizeValueType regionSize[],
71  unsigned int requestedNumber) const override;
72 
73  unsigned int
74  GetSplitInternal(unsigned int dim,
75  unsigned int i,
76  unsigned int numberOfPieces,
77  IndexValueType regionIndex[],
78  SizeValueType regionSize[]) const override;
79 };
80 } // end namespace itk
81 
82 #endif
itk::ImageRegionSplitterSlowDimension
Divide an image region along the slowest dimension.
Definition: itkImageRegionSplitterSlowDimension.h:46
itk::SmartPointer< Self >
itk::IndexValueType
long IndexValueType
Definition: itkIntTypes.h:93
itk::ImageRegionSplitterBase
Divide an image region into several pieces.
Definition: itkImageRegionSplitterBase.h:58
itkImageRegionSplitterBase.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::Object
Base class for most ITK classes.
Definition: itkObject.h:61
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:86