#include <itkPoint.h>
Public Types | |
typedef PointContainerType::Pointer | PointContainerPointer |
typedef TPointContainer | PointContainerType |
typedef PointContainerType::Element | PointType |
typedef TWeightContainer | WeightContainerType |
Public Member Functions | |
BarycentricCombination () | |
~BarycentricCombination () | |
Static Public Member Functions | |
static PointType | Evaluate (const PointContainerPointer &points, const WeightContainerType &weights) |
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 293 of file itkPoint.h.
typedef PointContainerType::Pointer itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointContainerPointer |
Definition at line 298 of file itkPoint.h.
typedef TPointContainer itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointContainerType |
Convenient typedefs.
Definition at line 297 of file itkPoint.h.
typedef PointContainerType::Element itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointType |
Definition at line 299 of file itkPoint.h.
typedef TWeightContainer itk::BarycentricCombination< TPointContainer, TWeightContainer >::WeightContainerType |
Definition at line 300 of file itkPoint.h.
itk::BarycentricCombination< TPointContainer, TWeightContainer >::BarycentricCombination | ( | ) | [inline] |
Definition at line 302 of file itkPoint.h.
itk::BarycentricCombination< TPointContainer, TWeightContainer >::~BarycentricCombination | ( | ) | [inline] |
Definition at line 303 of file itkPoint.h.
static PointType itk::BarycentricCombination< TPointContainer, TWeightContainer >::Evaluate | ( | const PointContainerPointer & | points, | |
const WeightContainerType & | weights | |||
) | [static] |