Ponca  eb7239a9c07e156fb1edc6faac7fe89e2b256bda
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::SingleEvaluationScheme Struct Reference

SingleEvaluationScheme. More...

#include <evaluationScheme.h>

Collaboration diagram for Ponca::SingleEvaluationScheme:

Public Member Functions

template<typename ComputeObject, typename Container>
FIT_RESULT compute (ComputeObject &co, const Container &c) const
 Convenience function for STL-like container.
template<typename ComputeObject, typename IteratorBegin, typename IteratorEnd>
FIT_RESULT compute (ComputeObject &co, const IteratorBegin &begin, const IteratorEnd &end) const
 Convenience function for STL-like iterators.
template<typename ComputeObject, typename IndexRange, typename PointContainer>
FIT_RESULT computeWithIds (ComputeObject &co, IndexRange ids, const PointContainer &points) const
 [SingleEvaluationScheme Compute Definition]

Detailed Description

SingleEvaluationScheme.

Simple evaluation scheme that calls compute on the given fit

Definition at line 19 of file evaluationScheme.h.

Member Function Documentation

◆ compute() [1/2]

template<typename ComputeObject, typename Container>
FIT_RESULT Ponca::SingleEvaluationScheme::compute ( ComputeObject & co,
const Container & c ) const
inline

Convenience function for STL-like container.

Note
This method is only accessible when using a CPU architecture (PONCA_CPU_ARCH = true)
Template Parameters
ComputeObjectCompute object to call the function on
ContainerAnd STL-Like container
See also
#compute(const IteratorBegin& begin, const IteratorEnd& end)

Definition at line 31 of file evaluationScheme.h.

◆ compute() [2/2]

template<typename ComputeObject, typename IteratorBegin, typename IteratorEnd>
FIT_RESULT Ponca::SingleEvaluationScheme::compute ( ComputeObject & co,
const IteratorBegin & begin,
const IteratorEnd & end ) const
inline

Convenience function for STL-like iterators.

Template Parameters
ComputeObjectCompute object to call the function on
IteratorBeginThe beginning of the iterator (std::begin(iterator)
IteratorEndThe end of the iterator (std::end(iterator) [SingleEvaluationScheme Compute Definition]

Definition at line 44 of file evaluationScheme.h.

◆ computeWithIds()

template<typename ComputeObject, typename IndexRange, typename PointContainer>
FIT_RESULT Ponca::SingleEvaluationScheme::computeWithIds ( ComputeObject & co,
IndexRange ids,
const PointContainer & points ) const
inline

[SingleEvaluationScheme Compute Definition]

Convenience function to iterate over a subset of samples in a PointContainer

Template Parameters
ComputeObjectCompute object to call the function on
IndexRangeSTL-Like range storing indices of the neighbors
PointContainerSTL-like container storing the points
See also
#compute(const IteratorBegin& begin, const IteratorEnd& end)

Definition at line 58 of file evaluationScheme.h.