ITK
4.13.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Core
Common
include
itkThreadedIndexedContainerPartitioner.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright Insight Software Consortium
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 itkThreadedIndexedContainerPartitioner_h
19
#define itkThreadedIndexedContainerPartitioner_h
20
21
#include "
itkThreadedDomainPartitioner.h
"
22
#include "
itkIndex.h
"
23
24
namespace
itk
25
{
26
44
class
ITKCommon_EXPORT
ThreadedIndexedContainerPartitioner
45
:
public
ThreadedDomainPartitioner
< Index<2> >
46
{
47
public
:
49
typedef
ThreadedIndexedContainerPartitioner
Self
;
50
typedef
ThreadedDomainPartitioner< Index<2>
>
Superclass
;
51
typedef
SmartPointer< Self >
Pointer
;
52
typedef
SmartPointer< const Self >
ConstPointer
;
53
55
itkNewMacro(
Self
);
56
58
itkTypeMacro(
ThreadedIndexedContainerPartitioner
,
ThreadedDomainPartitioner
);
59
61
typedef
Superclass::DomainType
DomainType
;
62
64
typedef
DomainType
IndexRangeType
;
65
78
virtual
79
ThreadIdType
PartitionDomain(
const
ThreadIdType
threadId,
80
const
ThreadIdType
requestedTotal,
81
const
DomainType
& completeIndexRange,
82
DomainType
& subIndexRange)
const
ITK_OVERRIDE;
83
84
protected
:
85
ThreadedIndexedContainerPartitioner
();
86
virtual
~
ThreadedIndexedContainerPartitioner
() ITK_OVERRIDE;
87
88
private:
89
ITK_DISALLOW_COPY_AND_ASSIGN(
ThreadedIndexedContainerPartitioner
);
90
91
};
92
93
}
// end namespace itk
94
95
#endif
itk::LightObject
Light weight base class for most itk classes.
Definition:
itkLightObject.h:55
itk::ThreadedDomainPartitioner
Virtual base class for partitioning a domain into subsets to be processed per thread when parallel pr...
Definition:
itkThreadedDomainPartitioner.h:47
itk::ThreadedIndexedContainerPartitioner::Superclass
ThreadedDomainPartitioner< Index< 2 > > Superclass
Definition:
itkThreadedIndexedContainerPartitioner.h:50
itk::ThreadedIndexedContainerPartitioner::DomainType
Superclass::DomainType DomainType
Definition:
itkThreadedIndexedContainerPartitioner.h:58
itk::ThreadedIndexedContainerPartitioner::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkThreadedIndexedContainerPartitioner.h:52
itkIndex.h
itk::ThreadedIndexedContainerPartitioner
Partitions an indexed container.
Definition:
itkThreadedIndexedContainerPartitioner.h:44
itk::ThreadedIndexedContainerPartitioner::Self
ThreadedIndexedContainerPartitioner Self
Definition:
itkThreadedIndexedContainerPartitioner.h:49
itk::ThreadedIndexedContainerPartitioner::Pointer
SmartPointer< Self > Pointer
Definition:
itkThreadedIndexedContainerPartitioner.h:51
itk::ThreadIdType
unsigned int ThreadIdType
Definition:
itkIntTypes.h:159
itk::SmartPointer< Self >
itk::ThreadedIndexedContainerPartitioner::IndexRangeType
DomainType IndexRangeType
Definition:
itkThreadedIndexedContainerPartitioner.h:64
itkThreadedDomainPartitioner.h
Generated on Tue Dec 19 2017 04:59:01 for ITK by
1.8.5