Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquick3dxrinputmanager_visionos.mm File Reference

(cb11ebba864a75d991c79e831d3ed2734c7cb1fa)

#include "qquick3dxrhandinput_p.h"
#include "qquick3dxrinputmanager_visionos_p.h"
#include "../qquick3dxrinputmanager_p.h"
#include "../qquick3dxractionmapper_p.h"
#include "../qquick3dxrcontroller_p.h"
#include <QtQuick3DUtils/private/qssgassert_p.h>
#include <QtQuick3DUtils/private/qssgutils_p.h>
#include <QtQuick3D/private/qquick3dprincipledmaterial_p.h>
#include <QtQuick3D/private/qquick3dviewport_p.h>
+ Include dependency graph for qquick3dxrinputmanager_visionos.mm:

Go to the source code of this file.

Classes

struct  ActionTypeAndName
 

Typedefs

using HandJointList = QVarLengthArray<ar_hand_skeleton_joint_name_t, 28>
 

Functions

QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY (lcQuick3DXr)
 
static void setInputValue (QtQuick3DXr::Hand hand, int id, const char *shortName, float value)
 
static bool setupJoint (ar_hand_skeleton_joint_name_t jointName, const ar_hand_skeleton_t handSkeleton, const simd_float4x4 handTransform, QVector3D &jointPosition, QQuaternion &jointRotation)
 
const HandJointListgetJointNameTable ()
 
static qsizetype getJointIndex (ar_hand_skeleton_joint_name_t jointName)
 
template<QtQuick3DXr::HandPoseSpace HandPose>
static void getHandPose (ar_hand_skeleton_t handSkeleton, const simd_float4x4 handTransform, QVector3D &posePosition, QQuaternion &poseRotation)
 
static void detectGestures (ar_hand_skeleton_t handSkeleton, QtQuick3DXr::Hand hand)
 

Variables

static const ActionTypeAndName VOPinchGestures []
 

Typedef Documentation

◆ HandJointList

typedef QVarLengthArray< ar_hand_skeleton_joint_name_t, 28 > HandJointList = QVarLengthArray<ar_hand_skeleton_joint_name_t, 28>

Definition at line 162 of file qquick3dxrinputmanager_visionos.mm.

Function Documentation

◆ detectGestures()

static void detectGestures ( ar_hand_skeleton_t handSkeleton,
QtQuick3DXr::Hand hand )
static

◆ getHandPose()

template<QtQuick3DXr::HandPoseSpace HandPose>
static void getHandPose ( ar_hand_skeleton_t handSkeleton,
const simd_float4x4 handTransform,
QVector3D & posePosition,
QQuaternion & poseRotation )
static

◆ getJointIndex()

static qsizetype getJointIndex ( ar_hand_skeleton_joint_name_t jointName)
static

Definition at line 215 of file qquick3dxrinputmanager_visionos.mm.

◆ getJointNameTable()

const HandJointList & getJointNameTable ( )

Definition at line 164 of file qquick3dxrinputmanager_visionos.mm.

◆ Q_DECLARE_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY ( lcQuick3DXr )

◆ setInputValue()

static void setInputValue ( QtQuick3DXr::Hand hand,
int id,
const char * shortName,
float value )
inlinestatic

Definition at line 33 of file qquick3dxrinputmanager_visionos.mm.

References QtQuick3DXr::LeftHand.

◆ setupJoint()

static bool setupJoint ( ar_hand_skeleton_joint_name_t jointName,
const ar_hand_skeleton_t handSkeleton,
const simd_float4x4 handTransform,
QVector3D & jointPosition,
QQuaternion & jointRotation )
static

Definition at line 131 of file qquick3dxrinputmanager_visionos.mm.

Variable Documentation

◆ VOPinchGestures