Ejemplo n.º 1
0
 // get the actual update count
 public int GetUpdateCount()
 {
     return(PInvoke.uvrpn_tracker_get_update_count(this.ptr));
 }
Ejemplo n.º 2
0
 // the update method calling the respective vrpn*->mainloop()
 public void Update()
 {
     PInvoke.uvrpn_tracker_update(this.ptr);
 }
Ejemplo n.º 3
0
 // retrieve the sensor count
 public int GetSensorCount()
 {
     return(PInvoke.uvrpn_tracker_get_sensor_count(this.ptr));
 }
Ejemplo n.º 4
0
 // instantiate tracker using the url such as Tracker0@localhost
 public Tracker(string url)
 {
     ptr = PInvoke.uvrpn_tracker_create(url);
 }