29#include <DGtal/kernel/domains/DomainSplitter.h>
30#include <DGtal/topology/helpers/Surfaces.h>
32#ifndef DGTAL_WITH_OPENMP
33#error You need to have activated OpenMP (DGTAL_WITH_OPENMP) to include this file.
55 template<
class TEstimator,
typename TSplitter>
61 using Domain =
typename TEstimator::Domain;
62 using Scalar =
typename TEstimator::Scalar;
64 using KSpace =
typename TEstimator::KSpace;
87 template<
typename... Args>
130 template<
typename ItA,
typename ItB>
131 void init(
double h_, ItA ite, ItB itb);
147 template<
typename It>
170 template<
typename It,
typename Oit>
171 Oit
eval(It itb, It ite, Oit result);
191#include "ParallelIIEstimator.ih"
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: Smart or simple const pointer on T. It can be a smart pointer based on reference counts or a sim...
Aim: This class is useful to perform a depth-first exploration of a graph given a starting point or s...
Aim: Represents a set of n-1-cells in a nD space, together with adjacency relation between these cell...
Aim: Transforms a graph visitor into a single pass input range.
std::set< SCell > SurfelSet
Preferred type for defining a set of surfels (always signed cells).
Aim: A model of CDigitalSurfaceContainer which defines the digital surface as the boundary of an impl...
Run an Integral Invariant estimator in parallel.
typename TEstimator::Quantity EstimatorQuantity
CountedConstPtrOrConstPtr< KSpace > myKSpace
void attach(ConstAlias< KSpace > K, ConstAlias< PointPredicate > aPointPredicate)
void setParams(double dRadius)
typename KSpace::SurfelSet SurfelSet
CountedConstPtrOrConstPtr< PointPredicate > myPointPredicate
EstimatorQuantity Quantity
typename TEstimator::Scalar Scalar
ParallelIIEstimator(Splitter splitter, int32_t nbThread, Args &&... args)
Constructor.
typename KSpace::Surfel Surfel
typename TEstimator::KSpace KSpace
void selfDisplay(std::ostream &out) const
void init(double h_, ItA ite, ItB itb)
std::vector< Estimator > myEstimators
typename TEstimator::Domain Domain
Oit eval(It itb, It ite, Oit result)
typename TEstimator::PointPredicate PointPredicate
DGtal is the top-level namespace which contains all DGtal functions and types.
std::int32_t int32_t
signed 32-bit integer.
AxisDomainSplitter< Domain > splitter