18 #ifndef itkDomainThreader_h
19 #define itkDomainThreader_h
65 template<
typename TDomainPartitioner,
typename TAssociate >
118 return this->m_MultiThreader->GetMaximumNumberOfThreads();
120 void SetMaximumNumberOfThreads(
const ThreadIdType threads);
129 virtual void DetermineNumberOfWorkUnitsUsed();
144 virtual void ThreadedExecution(
const DomainType& subdomain,
162 void StartThreadingSequence();
183 #ifndef ITK_MANUAL_INSTANTIATION
184 #include "itkDomainThreader.hxx"
typename DomainPartitionerType::DomainType DomainType
DomainThreader * domainThreader
virtual void BeforeThreadedExecution()
DomainType m_CompleteDomain
Light weight base class for most itk classes.
Multi-threaded processing on a domain by processing sub-domains per thread.
virtual void AfterThreadedExecution()
itk::ITK_THREAD_RETURN_TYPE ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION
AssociateType * m_Associate
constexpr std::vcl_size_t ITK_MAX_THREADS
Superclass::DomainType DomainType
TJointHistogramMetric AssociateType
DomainPartitionerType::Pointer m_DomainPartitioner
A class for performing multithreaded execution.
ThreadIdType m_NumberOfWorkUnits
int Execute(int argc, char *argv[])
Partitions an indexed container.
unsigned int ThreadIdType
ThreadIdType GetMaximumNumberOfThreads() const
Base class for most ITK classes.
MultiThreaderBase::Pointer m_MultiThreader