SignPivotCalibration Class Reference

#include <SignPivotCalibration.h>

List of all members.


Detailed Description

Pivot calibration for tracked tools.

This class performs a pivot calibration and computes the transform from the tracked marker to the pivot point of the surgical tool using a set of position/orientation samples. The pivot position, the transform, and the root mean square error can be obtained.

Author:
Arne Hans


Public Member Functions

 SignPivotCalibration ()
 ~SignPivotCalibration ()
unsigned int GetNumberOfSamples () const
void AddSample (std::vector< double > quat, std::vector< double > trans)
void CalculateCalibration ()
 Calculates the pivot calibration.
void GetPivotPosition (double pos[3])
 Gets the position of the pivot point.
void GetTranslation (double trans[3])
 Gets the translation from the tracked marker to the pivot point.
double GetRMSE ()
 Gets the root mean square error (RMSE).


Constructor & Destructor Documentation

SignPivotCalibration::SignPivotCalibration  ) 
 

SignPivotCalibration::~SignPivotCalibration  ) 
 


Member Function Documentation

void SignPivotCalibration::AddSample std::vector< double >  quat,
std::vector< double >  trans
 

Adds a sample

Parameters:
quat orientation (as a quaternion x,y,z,w)
trans position

void SignPivotCalibration::CalculateCalibration  ) 
 

Calculates the pivot calibration.

unsigned int SignPivotCalibration::GetNumberOfSamples  )  const
 

void SignPivotCalibration::GetPivotPosition double  pos[3]  ) 
 

Gets the position of the pivot point.

double SignPivotCalibration::GetRMSE  ) 
 

Gets the root mean square error (RMSE).

void SignPivotCalibration::GetTranslation double  trans[3]  ) 
 

Gets the translation from the tracked marker to the pivot point.


The documentation for this class was generated from the following files:
Generated on Mon Feb 26 12:13:24 2007 for TheSIGN by  doxygen 1.4.6