1#ifndef VRPN_TRACKER_PHASESPACE_H
2#define VRPN_TRACKER_PHASESPACE_H
6#ifdef VRPN_INCLUDE_PHASESPACE
40 bool load(FILE* file);
46 bool enableStreaming(
bool enable);
50 virtual int get_report(
void);
51 virtual void send_report(
void);
68 bool create_trackers();
70 void set_pose(
const OWL::Rigid &r);
71 void report_marker(vrpn_int32 sensor,
const OWL::Marker &m);
72 void report_rigid(vrpn_int32 sensor,
const OWL::Rigid &r,
bool is_stylus=
false);
73 void report_button(vrpn_int32 sensor,
int value);
74 void report_button_analog(vrpn_int32 sensor,
int value);
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
Analog server that can scale and clip its range to -1..1.
Generic connection class not specific to the transport mechanism.
vrpn_Tracker_PhaseSpace(const char *name, vrpn_Connection *c, const char *device, float frequency, int readflag, int slaveflag=0)
This structure is what is passed to a vrpn_Connection message callback.