1 #ifndef INCLUDED_ANALOGFLY
2 #define INCLUDED_ANALOGFLY
27 { name = NULL; channel = 0; offset = 0.0f; thresh = 0.0f;
28 scale = 1.0f; power = 1.0f; };
43 x.name = y.name = z.name =
44 sx.name = sy.name = sz.name = reset_name = clutch_name = NULL;
109 float update_rate,
bool absolute = vrpn_FALSE,
110 bool reportChanges = VRPN_FALSE,
bool worldFrame = VRPN_FALSE);
115 virtual void reset (
void);
117 void update (q_matrix_type &);
125 struct timeval d_prevtime;
141 void update_matrix_based_on_values (
double time_interval);
142 void convert_matrix_to_tracker (
void);
144 bool shouldReport (
double elapsedInterval)
const;
149 static void VRPN_CALLBACK handle_analog_update (
void * userdata,