|
Ponca
1ffd926693113b7db54c52b90e144fa17574978f
Point Cloud Analysis library
|
Compute the barycenter of the input points. More...
#include <mean.h>
Inheritance diagram for Ponca::MeanPosition< DataPoint, _NFilter, T >:
Collaboration diagram for Ponca::MeanPosition< DataPoint, _NFilter, T >:Public Types | |
| using | Scalar = typename DataPoint::Scalar |
| Alias to scalar type. | |
| using | VectorType = typename Base::VectorType |
| Alias to vector type. | |
| using | NeighborFilter = typename Base::NeighborFilter |
| Alias to the filter applied on the neighbors. | |
Public Member Functions | |
| MeanPosition< DataPoint, _NFilter, T > & | meanPosition () |
| Explicit conversion to MeanPosition , to access methods potentially hidden by heritage. | |
| const MeanPosition< DataPoint, _NFilter, T > & | meanPosition () const |
| Explicit conversion to MeanPosition , to access methods potentially hidden by heritage. | |
| void | init () |
| Set the evaluation position and reset the internal states. | |
| void | addLocalNeighbor (Scalar w, const VectorType &localQ, const DataPoint &attributes) |
| Add a neighbor to perform the fit. | |
Protected Types | |
| enum | { PROVIDES_MEAN_POSITION } |
| using | Base = T |
| Base class of the procedure. | |
Protected Attributes | |
| enum Ponca::MeanPosition:: { ... } | barycenter |
| VectorType | m_sumP {VectorType::Zero()} |
| Sum of the input points vectors. | |
Compute the barycenter of the input points.
This primitive provides:
PROVIDES_MEAN_POSITION
|
protected |
| using Ponca::MeanPosition< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter |
| using Ponca::MeanPosition< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar |
| using Ponca::MeanPosition< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType |
|
protected |
|
inline |
|
inline |
|
inline |
Explicit conversion to MeanPosition , to access methods potentially hidden by heritage.
|
inline |
Explicit conversion to MeanPosition , to access methods potentially hidden by heritage.
|
protected |