![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Classes | |
struct | VRPNAnalogReport |
Public Member Functions | |
delegate void | TrackerCallbackDelegate (uint sensor, System.IntPtr pos, System.IntPtr quat) |
delegate void | ButtonCallbackDelegate (Int32 button, Int32 state) |
delegate void | AnalogCallbackDelegate (VRPN.Wrapper.VRPNAnalogReport report) |
static System.IntPtr | vrpn_c_open_tracker (string name, TrackerCallbackDelegate trackerCallbackF) |
static bool | vrpn_c_poll_tracker (System.IntPtr device) |
static bool | vrpn_c_tracker_is_connected (System.IntPtr device) |
static bool | vrpn_c_tracker_doing_okay (System.IntPtr device) |
static bool | vrpn_c_close_tracker (System.IntPtr device) |
static System.IntPtr | vrpn_c_open_button (string name, ButtonCallbackDelegate buttonCallbackF) |
static bool | vrpn_c_poll_button (System.IntPtr device) |
static bool | vrpn_c_button_is_connected (System.IntPtr device) |
static bool | vrpn_c_button_doing_okay (System.IntPtr device) |
static bool | vrpn_c_close_button (System.IntPtr device) |
static System.IntPtr | vrpn_c_open_force_feedback (string name) |
static bool | vrpn_c_force_feedback_set_force (System.IntPtr device, float force_x, float force_y, float force_z) |
static void | vrpn_c_force_feedback_stop (System.IntPtr device) |
static bool | vrpn_c_force_feedback_is_connected (System.IntPtr device) |
static bool | vrpn_c_force_feedback_doing_okay (System.IntPtr device) |
static bool | vrpn_c_close_force_feedback (System.IntPtr device) |
static System.IntPtr | vrpn_c_open_analog (string name, AnalogCallbackDelegate analogCallbackF) |
static bool | vrpn_c_poll_analog (System.IntPtr device) |
static bool | vrpn_c_analog_is_connected (System.IntPtr device) |
static bool | vrpn_c_analog_doing_okay (System.IntPtr device) |
static bool | vrpn_c_close_analog (System.IntPtr device) |
Private Attributes | |
const int | MAX_ANALOG_CHANNELS = 128 |
Definition at line 8 of file VRPNWrapper.cs.
delegate void VRPN.Wrapper.AnalogCallbackDelegate | ( | VRPN.Wrapper.VRPNAnalogReport | report | ) |
Referenced by VRPNTestScript.Start(), and VRPN.VRPNManager.VRPNManager().
delegate void VRPN.Wrapper.ButtonCallbackDelegate | ( | Int32 | button, |
Int32 | state | ||
) |
Referenced by VRPNTestScript.Start(), and VRPN.VRPNManager.VRPNManager().
delegate void VRPN.Wrapper.TrackerCallbackDelegate | ( | uint | sensor, |
System.IntPtr | pos, | ||
System.IntPtr | quat | ||
) |
Referenced by VRPNTestScript.Start(), and VRPN.VRPNManager.VRPNManager().
static bool VRPN.Wrapper.vrpn_c_analog_doing_okay | ( | System.IntPtr | device | ) |
static bool VRPN.Wrapper.vrpn_c_analog_is_connected | ( | System.IntPtr | device | ) |
static bool VRPN.Wrapper.vrpn_c_button_doing_okay | ( | System.IntPtr | device | ) |
static bool VRPN.Wrapper.vrpn_c_button_is_connected | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.DeviceLoop(), and VRPNTestScript.Update().
static bool VRPN.Wrapper.vrpn_c_close_analog | ( | System.IntPtr | device | ) |
static bool VRPN.Wrapper.vrpn_c_close_button | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.ConnectToolToButtons(), VRPN.VRPNManager.DisconnectToolFromButtons(), VRPNTestScript.OnDestroy(), and VRPN.VRPNManager.RemoveTool().
static bool VRPN.Wrapper.vrpn_c_close_force_feedback | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.ConnectToolToForceFeedback(), VRPN.VRPNManager.DisconnectToolFromForceFeedback(), VRPNTestScript.OnDestroy(), and VRPN.VRPNManager.RemoveTool().
static bool VRPN.Wrapper.vrpn_c_close_tracker | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.ConnectToolToTracker(), VRPN.VRPNManager.DisconnectToolFromTracker(), VRPNTestScript.OnDestroy(), and VRPN.VRPNManager.RemoveTool().
static bool VRPN.Wrapper.vrpn_c_force_feedback_doing_okay | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.ConnectToolToForceFeedback().
static bool VRPN.Wrapper.vrpn_c_force_feedback_is_connected | ( | System.IntPtr | device | ) |
static bool VRPN.Wrapper.vrpn_c_force_feedback_set_force | ( | System.IntPtr | device, |
float | force_x, | ||
float | force_y, | ||
float | force_z | ||
) |
Referenced by VRPN.VRPNManager.ConnectToolToForceFeedback(), and VRPNTestScript.Update().
static void VRPN.Wrapper.vrpn_c_force_feedback_stop | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.DisconnectToolFromForceFeedback(), and VRPNTestScript.OnDestroy().
static System.IntPtr VRPN.Wrapper.vrpn_c_open_analog | ( | string | name, |
AnalogCallbackDelegate | analogCallbackF | ||
) |
static System.IntPtr VRPN.Wrapper.vrpn_c_open_button | ( | string | name, |
ButtonCallbackDelegate | buttonCallbackF | ||
) |
Referenced by VRPN.VRPNManager.ConnectToolToButtons(), and VRPNTestScript.Start().
static System.IntPtr VRPN.Wrapper.vrpn_c_open_force_feedback | ( | string | name | ) |
Referenced by VRPN.VRPNManager.ConnectToolToForceFeedback(), and VRPNTestScript.Start().
static System.IntPtr VRPN.Wrapper.vrpn_c_open_tracker | ( | string | name, |
TrackerCallbackDelegate | trackerCallbackF | ||
) |
Referenced by VRPN.VRPNManager.ConnectToolToTracker(), VRPNTestScript.Start(), and VRPNTestScript.Update().
static bool VRPN.Wrapper.vrpn_c_poll_analog | ( | System.IntPtr | device | ) |
static bool VRPN.Wrapper.vrpn_c_poll_button | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.ConnectToolToButtons(), VRPN.VRPNManager.DeviceLoop(), and VRPNTestScript.Update().
static bool VRPN.Wrapper.vrpn_c_poll_tracker | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.ConnectToolToTracker(), VRPN.VRPNManager.DeviceLoop(), and VRPNTestScript.Update().
static bool VRPN.Wrapper.vrpn_c_tracker_doing_okay | ( | System.IntPtr | device | ) |
static bool VRPN.Wrapper.vrpn_c_tracker_is_connected | ( | System.IntPtr | device | ) |
Referenced by VRPN.VRPNManager.DeviceLoop(), VRPNTestScript.Start(), and VRPNTestScript.Update().
|
private |
Definition at line 9 of file VRPNWrapper.cs.