Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
lib-server.Device.OldSpheronDevice Class Reference

Internal representation and reader for the old spheron. More...

Inheritance diagram for lib-server.Device.OldSpheronDevice:
lib-server.Device.MultiDofDevice

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...
 
 button_sensor
 Device sensor for the device's button inputs. 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...
 

Detailed Description

Internal representation and reader for the old spheron.

Member Function Documentation

def lib-server.Device.OldSpheronDevice.create_device_avatar (   self,
  PLATFORM_NODE,
  PLATFORM_ID 
)

Creates a representation of the device in the virutal world.

Parameters
PLATFORM_NODEThe platform node to which the avatar should be appended to.
PLATFORM_IDThe platform id used for setting the group name correctly.
def lib-server.Device.OldSpheronDevice.my_constructor (   self,
  DEVICE_STATION,
  TRACKING_TARGET_NAME,
  NO_TRACKING_MAT 
)

Custom constructor.

Parameters
DEVICE_STATIONThe name of the input device as chosen in daemon.
TRACKING_TARGET_NAMEThe tracking name as chosen in daemon, None if no tracking is available.
NO_TRACKING_MATTracking matrix to be used if no tracking is available.

Member Data Documentation

lib-server.Device.OldSpheronDevice.avatar_transform

Scenegraph transform node for the dekstop user's table.

lib-server.Device.OldSpheronDevice.button_sensor

Device sensor for the device's button inputs.

lib-server.Device.OldSpheronDevice.device_avatar

Scenegraph node representing the geometry and transformation of the device avatar.

lib-server.Device.OldSpheronDevice.device_sensor

Device sensor for the device's inputs.

lib-server.Device.OldSpheronDevice.rotation_factor

Factor to modify the device's rotation input.

lib-server.Device.OldSpheronDevice.translation_factor

Factor to modify the device's translation input.


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