Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
|
Internal representation and reader for a keyboard and mouse setup. 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 | |
mouse_sensor | |
Input sensor referencing the mouse connected to the computer. More... | |
keyboard_sensor | |
Input sensor referencing the keyboard connected to the computer. More... | |
translation_factor | |
Factor to modify the device's translation input. More... | |
rotation_factor | |
Factor to modify the device's rotation input. More... | |
avatar_transform | |
Scenegraph transform node for the dekstop user's table. More... | |
device_avatar | |
Scenegraph node representing the geometry and transformation of the device avatar. 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 keyboard and mouse setup.
def lib-server.Device.KeyboardMouseDevice.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.KeyboardMouseDevice.my_constructor | ( | self, | |
NO_TRACKING_MAT | |||
) |
Custom constructor.
NO_TRACKING_MAT | The matrix to be applied as a spacemouse is not tracked. |
lib-server.Device.KeyboardMouseDevice.avatar_transform |
Scenegraph transform node for the dekstop user's table.
lib-server.Device.KeyboardMouseDevice.device_avatar |
Scenegraph node representing the geometry and transformation of the device avatar.
lib-server.Device.KeyboardMouseDevice.keyboard_sensor |
Input sensor referencing the keyboard connected to the computer.
lib-server.Device.KeyboardMouseDevice.mouse_sensor |
Input sensor referencing the mouse connected to the computer.
lib-server.Device.KeyboardMouseDevice.rotation_factor |
Factor to modify the device's rotation input.
lib-server.Device.KeyboardMouseDevice.translation_factor |
Factor to modify the device's translation input.