|
template<typename IteratorBegin , typename IteratorEnd > |
FIT_RESULT | compute (const IteratorBegin &begin, const IteratorEnd &end) |
| Convenience function for STL-like iterators Add neighbors stored in a container using STL-like iterators, and call finalize at the end.
|
|
template<typename IndexRange , typename PointContainer > |
FIT_RESULT | computeWithIds (IndexRange ids, const PointContainer &points) |
| Convenience function to iterate over a subset of samples in a PointContainer Add neighbors stored in a PointContainer and sampled using indices stored in ids.
|
|
template<typename PointContainer > |
FIT_RESULT | computeMLS (const PointContainer &points, const int mlsIter=5, const Scalar epsilon=Eigen::NumTraits< Scalar >::dummy_precision()) |
| Computes the fit using the MLS iteration process.
|
|
template<typename IndexRange , typename PointContainer > |
FIT_RESULT | computeWithIdsMLS (const IndexRange &ids, const PointContainer &points, const int mlsIter=5, const Scalar epsilon=Eigen::NumTraits< Scalar >::dummy_precision()) |
| Computes the fit using the MLS iteration process.
|
|
FIT_RESULT | compute (const Container &c) |
| Convenience function for STL-like container.
|
|
FIT_RESULT | compute (const IteratorBegin &, const IteratorEnd &) |
| Convenience function for STL-like iterators.
|
|
FIT_RESULT | computeWithIds (IndexRange, const PointContainer &) |
| Convenience function to iterate over a subset of samples in a PointContainer.
|
|
template<typename _Derived, typename _Base>
struct Ponca::BasketComputeObject< _Derived, _Base >
Base ComputeObject for the Basket classes.
Implements the compute methods for fitting: compute, computeWithIds, ... Checkout Fitting Module: User Manual for more details
The various implementations of Ponca::Concept are mixed through specializations of the BasketDiff and Basket classes:
typedef
ComputationalDerivativesConcept1,
ComputationalDerivativesConcept2,
... ,
> myFitDer;
Aggregator class used to declare specialized structures with derivatives computations,...
DiffType
Flags defining which derivatives need to be computed.
- Template Parameters
-
Derived | Derived class that provides the addNeighbor method (either Basket or BasketDiff) |
Base | Base class that provides, through the CRTP the init, startNewPass, addNeighbor and finalize methods |
Definition at line 145 of file basket.h.
template<typename _Derived , typename _Base >
template<typename IteratorBegin , typename IteratorEnd >
Convenience function for STL-like iterators Add neighbors stored in a container using STL-like iterators, and call finalize at the end.
The fit is evaluated multiple time if needed (see NEED_OTHER_PASS)
- See also
- addNeighbor()
Definition at line 161 of file basket.h.
template<typename _Derived , typename _Base >
template<typename PointContainer >
Computes the fit using the MLS iteration process.
The position of the projected point is outputted through the lastPosition argument.
- Parameters
-
points | An STL-like container of points |
mlsIter | The amount of MLS iteration that is being done for this fit |
- Returns
- The result of the fit
- Template Parameters
-
PointContainer | STL-like container storing the points |
Definition at line 235 of file basket.h.
template<typename _Derived , typename _Base >
template<typename IndexRange , typename PointContainer >
Computes the fit using the MLS iteration process.
The position of the projected point is outputted through the lastPosition argument.
- Parameters
-
points | An STL-like container of points |
mlsIter | The amount of MLS iteration that is being done for this fit |
- Returns
- The result of the fit
- Template Parameters
-
IndexRange | STL-Like range storing indices |
PointContainer | STL-like container storing the points |
Definition at line 252 of file basket.h.