UnityMol  0.9.6-875
UnityMol viewer / In developement
VRPN.VRPNManager Class Reference
+ 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< VRPNToolInstancetools = new List<VRPNToolInstance>()
 
List< VRPNToolConnectionsconnections = new List<VRPNToolConnections>()
 
int current_tool_index = 0
 

Detailed Description

Definition at line 61 of file VRPNManager.cs.

Constructor & Destructor Documentation

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:

Member Function Documentation

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 
)
bool VRPN.VRPNManager.ConnectToolToTracker ( int  tool_instance_index,
string  vrpn_device 
)
void VRPN.VRPNManager.DeviceLoop ( )
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.

bool VRPN.VRPNManager.RemoveTool ( int  tool_instance_index)

Member Data Documentation

List<VRPNToolConnections> VRPN.VRPNManager.connections = new List<VRPNToolConnections>()
private

Definition at line 71 of file VRPNManager.cs.

int VRPN.VRPNManager.current_tool_index = 0
private

Definition at line 75 of file VRPNManager.cs.

VRPN.Wrapper.AnalogCallbackDelegate VRPN.VRPNManager.explorerAnalogDelegate
private

Definition at line 66 of file VRPNManager.cs.

VRPN.Wrapper.ButtonCallbackDelegate VRPN.VRPNManager.interactorButtonDelegate
private

Definition at line 65 of file VRPNManager.cs.

VRPN.Wrapper.TrackerCallbackDelegate VRPN.VRPNManager.interactorTrackerDelegate
private

Definition at line 64 of file VRPNManager.cs.

List<VRPNToolInstance> VRPN.VRPNManager.tools = new List<VRPNToolInstance>()
private

Definition at line 69 of file VRPNManager.cs.


The documentation for this class was generated from the following file: