Skip to main content

QarAppVolumeGestureMappingRule Struct

Declaration​

struct QarAppVolumeGestureMappingRule { ... }

Included Headers​

Public Member Attributes Index​

QarAppScaleSensitivityModeapp_scale_sensitivity_mode
QarGestureAppTransformMappingapp_transform_mapping
QarAppVolumeControllerRayStylecontroller_ray_style
boolenable_gestures_from_outside_of_volume
boolenabled
QarGestureKindgesture_kind
QarStructureHeaderheader
floatprecision
uint32_trotation_axes
uint32_ttranslation_axes

Definition at line 776 of file qar_streaming.h.

Public Member Attributes​

app_scale_sensitivity_mode​

QarAppScaleSensitivityMode QarAppVolumeGestureMappingRule::app_scale_sensitivity_mode

Definition at line 798 of file qar_streaming.h.

app_transform_mapping​

QarGestureAppTransformMapping QarAppVolumeGestureMappingRule::app_transform_mapping

Definition at line 807 of file qar_streaming.h.

controller_ray_style​

QarAppVolumeControllerRayStyle QarAppVolumeGestureMappingRule::controller_ray_style

Definition at line 806 of file qar_streaming.h.

enable_gestures_from_outside_of_volume​

bool QarAppVolumeGestureMappingRule::enable_gestures_from_outside_of_volume

Definition at line 805 of file qar_streaming.h.

enabled​

bool QarAppVolumeGestureMappingRule::enabled

Definition at line 782 of file qar_streaming.h.

gesture_kind​

QarGestureKind QarAppVolumeGestureMappingRule::gesture_kind

Definition at line 781 of file qar_streaming.h.

header​

QarStructureHeader QarAppVolumeGestureMappingRule::header

Extensible struct header. Set with qar_app_volume_gesture_mapping_rule_default().

Definition at line 780 of file qar_streaming.h.

precision​

float QarAppVolumeGestureMappingRule::precision

Rule priority is determined by QarAppVolumeGestureConfiguration::mapping_rules order. Earlier rules have higher priority than later rules. When multiple gestures are detected at the same time for the same app volume and source peer, an active gesture matching an earlier rule suppresses gestures that only match later rules. Gesture precision denominator in the target app-volume world. With constant sensitivity, 1.0 maps 1 cm of hand movement to 1 cm of app movement, 2.0 maps 1 cm to 0.5 cm, and 0.5 maps 1 cm to 2 cm. Scale sensitivity multiplies this result after precision is applied. Example: precision = 2.0 and based-on-app-scale with app_scale = 4.0 maps 1 cm hand movement to 2 cm of gesture delta. As app_scale increases, the rendered app gets bigger and this mode makes gesture response faster.

Definition at line 797 of file qar_streaming.h.

rotation_axes​

uint32_t QarAppVolumeGestureMappingRule::rotation_axes

Bitmask composed from QarAppVolumeAxisFlags values, for example QAR_APP_VOLUME_AXIS_Z or QAR_APP_VOLUME_AXIS_ALL.

Definition at line 804 of file qar_streaming.h.

translation_axes​

uint32_t QarAppVolumeGestureMappingRule::translation_axes

Bitmask composed from QarAppVolumeAxisFlags values, for example QAR_APP_VOLUME_AXIS_X | QAR_APP_VOLUME_AXIS_Y.

Definition at line 801 of file qar_streaming.h.


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


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.