Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
|
Internal representation and reader for a XBox controller. More...
Public Member Functions | |
def | my_constructor |
Custom constructor. More... | |
def | create_device_avatar |
Creates a representation of the device in the virutal world. More... | |
Public Member Functions inherited from lib-server.Device.MultiDofDevice | |
def | __init__ |
Default constructor. More... | |
def | init_station_tracking |
Initializes a tracking reader for the device's position and rotation. More... | |
def | filter_channel |
Map an input value to a certain interval. More... | |
def | set_input_channel_parameters |
Sets given values as input channel filtering parameters. More... | |
def | add_input_binding |
Adds an input binding to the list of bindings for this device. More... | |
def | frame_callback |
Callback: evaluated every frame. More... | |
def | set_x |
Filters and sets the x parameter. More... | |
def | set_y |
Filters and sets the y parameter. More... | |
def | set_z |
Filters and sets the z parameter. More... | |
def | set_rx |
Filters and sets the rx parameter. More... | |
def | set_ry |
Filters and sets the ry parameter. More... | |
def | set_rz |
Filters and sets the rz parameter. More... | |
def | set_w |
Filters and sets the w parameter. More... | |
def | set_reset_trigger |
Sets the reset trigger. More... | |
def | set_coupling_trigger |
Sets the coupling trigger. More... | |
def | set_dof_trigger |
Sets the dof trigger. More... | |
Public Attributes | |
device_sensor | |
Device sensor for the device's inputs. More... | |
translation_factor | |
Factor to modify the device's translation input. More... | |
rotation_factor | |
Factor to modify the device's rotation input. More... | |
Public Attributes inherited from lib-server.Device.MultiDofDevice | |
input_bindings | |
List of bindings between input values / button values and events. More... | |
dofs | |
Temporary list of degrees of freedom used for storage before setting mf_dof. More... | |
x_parameters | |
Filer channel parameters for x. More... | |
y_parameters | |
Filer channel parameters for y. More... | |
z_parameters | |
Filer channel parameters for z. More... | |
rx_parameters | |
Filer channel parameters for rx. More... | |
ry_parameters | |
Filer channel parameters for ry. More... | |
rz_parameters | |
Filer channel parameters for rz. More... | |
w_parameters | |
Filer channel parameters for w. More... | |
translation_factor | |
Factor to modify the device's translation input. More... | |
rotation_factor | |
Factor to modify the device's rotation input. More... | |
frame_trigger | |
Triggers framewise evaluation of frame_callback method. More... | |
tracking_reader | |
Tracking Reader to process the tracking input of the device. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from lib-server.Device.MultiDofDevice | |
tuple | mf_dof = avango.MFFloat() |
The input values of the input device. More... | |
tuple | sf_reset_trigger = avango.SFBool() |
Boolean indicating if a reset of the platform is to be triggered. More... | |
tuple | sf_coupling_trigger = avango.SFBool() |
Boolean indicating if a coupling with other platforms is to be triggered. More... | |
tuple | sf_dof_trigger = avango.SFBool() |
Boolean indicating if a change of dof mode is to be triggered. More... | |
tuple | sf_station_mat = avango.gua.SFMatrix4() |
Tracking position and rotation. More... | |
Internal representation and reader for a XBox controller.
def lib-server.Device.XBoxDevice.create_device_avatar | ( | self, | |
PLATFORM_NODE, | |||
PLATFORM_ID | |||
) |
Creates a representation of the device in the virutal world.
PLATFORM_NODE | The platform node to which the avatar should be appended to. |
PLATFORM_ID | The platform id used for setting the group name correctly. |
def lib-server.Device.XBoxDevice.my_constructor | ( | self, | |
DEVICE_STATION, | |||
TRACKING_TARGET_NAME, | |||
NO_TRACKING_MAT | |||
) |
Custom constructor.
DEVICE_STATION | The name of the input device as chosen in daemon. |
TRACKING_TARGET_NAME | The tracking name as chosen in daemon, None if no tracking is available. |
NO_TRACKING_MAT | Tracking matrix to be used if no tracking is available. |
lib-server.Device.XBoxDevice.device_sensor |
Device sensor for the device's inputs.
lib-server.Device.XBoxDevice.rotation_factor |
Factor to modify the device's rotation input.
lib-server.Device.XBoxDevice.translation_factor |
Factor to modify the device's translation input.