ITK
5.2.0
Insight Toolkit
|
#include <itkPoint.h>
Public Types | |
using | PointContainerPointer = typename PointContainerType::Pointer |
using | PointContainerType = TPointContainer |
using | PointType = typename PointContainerType::Element |
using | WeightContainerType = TWeightContainer |
Public Member Functions | |
BarycentricCombination ()=default | |
~BarycentricCombination ()=default | |
Static Public Member Functions | |
static PointType | Evaluate (const PointContainerPointer &points, const WeightContainerType &weights) |
Computes the barycentric combination of an array of N points.
This class computes the barycentric combination of an array of N points.
An array of (N-1) values is expected to weight the contribution of the first (N-1) points, the weight of the Nth point is computed to ensure that the N weights sum 1.
This method computes:
The points are expected to be stored in an itkContainer class like itk::VectorContainer, responding to the Begin(), End(), Value() API.
The weights are expected to be stored in any array-like container having a operator[i].
Definition at line 347 of file itkPoint.h.
using itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointContainerPointer = typename PointContainerType::Pointer |
Definition at line 353 of file itkPoint.h.
using itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointContainerType = TPointContainer |
Convenient type alias.
Definition at line 352 of file itkPoint.h.
using itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointType = typename PointContainerType::Element |
Definition at line 354 of file itkPoint.h.
using itk::BarycentricCombination< TPointContainer, TWeightContainer >::WeightContainerType = TWeightContainer |
Definition at line 355 of file itkPoint.h.
|
default |
|
default |
|
static |