|
Navigation and Viewing Framework
Configurable navigation and viewing setups for various display types in the VR lab
|
Internal representation of a display slot. More...
Public Member Functions | |
| def | __init__ |
| Custom constructor. More... | |
| def | set_eye_distance |
| Sets the transformation values of left and right eye. More... | |
| def | assign_user |
| Assigns a user to this slot. More... | |
| def | clear_user |
| Clears the user assignment. More... | |
Public Attributes | |
| slot_id | |
| Identification number of the slot within the display. More... | |
| screen_num | |
| Number of the screen / display on the platform. More... | |
| stereo | |
| Boolean indicating if this slot is a stereo one. More... | |
| PLATFORM_NODE | |
| Scenegraph transformation node of the platform where the slot is appended to. More... | |
| assigned_user | |
| User instance which was assigned to this Slot by the SlotManager. More... | |
| shutter_timing | |
| A list of opening and closing times of shutter glasses for this slot. More... | |
| shutter_value | |
| A list of hexadecimal commands for shutter glasses associated with the timings for this slot. More... | |
| slot_node | |
| Scenegraph transformation node of this slot. More... | |
| information_node | |
| Node whose name is set to the headtracking target name of the current user. More... | |
| no_tracking_node | |
| Node whose Transform field contains the no tracking matrix to be applied for the headtracking. More... | |
| left_eye | |
| Representation of the slot's user's left eye. More... | |
| right_eye | |
| Representation of the slot's user's right eye. More... | |
| eye | |
| create the eye Representation of the slot's user's eye. More... | |
Internal representation of a display slot.
A Slot is one rendering output that can be handled by a display. User can have multiple slots to obtain a brighter image.
| def lib-server.Slot.Slot.__init__ | ( | self, | |
| DISPLAY, | |||
| SLOT_ID, | |||
| SCREEN_NUM, | |||
| STEREO, | |||
| PLATFORM_NODE | |||
| ) |
Custom constructor.
| DISPLAY | Display instance for which this slot is being created. |
| SLOT_ID | Identification number of the slot within the display. |
| SCREEN_NUM | Number of the screen / display on the platform. |
| STEREO | Boolean indicating if the slot to be created is a stereo one. |
| PLATFORM_NODE | Scenegraph transformation node of the platform where the slot is to be appended to. |
| def lib-server.Slot.Slot.assign_user | ( | self, | |
| USER_INSTANCE | |||
| ) |
Assigns a user to this slot.
Therefore, the slot_node is connected with the user's headtracking matrix.
| USER_INSTANCE | An instance of User which is to be assigned. |
| def lib-server.Slot.Slot.clear_user | ( | self | ) |
Clears the user assignment.
| def lib-server.Slot.Slot.set_eye_distance | ( | self, | |
| VALUE | |||
| ) |
Sets the transformation values of left and right eye.
| VALUE | The eye distance to be applied. |
| lib-server.Slot.Slot.assigned_user |
User instance which was assigned to this Slot by the SlotManager.
| lib-server.Slot.Slot.eye |
create the eye Representation of the slot's user's eye.
| lib-server.Slot.Slot.information_node |
Node whose name is set to the headtracking target name of the current user.
Used for the local headtracking update on client side. Transform is transmitter offset to be applied
| lib-server.Slot.Slot.left_eye |
Representation of the slot's user's left eye.
| lib-server.Slot.Slot.no_tracking_node |
Node whose Transform field contains the no tracking matrix to be applied for the headtracking.
Used for the local headtracking update on client side.
| lib-server.Slot.Slot.PLATFORM_NODE |
Scenegraph transformation node of the platform where the slot is appended to.
| lib-server.Slot.Slot.right_eye |
Representation of the slot's user's right eye.
| lib-server.Slot.Slot.screen_num |
Number of the screen / display on the platform.
| lib-server.Slot.Slot.shutter_timing |
A list of opening and closing times of shutter glasses for this slot.
| lib-server.Slot.Slot.shutter_value |
A list of hexadecimal commands for shutter glasses associated with the timings for this slot.
| lib-server.Slot.Slot.slot_id |
Identification number of the slot within the display.
| lib-server.Slot.Slot.slot_node |
Scenegraph transformation node of this slot.
| lib-server.Slot.Slot.stereo |
Boolean indicating if this slot is a stereo one.
1.8.6