|
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Collaboration diagram for VRPN.VRPNManager:Public Member Functions | |
| void | interactorTrackerCallback (uint sensor, System.IntPtr pos, System.IntPtr quat) |
| void | interactorButtonCallback (Int32 button, Int32 state) |
| void | explorerAnalogCallback (VRPN.Wrapper.VRPNAnalogReport report) |
| VRPNManager () | |
| void | clearTools () |
| void | DeviceLoop () |
| int | InstantiateTool (VRPNToolType tool_type) |
| bool | RemoveTool (int tool_instance_index) |
| bool | ConnectToolToForceFeedback (int tool_instance_index, string vrpn_device) |
| bool | ConnectToolToTracker (int tool_instance_index, string vrpn_device) |
| bool | ConnectToolToButtons (int tool_instance_index, string vrpn_device) |
| bool | DisconnectToolFromForceFeedback (int tool_instance_index) |
| bool | DisconnectToolFromTracker (int tool_instance_index) |
| bool | DisconnectToolFromButtons (int tool_instance_index) |
Private Attributes | |
| VRPN.Wrapper.TrackerCallbackDelegate | interactorTrackerDelegate |
| VRPN.Wrapper.ButtonCallbackDelegate | interactorButtonDelegate |
| VRPN.Wrapper.AnalogCallbackDelegate | explorerAnalogDelegate |
| List< VRPNToolInstance > | tools = new List<VRPNToolInstance>() |
| List< VRPNToolConnections > | connections = new List<VRPNToolConnections>() |
| int | current_tool_index = 0 |
Definition at line 61 of file VRPNManager.cs.
| VRPN.VRPNManager.VRPNManager | ( | ) |
Definition at line 176 of file VRPNManager.cs.
References VRPN.Wrapper.AnalogCallbackDelegate(), VRPN.Wrapper.ButtonCallbackDelegate(), and VRPN.Wrapper.TrackerCallbackDelegate().
Here is the call graph for this function:| void VRPN.VRPNManager.clearTools | ( | ) |
Definition at line 193 of file VRPNManager.cs.
| bool VRPN.VRPNManager.ConnectToolToButtons | ( | int | tool_instance_index, |
| string | vrpn_device | ||
| ) |
Definition at line 401 of file VRPNManager.cs.
References VRPN.VRPNToolConnections.buttons, VRPN.Wrapper.vrpn_c_button_doing_okay(), VRPN.Wrapper.vrpn_c_close_button(), VRPN.Wrapper.vrpn_c_open_button(), and VRPN.Wrapper.vrpn_c_poll_button().
Referenced by VRPN.VRPNGUIController.ConnectToButtonsServer().
Here is the call graph for this function:
Here is the caller graph for this function:| bool VRPN.VRPNManager.ConnectToolToForceFeedback | ( | int | tool_instance_index, |
| string | vrpn_device | ||
| ) |
Definition at line 333 of file VRPNManager.cs.
References VRPN.VRPNToolConnections.force_feedback, VRPN.Wrapper.vrpn_c_close_force_feedback(), VRPN.Wrapper.vrpn_c_force_feedback_doing_okay(), VRPN.Wrapper.vrpn_c_force_feedback_set_force(), and VRPN.Wrapper.vrpn_c_open_force_feedback().
Referenced by VRPN.VRPNGUIController.ConnectToFFServer().
Here is the call graph for this function:
Here is the caller graph for this function:| bool VRPN.VRPNManager.ConnectToolToTracker | ( | int | tool_instance_index, |
| string | vrpn_device | ||
| ) |
Definition at line 366 of file VRPNManager.cs.
References VRPN.VRPNToolConnections.tracker, VRPN.Wrapper.vrpn_c_close_tracker(), VRPN.Wrapper.vrpn_c_open_tracker(), VRPN.Wrapper.vrpn_c_poll_tracker(), and VRPN.Wrapper.vrpn_c_tracker_doing_okay().
Referenced by VRPN.VRPNGUIController.ConnectToTrackerServer().
Here is the call graph for this function:
Here is the caller graph for this function:| void VRPN.VRPNManager.DeviceLoop | ( | ) |
Definition at line 201 of file VRPNManager.cs.
References VRPN.VRPNToolConnections.buttons, VRPN.VRPNToolConnections.tracker, VRPN.Wrapper.vrpn_c_button_is_connected(), VRPN.Wrapper.vrpn_c_poll_button(), VRPN.Wrapper.vrpn_c_poll_tracker(), and VRPN.Wrapper.vrpn_c_tracker_is_connected().
Referenced by VRPN.VRPNGUIController.Update().
Here is the call graph for this function:
Here is the caller graph for this function:| bool VRPN.VRPNManager.DisconnectToolFromButtons | ( | int | tool_instance_index | ) |
Definition at line 478 of file VRPNManager.cs.
References VRPN.VRPNToolConnections.buttons, and VRPN.Wrapper.vrpn_c_close_button().
Referenced by VRPN.VRPNGUIController.DisconnectFromButtonsServer().
Here is the call graph for this function:
Here is the caller graph for this function:| bool VRPN.VRPNManager.DisconnectToolFromForceFeedback | ( | int | tool_instance_index | ) |
Definition at line 436 of file VRPNManager.cs.
References VRPN.VRPNToolConnections.force_feedback, VRPN.Wrapper.vrpn_c_close_force_feedback(), and VRPN.Wrapper.vrpn_c_force_feedback_stop().
Referenced by VRPN.VRPNGUIController.DisconnectFromFFServer().
Here is the call graph for this function:
Here is the caller graph for this function:| bool VRPN.VRPNManager.DisconnectToolFromTracker | ( | int | tool_instance_index | ) |
Definition at line 458 of file VRPNManager.cs.
References VRPN.VRPNToolConnections.tracker, and VRPN.Wrapper.vrpn_c_close_tracker().
Referenced by VRPN.VRPNGUIController.DisconnectFromTrackerServer().
Here is the call graph for this function:
Here is the caller graph for this function:| void VRPN.VRPNManager.explorerAnalogCallback | ( | VRPN.Wrapper.VRPNAnalogReport | report | ) |
Definition at line 160 of file VRPNManager.cs.
| int VRPN.VRPNManager.InstantiateTool | ( | VRPNToolType | tool_type | ) |
Definition at line 223 of file VRPNManager.cs.
References VRPN.VRPNToolInstance.closest_atom, VRPN.VRPNToolInstance.get_closest_atom, GenericAtomManager.getClosestAtomGameObject(), UnityMolMain.getCurrentAtomManager(), VRPN.VRPNToolInstance.go, VRPN.VRPNToolInstance.selection_sphere, VRPN.VRPNToolInstance.type, VRPN.VRPNToolConnections.VRPNToolConnections(), and VRPN.VRPNToolInstance.workspaceGo.
Referenced by VRPN.VRPNGUIController.CreateTool().
Here is the call graph for this function:
Here is the caller graph for this function:| void VRPN.VRPNManager.interactorButtonCallback | ( | Int32 | button, |
| Int32 | state | ||
| ) |
Definition at line 115 of file VRPNManager.cs.
References UI.UIData.atomtype, VRPN.VRPNToolInstance.closest_atom, VRPN.VRPNToolInstance.clutch, VRPN.VRPNToolInstance.get_closest_atom, UnityMolMain.getArtemisManager(), SingleAtomSelection.go, VRPN.VRPNToolInstance.go, VRPN.VRPNToolInstance.last_tracker_position, VRPN.VRPNToolInstance.last_workspace_position, SingleAtomSelection.pdbIndex, ArtemisManager.send_forces(), UI.GUIMoleculeController.toggle_IMD, and VRPN.VRPNToolInstance.workspaceGo.
Here is the call graph for this function:| void VRPN.VRPNManager.interactorTrackerCallback | ( | uint | sensor, |
| System.IntPtr | pos, | ||
| System.IntPtr | quat | ||
| ) |
Definition at line 78 of file VRPNManager.cs.
References UI.UIData.atomtype, VRPN.VRPNToolInstance.closest_atom, VRPN.VRPNToolInstance.clutch, VRPN.VRPNToolInstance.get_closest_atom, GenericAtomManager.getClosestAtomGameObject(), UnityMolMain.getCurrentAtomManager(), SingleAtomSelection.go, VRPN.VRPNToolInstance.go, VRPN.VRPNToolInstance.last_tracker_position, VRPN.VRPNToolInstance.last_workspace_position, VRPN.VRPNToolInstance.selection_sphere, and VRPN.VRPNToolInstance.workspaceGo.
Here is the call graph for this function:| bool VRPN.VRPNManager.RemoveTool | ( | int | tool_instance_index | ) |
Definition at line 272 of file VRPNManager.cs.
References VRPN.VRPNToolConnections.buttons, VRPN.VRPNToolConnections.force_feedback, VRPN.VRPNToolConnections.tracker, VRPN.Wrapper.vrpn_c_close_button(), VRPN.Wrapper.vrpn_c_close_force_feedback(), and VRPN.Wrapper.vrpn_c_close_tracker().
Referenced by VRPN.VRPNGUIController.DeleteTool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 71 of file VRPNManager.cs.
|
private |
Definition at line 75 of file VRPNManager.cs.
|
private |
Definition at line 66 of file VRPNManager.cs.
|
private |
Definition at line 65 of file VRPNManager.cs.
|
private |
Definition at line 64 of file VRPNManager.cs.
|
private |
Definition at line 69 of file VRPNManager.cs.