AxisCorrection Class Reference

#include <AxisCorrection.h>

List of all members.


Public Member Functions

 AxisCorrection (float offset=0, float scale=1)
bool operator== (const AxisCorrection &rhs) const
float correctAxis (float srcValue) const
void setOffset (float offset)
void setScale (float scale)
float getOffset () const
float getScale () const

Private Attributes

float scale
float offset

Constructor & Destructor Documentation

AxisCorrection::AxisCorrection ( float  offset = 0,
float  scale = 1 
) [explicit]

Constructor


Member Function Documentation

float AxisCorrection::correctAxis ( float  srcValue  )  const

corrects the passed axis value and returns the result

float AxisCorrection::getOffset (  )  const

Returns the offset value

float AxisCorrection::getScale (  )  const

Returns the scale value

bool AxisCorrection::operator== ( const AxisCorrection rhs  )  const

Comparison operator

void AxisCorrection::setOffset ( float  offset  ) 

Sets the offset value

void AxisCorrection::setScale ( float  scale  ) 

Sets the scale value


Member Data Documentation

float AxisCorrection::offset [private]

float AxisCorrection::scale [private]


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

Generated on Wed Oct 20 16:11:54 2010 for inVRs by doxygen 1.5.8