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