vrdSessionUser¶
-
class
vrdSessionUser
¶
(Inherits vrdObject
)
User information for collaboration sessions.
Summary¶
- Functions:
- getBillboardNode() → vrdNode
- getCameraMatrix() → QMatrix4x4
- getDeviceImage() → QImage
- getDeviceName() → string
- getHasLeftHand() → bool
- getHasRightHand() → bool
- getHeadNode() → vrdNode
- getHeadTrackingMatrix() → QMatrix4x4
- getIsHmd() → bool
- getIsRemote() → bool
- getLeftHandNode() → vrdNode
- getLeftHandTrackingMatrix() → QMatrix4x4
- getProjectCRC() → integer
- getProjectName() → string
- getRightHandNode() → vrdNode
- getRightHandTrackingMatrix() → QMatrix4x4
- getRoom() → string
- getSpectatorCount() → integer
- getTorsoNode() → vrdNode
- getUserColor() → QColor
- getUserIcon() → QImage
- getUserId() → integer
- getUserName() → string
- sendPython(command, commandId)
- setAvatarVisible(visible)
Functions¶
-
vrdSessionUser.
getBillboardNode
()¶ Returns: A node pointer for the billboard transformation Return type: vrdNode
-
vrdSessionUser.
getCameraMatrix
()¶ Returns: A matrix representing the users camera position. Return type: QMatrix4x4
-
vrdSessionUser.
getDeviceImage
()¶ Returns: An icon for the VR device. Return type: QImage
-
vrdSessionUser.
getDeviceName
()¶ Returns: The name of the VR device. Return type: string
-
vrdSessionUser.
getHasLeftHand
()¶ Returns: True, if left hand is tracked. Return type: bool
-
vrdSessionUser.
getHasRightHand
()¶ Returns: True, if right hand is tracked. Return type: bool
-
vrdSessionUser.
getHeadNode
()¶ Returns: A node pointer for the head transformation. Return type: vrdNode
-
vrdSessionUser.
getHeadTrackingMatrix
()¶ Returns: A matrix representing the users head tracking position. Return type: QMatrix4x4
-
vrdSessionUser.
getIsHmd
()¶ Returns: True, if a head mounted display is used Return type: bool
-
vrdSessionUser.
getIsRemote
()¶ Returns: True, if this is a remote user Return type: bool
-
vrdSessionUser.
getLeftHandNode
()¶ Returns: A node pointer for the left hand transformation. Return type: vrdNode
-
vrdSessionUser.
getLeftHandTrackingMatrix
()¶ Returns: A matrix representing the users left hand tracking position. Return type: QMatrix4x4
-
vrdSessionUser.
getProjectCRC
()¶ Returns: The current project checksum. Return type: integer
-
vrdSessionUser.
getProjectName
()¶ Returns: The current project file name. Return type: string
-
vrdSessionUser.
getRightHandNode
()¶ Returns: A node pointer for the right hand transformation. Return type: vrdNode
-
vrdSessionUser.
getRightHandTrackingMatrix
()¶ Returns: A matrix representing the users right hand tracking position. Return type: QMatrix4x4
-
vrdSessionUser.
getRoom
()¶ Returns: Current room name. Return type: string
-
vrdSessionUser.
getSpectatorCount
()¶ Returns: Number of spectators for this user. Return type: integer
-
vrdSessionUser.
getTorsoNode
()¶ Returns: A node pointer for the torso transformation. Return type: vrdNode
-
vrdSessionUser.
getUserColor
()¶ Returns: The user color. Return type: QColor
-
vrdSessionUser.
getUserIcon
()¶ Returns: An icon based on the device icon colored in user color. Return type: QImage
-
vrdSessionUser.
getUserId
()¶ Returns: The user id. Return type: integer
-
vrdSessionUser.
getUserName
()¶ Returns: The user name. Return type: string
-
vrdSessionUser.
sendPython
(command, commandId='')¶ Sends a python command to this users.
Parameters: - command (string) – The python command to send
- commandId (string) – For the same commandId, only the last command is synchronized
-
vrdSessionUser.
setAvatarVisible
(visible)¶ Sets the head, torso and hand nodes visbility.
Parameters: visible (bool) – True to set head, torso and hands visible, False to set these nodes to invisible