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
23namespace itk
24{
25
47{
48public:
49 ITK_DISALLOW_COPY_AND_MOVE(ImageRegionSplitterSlowDimension);
50
56
58 itkNewMacro(Self);
59
61 itkOverrideGetNameOfClassMacro(ImageRegionSplitterSlowDimension);
62
63
64protected:
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
Divide an image region into several pieces.
Divide an image region along the slowest dimension.
unsigned int GetNumberOfSplitsInternal(unsigned int dim, const IndexValueType regionIndex[], const SizeValueType regionSize[], unsigned int requestedNumber) const override
unsigned int GetSplitInternal(unsigned int dim, unsigned int i, unsigned int numberOfPieces, IndexValueType regionIndex[], SizeValueType regionSize[]) const override
Base class for most ITK classes.
Definition: itkObject.h:62
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
long IndexValueType
Definition: itkIntTypes.h:93
unsigned long SizeValueType
Definition: itkIntTypes.h:86