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
View.View Class Reference

Internal representation of a standard view on client side. More...

Inheritance diagram for View.View:

Public Member Functions

def __init__
 Default constructor. More...
 
def my_constructor
 Custom constructor. More...
 
def init_local_tracking_override
 Adds a tracking reader to the view instance. More...
 
def set_warpmatrices
 Sets the warp matrices if there is a correct amount of them. More...
 
def evaluate
 Evaluated every frame. More...
 

Public Attributes

 SCENEGRAPH
 Reference to the scenegraph. More...
 
 platform_id
 The platform id for which this client process is responsible for. More...
 
 slot_id
 User ID of this user within his or her user group. More...
 
 screen_num
 The number of the screen node on the platform. More...
 
 ONLY_TRANSLATION_UPDATE
 In case this boolean is true, only the translation values will be locally updated from the tracking system. More...
 
 display_values
 Values that are retrieved from the display. More...
 
 window_size
 Size of the window in which this View will be rendered. More...
 
 window
 The window in which this View will be rendered to. More...
 
 camera
 The camera from which this View will be rendered. More...
 
 pipeline
 The pipeline used to render this View. More...
 
 TRACKING_TARGET_NAME
 The target name of the tracked object as chosen in daemon. More...
 
 TRANSMITTER_OFFSET
 The transmitter offset to be applied. More...
 
 NO_TRACKING_MAT
 Matrix to be applied if no headtracking of the Oculus Rift is available. More...
 
 headtracking_reader
 Instance of a child class of ClientTrackingReader to supply translation input. More...
 

Detailed Description

Internal representation of a standard view on client side.

Creates viewing setup and initializes a tracking sensor in order to avoid latency due to distribution in the network. Refers to a StandardUser on server side.

Constructor & Destructor Documentation

def View.View.__init__ (   self)

Default constructor.

Member Function Documentation

def View.View.evaluate (   self)

Evaluated every frame.

def View.View.init_local_tracking_override (   self,
  TRACKING_TARGET_NAME,
  TRANSMITTER_OFFSET,
  NO_TRACKING_MAT 
)

Adds a tracking reader to the view instance.

Parameters
TRACKING_TARGET_NAMEThe target name of the tracked object as chosen in daemon.
TRANSMITTER_OFFSETThe transmitter offset to be applied.
NO_TRACKING_MATThe matrix to be applied if no valid tracking target was specified.
def View.View.my_constructor (   self,
  SCENEGRAPH,
  VIEWER,
  PLATFORM_ID,
  SLOT_ID,
  DISPLAY_INSTANCE,
  SCREEN_NUM,
  STEREO 
)

Custom constructor.

Parameters
SCENEGRAPHReference to the scenegraph to be displayed.
VIEWERReference to the viewer to which the created pipeline will be appended to.
PLATFORM_IDThe platform id on which this user is standing on.
SLOT_IDThe identification number of the slot to display.
DISPLAY_INSTANCEAn instance of Display to represent the values.
SCREEN_NUMThe number of the screen node on the platform.
STEREOBoolean indicating if the view to be constructed is stereo or mono.
def View.View.set_warpmatrices (   self,
  WINDOW,
  WARPMATRICES 
)

Sets the warp matrices if there is a correct amount of them.

Parameters
WINDOWThe window instance to apply the warp matrices to.
WARPMATRICESA list of warp matrices to be applied if there are enough of them.

Member Data Documentation

View.View.camera

The camera from which this View will be rendered.

View.View.display_values

Values that are retrieved from the display.

Vary for each view on this display.

View.View.headtracking_reader

Instance of a child class of ClientTrackingReader to supply translation input.

View.View.NO_TRACKING_MAT

Matrix to be applied if no headtracking of the Oculus Rift is available.

View.View.ONLY_TRANSLATION_UPDATE

In case this boolean is true, only the translation values will be locally updated from the tracking system.

View.View.pipeline

The pipeline used to render this View.

View.View.platform_id

The platform id for which this client process is responsible for.

View.View.SCENEGRAPH

Reference to the scenegraph.

View.View.screen_num

The number of the screen node on the platform.

View.View.slot_id

User ID of this user within his or her user group.

View.View.TRACKING_TARGET_NAME

The target name of the tracked object as chosen in daemon.

View.View.TRANSMITTER_OFFSET

The transmitter offset to be applied.

View.View.window

The window in which this View will be rendered to.

View.View.window_size

Size of the window in which this View will be rendered.


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