#include <MouseToTracker.H>
Inherits TrackerDevice.
Public Member Functions | |
MouseToTracker (const std::string &nameForEvents, CoordinateFrame initialFrame=CoordinateFrame()) | |
virtual | ~MouseToTracker () |
void | mouseMoveInPlane (EventRef e) |
void | mouseMoveInOut (EventRef e) |
void | mouseMoveRotX (EventRef e) |
void | mouseMoveRotY (EventRef e) |
void | mouseMoveRotZ (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 MouseToTracker * | fromConfigVals (const std::string &devname) |
Protected Attributes | |
FsaRef | _fsa |
Matrix3 | _rot |
Vector3 | _trans |
std::string | _eName |
Vector2 | _lastPos |
IS3D::MouseToTracker::MouseToTracker | ( | const std::string & | nameForEvents, | |
CoordinateFrame | initialFrame = CoordinateFrame() | |||
) |
virtual IS3D::MouseToTracker::~MouseToTracker | ( | ) | [virtual] |
static MouseToTracker* IS3D::MouseToTracker::fromConfigVals | ( | const std::string & | devname | ) | [static] |
void IS3D::MouseToTracker::mouseMoveInPlane | ( | EventRef | e | ) |
void IS3D::MouseToTracker::mouseMoveInOut | ( | EventRef | e | ) |
void IS3D::MouseToTracker::mouseMoveRotX | ( | EventRef | e | ) |
void IS3D::MouseToTracker::mouseMoveRotY | ( | EventRef | e | ) |
void IS3D::MouseToTracker::mouseMoveRotZ | ( | EventRef | e | ) |
int IS3D::MouseToTracker::getNumTrackers | ( | ) | [inline, virtual] |
Implements TrackerDevice.
std::string IS3D::MouseToTracker::getEventName | ( | int | trackerNumber | ) | [inline, virtual] |
void IS3D::MouseToTracker::setDeviceCalibrationSample | ( | CoordinateFrame | sample | ) | [inline, virtual] |
Implements TrackerDevice.
void IS3D::MouseToTracker::setTrackerOffsetCalibrationSample | ( | int | trackerNum, | |
CoordinateFrame | sample | |||
) | [inline, virtual] |
Implements TrackerDevice.
CoordinateFrame IS3D::MouseToTracker::getDeviceCalibrationSample | ( | ) | [inline, virtual] |
Implements TrackerDevice.
CoordinateFrame IS3D::MouseToTracker::getTrackerOffsetCalibrationSample | ( | int | trackerNum | ) | [inline, virtual] |
Implements TrackerDevice.
void IS3D::MouseToTracker::setReportDeviceRegisteredData | ( | bool | b | ) | [inline, virtual] |
Implements TrackerDevice.
void IS3D::MouseToTracker::setReportTrackerRegisteredData | ( | bool | b | ) | [inline, virtual] |
Implements TrackerDevice.
bool IS3D::MouseToTracker::getReportDeviceRegisteredData | ( | ) | [inline, virtual] |
Implements TrackerDevice.
bool IS3D::MouseToTracker::getReportTrackerRegisteredData | ( | ) | [inline, virtual] |
Implements TrackerDevice.
FsaRef IS3D::MouseToTracker::_fsa [protected] |
Matrix3 IS3D::MouseToTracker::_rot [protected] |
Vector3 IS3D::MouseToTracker::_trans [protected] |
std::string IS3D::MouseToTracker::_eName [protected] |
Referenced by getEventName().
Vector2 IS3D::MouseToTracker::_lastPos [protected] |