glove::devices::CyberGlove::CyberGlove::Calibration Class Reference

#include <CyberGlove.hpp>

Inheritance diagram for glove::devices::CyberGlove::CyberGlove::Calibration:

glove::calib::CyberGloveLinearCalibration

List of all members.

Public Member Functions

 Calibration ()
virtual ~Calibration ()
virtual double map (const Finger f, const Joint j, const double value)
virtual double map (const Sensor s, const double value)
virtual void map (std::vector< double > &values)


Detailed Description

Implements the calibration ability for a CyberGlove(R) device, as described by the CyberGlove class.

Author:
Christian Wressnegger
Date:
2010

Constructor & Destructor Documentation

glove::devices::CyberGlove::CyberGlove::Calibration::Calibration (  ) 

The default constructor.

virtual glove::devices::CyberGlove::CyberGlove::Calibration::~Calibration (  )  [virtual]

The destructor.


Member Function Documentation

virtual void glove::devices::CyberGlove::CyberGlove::Calibration::map ( std::vector< double > &  values  )  [virtual]

Calibrates the given raw values. The raw values are replaced by the calibrated one.

Exceptions:
std::invalid_argument If the raw value is not in range [0.0,256.0)
Parameters:
values The raw values as returned by the CyberGlove(R).

virtual double glove::devices::CyberGlove::CyberGlove::Calibration::map ( const Sensor  s,
const double  value 
) [virtual]

Calibrates the raw value for the given CyberGlove::Sensor identifier.

Exceptions:
std::invalid_argument If the raw value is not in range [0.0,256.0)
Parameters:
s The CyberGlove::Sensor identifier the raw value corresponds to.
value The raw value as returned by the CyberGlove(R).
Returns:
The calibrated value for the give CyberGlove::Sensor identifier.

Reimplemented in glove::calib::CyberGloveLinearCalibration.

virtual double glove::devices::CyberGlove::CyberGlove::Calibration::map ( const Finger  f,
const Joint  j,
const double  value 
) [virtual]

Calibrates the raw value for the given CyberGlove::Finger/CyberGlove::Joint pair.

Exceptions:
std::invalid_argument If the raw value is not in range [0.0,256.0)
Parameters:
f The CyberGlove::Finger the raw value corresponds to.
j The CyberGlove::Joint the raw value corresponds to.
value The raw value as returned by the CyberGlove(R).
Returns:
The calibrated value for the given CyberGlove::Finger/CyberGlove::Joint pair.


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

Generated on Thu Feb 4 12:36:53 2010 for libglove by  doxygen 1.5.8