vrpn
07.33
Virtual Reality Peripheral Network
|
Go to the documentation of this file. 1 #ifndef VRPN_TRACKER_PHASESPACE_H
2 #define VRPN_TRACKER_PHASESPACE_H
6 #ifdef VRPN_INCLUDE_PHASESPACE
14 #include "owl_planes.h"
15 #include "owl_peaks.h"
16 #include "owl_images.h"
18 #define VRPN_PHASESPACE_MAXMARKERS 256
19 #define VRPN_PHASESPACE_MAXRIGIDS 32
20 #define VRPN_PHASESPACE_MAXCAMERAS 128
21 #define VRPN_PHASESPACE_MAXDETECTORS 128
22 #define VRPN_PHASESPACE_MAXPLANES 256
23 #define VRPN_PHASESPACE_MAXPEAKS 512
24 #define VRPN_PHASESPACE_MAXIMAGES 512
25 #define VRPN_PHASESPACE_MSGBUFSIZE 1024
43 bool addMarker(
int sensor,
int led_id);
44 bool addRigidMarker(
int sensor,
int led_id,
float x,
float y,
float z);
45 bool startNewRigidBody(
int sensor);
46 bool enableTracker(
bool enable);
47 void setFrequency(
float freq);
74 virtual int get_report(
void);
75 virtual void send_report(
void);
std::vector< OWLPeak > peaks
std::map< int, vrpn_int32 > RigidToSensorMap
This structure is what is passed to a vrpn_Connection message callback.
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.
std::vector< OWLDetectors > detectors
std::vector< OWLCamera > cameras
std::vector< OWLMarker > markers
std::vector< OWLImage > images
std::vector< OWLRigid > rigids
std::vector< OWLPlane > planes