#include <KbdToTracker.H>
Inherits TrackerDevice.
Public Member Functions | |
KbdToTracker (const std::string &nameForEvents, CoordinateFrame initialFrame=CoordinateFrame()) | |
virtual | ~KbdToTracker () |
void | keyLeft (EventRef e) |
void | keyRight (EventRef e) |
void | keyUp (EventRef e) |
void | keyDown (EventRef e) |
void | keyIn (EventRef e) |
void | keyOut (EventRef e) |
int | getNumTrackers () |
std::string | getEventName (int trackerNumber) |
void | setDeviceCalibrationSample (CoordinateFrame sample) |
void | setTrackerOffsetCalibrationSample (int trackerNum, CoordinateFrame sample) |
CoordinateFrame | getDeviceCalibrationSample () |
CoordinateFrame | getTrackerOffsetCalibrationSample (int trackerNum) |
void | setReportDeviceRegisteredData (bool b) |
void | setReportTrackerRegisteredData (bool b) |
bool | getReportDeviceRegisteredData () |
bool | getReportTrackerRegisteredData () |
Static Public Member Functions | |
static KbdToTracker * | fromConfigVals (const std::string &devname) |
Protected Attributes | |
FsaRef | _fsa |
Matrix3 | _rot |
Vector3 | _trans |
std::string | _eName |
double | _offset |
IS3D::KbdToTracker::KbdToTracker | ( | const std::string & | nameForEvents, | |
CoordinateFrame | initialFrame = CoordinateFrame() | |||
) |
virtual IS3D::KbdToTracker::~KbdToTracker | ( | ) | [virtual] |
static KbdToTracker* IS3D::KbdToTracker::fromConfigVals | ( | const std::string & | devname | ) | [static] |
void IS3D::KbdToTracker::keyLeft | ( | EventRef | e | ) |
void IS3D::KbdToTracker::keyRight | ( | EventRef | e | ) |
void IS3D::KbdToTracker::keyUp | ( | EventRef | e | ) |
void IS3D::KbdToTracker::keyDown | ( | EventRef | e | ) |
void IS3D::KbdToTracker::keyIn | ( | EventRef | e | ) |
void IS3D::KbdToTracker::keyOut | ( | EventRef | e | ) |
int IS3D::KbdToTracker::getNumTrackers | ( | ) | [inline, virtual] |
Implements TrackerDevice.
std::string IS3D::KbdToTracker::getEventName | ( | int | trackerNumber | ) | [inline, virtual] |
void IS3D::KbdToTracker::setDeviceCalibrationSample | ( | CoordinateFrame | sample | ) | [inline, virtual] |
Implements TrackerDevice.
void IS3D::KbdToTracker::setTrackerOffsetCalibrationSample | ( | int | trackerNum, | |
CoordinateFrame | sample | |||
) | [inline, virtual] |
Implements TrackerDevice.
CoordinateFrame IS3D::KbdToTracker::getDeviceCalibrationSample | ( | ) | [inline, virtual] |
Implements TrackerDevice.
CoordinateFrame IS3D::KbdToTracker::getTrackerOffsetCalibrationSample | ( | int | trackerNum | ) | [inline, virtual] |
Implements TrackerDevice.
void IS3D::KbdToTracker::setReportDeviceRegisteredData | ( | bool | b | ) | [inline, virtual] |
Implements TrackerDevice.
void IS3D::KbdToTracker::setReportTrackerRegisteredData | ( | bool | b | ) | [inline, virtual] |
Implements TrackerDevice.
bool IS3D::KbdToTracker::getReportDeviceRegisteredData | ( | ) | [inline, virtual] |
Implements TrackerDevice.
bool IS3D::KbdToTracker::getReportTrackerRegisteredData | ( | ) | [inline, virtual] |
Implements TrackerDevice.
FsaRef IS3D::KbdToTracker::_fsa [protected] |
Matrix3 IS3D::KbdToTracker::_rot [protected] |
Vector3 IS3D::KbdToTracker::_trans [protected] |
std::string IS3D::KbdToTracker::_eName [protected] |
Referenced by getEventName().
double IS3D::KbdToTracker::_offset [protected] |