TPP Class Reference

Tangent Plane Projection. More...

#include <tpp.h>

List of all members.

Public Member Functions

 TPP (double **data=0, int individuals=0, int landmarks=0, int dimensions=0)
virtual ~TPP ()
 Destructor.
void LoadData (double **data, int individuals, int landmarks, int dimensions)
int GetNumberOfSpecimens ()
int GetNumberOfLandmarks ()
int GetNumberOfDimensions ()
void GetProjectedData (double **projData)
void PerformTPP ()
 Perform the actual Tangent Plane Projection.
void InverseTPP (double *tanEshape, double *result[])
bool IsCalculated ()


Detailed Description

Tangent Plane Projection.

Constructor & Destructor Documentation

TPP::TPP ( double **  data = 0,
int  individuals = 0,
int  landmarks = 0,
int  dimensions = 0 
)

Constructor

Parameters:
data the landmark coordinates
individuals number of specimens
landmarks number of landmarks
dimensions number of dimensions (2 or 3)


Member Function Documentation

int TPP::GetNumberOfDimensions (  )  [inline]

Get number of dimensions

Returns:
the number of dimensions

int TPP::GetNumberOfLandmarks (  )  [inline]

Get number of landmarks

Returns:
the number of landmarks

int TPP::GetNumberOfSpecimens (  )  [inline]

Get number of specimens

Returns:
the number of specimens

void TPP::GetProjectedData ( double **  projData  ) 

Get Projected Data

Returns:
Tangent Plane Projected data

void TPP::InverseTPP ( double *  tanEshape,
double *  result[] 
)

Do the inverse Tangent Plane Projection

Parameters:
tanEshape tangent coordinates for shape
Returns:
procrustes coordinates for shape

bool TPP::IsCalculated (  )  [inline]

Has TPP been performed on the loaded data

Returns:
true if TPP has been performed on our data

void TPP::LoadData ( double **  data,
int  individuals,
int  landmarks,
int  dimensions 
)

Load data

Parameters:
data the landmark coordinates
individuals number of specimens
landmarks number of landmarks
dimensions number of dimensions (2 or 3)


The documentation for this class was generated from the following files:

Generated on Mon Jun 29 08:29:35 2009 for GMM for EVAN Toolkit by  doxygen 1.5.8