Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
|
Internal representation of a standard view on client side. More...
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... | |
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.
def View.View.__init__ | ( | self | ) |
Default constructor.
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.
TRACKING_TARGET_NAME | The target name of the tracked object as chosen in daemon. |
TRANSMITTER_OFFSET | The transmitter offset to be applied. |
NO_TRACKING_MAT | The 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.
SCENEGRAPH | Reference to the scenegraph to be displayed. |
VIEWER | Reference to the viewer to which the created pipeline will be appended to. |
PLATFORM_ID | The platform id on which this user is standing on. |
SLOT_ID | The identification number of the slot to display. |
DISPLAY_INSTANCE | An instance of Display to represent the values. |
SCREEN_NUM | The number of the screen node on the platform. |
STEREO | Boolean 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.
WINDOW | The window instance to apply the warp matrices to. |
WARPMATRICES | A list of warp matrices to be applied if there are enough of them. |
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.