|
template<typename Container > |
FIT_RESULT | compute (const Container &c) |
| Convenience function for STL-like container
|
|
template<typename IteratorBegin , typename IteratorEnd > |
FIT_RESULT | compute (const IteratorBegin &begin, const IteratorEnd &end) |
| Convenience function for STL-like iterators.
|
|
template<typename IndexRange , typename PointContainer > |
FIT_RESULT | computeWithIds (IndexRange, const PointContainer &) |
| Convenience function to iterate over a subset of samples in a PointContainer.
|
|
template<typename Derived>
struct Ponca::ComputeObject< Derived >
ComputeObject is a virtual object that represents an algorithm which can be used with the compute functions.
The compute(begin, end) and computeWithIds(ids, points) methods must be implemented by the inheriting class.
- Note
- The compute(container) that is defined in this structure can be reused in the inheriting class by adding "using ComputeObject<Self>::compute;" to make it accessible
Definition at line 82 of file basket.h.