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