|
Ponca
a8a21c362dc2c650634ff9a07307bf4e308b2e74
Point Cloud Analysis library
|
Base ComputeObject for the Basket classes. More...
#include <basket.h>
Inheritance diagram for Ponca::BasketComputeObject< _Derived, _Base >:
Collaboration diagram for Ponca::BasketComputeObject< _Derived, _Base >:Public Types | |
| using | Base = _Base |
| using | Derived = _Derived |
| < | |
| using | Scalar = typename Base::Scalar |
| Alias to the Derived type. | |
Public Member Functions | |
| 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. | |
Public Member Functions inherited from Ponca::ComputeObject< _Derived > | |
| 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. | |
Additional Inherited Members | |
Protected Member Functions inherited from Ponca::ComputeObject< _Derived > | |
| _Derived & | derived () |
| Retrieve the top layer object Returns a reference to the derived class so that we can use its overwritten methods. | |
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:
| 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 |
| using Ponca::BasketComputeObject< _Derived, _Base >::Base = _Base |
| using Ponca::BasketComputeObject< _Derived, _Base >::Derived = _Derived |
| using Ponca::BasketComputeObject< _Derived, _Base >::Scalar = typename Base::Scalar |
|
inline |
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)
|
inline |
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.
| IndexRange | STL-Like range storing indices of the neighbors |
| PointContainer | STL-like container storing the points |