Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::BarycentricCombination< TPointContainer, TWeightContainer > Class Template Reference
[Geometry Representation Objects]

#include <itkPoint.h>

List of all members.

Public Types

typedef TPointContainer PointContainerType
typedef PointContainerType::Pointer PointContainerPointer
typedef PointContainerType::Element PointType
typedef TWeightContainer WeightContainerType

Public Methods

 BarycentricCombination ()
 ~BarycentricCombination ()

Static Public Methods

PointType Evaluate (const PointContainerPointer &points, const WeightContainerType &weights)


Detailed Description

template<class TPointContainer, class TWeightContainer>
class itk::BarycentricCombination< TPointContainer, TWeightContainer >

Class that 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 249 of file itkPoint.h.


Member Typedef Documentation

template<class TPointContainer, class TWeightContainer>
typedef PointContainerType::Pointer itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointContainerPointer
 

Definition at line 255 of file itkPoint.h.

template<class TPointContainer, class TWeightContainer>
typedef TPointContainer itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointContainerType
 

Convenient typedefs.

Definition at line 254 of file itkPoint.h.

template<class TPointContainer, class TWeightContainer>
typedef PointContainerType::Element itk::BarycentricCombination< TPointContainer, TWeightContainer >::PointType
 

Definition at line 256 of file itkPoint.h.

template<class TPointContainer, class TWeightContainer>
typedef TWeightContainer itk::BarycentricCombination< TPointContainer, TWeightContainer >::WeightContainerType
 

Definition at line 257 of file itkPoint.h.


Constructor & Destructor Documentation

template<class TPointContainer, class TWeightContainer>
itk::BarycentricCombination< TPointContainer, TWeightContainer >::BarycentricCombination   [inline]
 

Definition at line 259 of file itkPoint.h.

template<class TPointContainer, class TWeightContainer>
itk::BarycentricCombination< TPointContainer, TWeightContainer >::~BarycentricCombination   [inline]
 

Definition at line 260 of file itkPoint.h.


Member Function Documentation

template<class TPointContainer, class TWeightContainer>
PointType itk::BarycentricCombination< TPointContainer, TWeightContainer >::Evaluate const PointContainerPointer   points,
const WeightContainerType   weights
[static]
 


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:19:00 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000