1#ifndef VRPN_3DMICROSCRIBE_H
2#define VRPN_3DMICROSCRIBE_H
18 const char * Port,
long int BaudRate,
19 float OffsetX = 0.0f,
float OffsetY = 0.0f,
float OffsetZ = 0.0f,
27 virtual int reset(
void);
37 unsigned char buf[512];
39 struct timeval timestamp;
41 void ConvertOriToQuat(
float ori[3]);
42 virtual void clear_values(
void);
46 virtual int get_report(
void);
53 virtual void report (vrpn_uint32 class_of_service
int _numbuttons
How many buttons to open.
int m_PortNumber
port number
long int m_BaudRate
baud rate
int bufpos
Current char pos in buffer.
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
Generic connection class not specific to the transport mechanism.
const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY