Struct ILLIXR::data_format::quest_controller_pose
ClassList > ILLIXR > data_format > quest_controller_pose
#include <quest_controller.hpp>
Inherits the following classes: ILLIXR::data_format::pose::pose_base
Public Attributes
| Type | Name |
|---|---|
| bool | active = {[**false**](namespaceILLIXR.md#function-normalize)} |
| bool | orientation_tracked = {[**false**](namespaceILLIXR.md#function-normalize)} |
| bool | orientation_valid = {[**false**](namespaceILLIXR.md#function-normalize)} |
| bool | position_tracked = {[**false**](namespaceILLIXR.md#function-normalize)} |
| bool | position_valid = {[**false**](namespaceILLIXR.md#function-normalize)} |
Public Attributes inherited from ILLIXR::data_format::pose::pose_base
See ILLIXR::data_format::pose::pose_base
| Type | Name |
|---|---|
| float | confidence Confidence in the pose estimate in [0, 1], where 1 is highest confidence. |
| Eigen::Quaternionf | orientation Rotation component of the pose as a unit quaternion. |
| Eigen::Vector3f | position Translation component of the pose (x, y, z) |
| bool | valid Whether this pose contains valid, usable data. |
Public Functions
| Type | Name |
|---|---|
| bool | tracked () const |
| bool | valid () const |
Public Functions inherited from ILLIXR::data_format::pose::pose_base
See ILLIXR::data_format::pose::pose_base
| Type | Name |
|---|---|
| pose_base () Default constructor. Produces an invalid, zero-translation, identity-rotation pose. |
|
| pose_base (Eigen::Vector3f position_, Eigen::Quaternionf orientation_, float confidence_=0.f, bool valid_=true) Construct a pose from explicit components. |
|
| void | update (Eigen::Vector3f position_, Eigen::Quaternionf orientation_) |
Detailed Description
A controller pose expressed in the OpenXR LOCAL reference space.
Public Attributes Documentation
variable active
bool ILLIXR::data_format::quest_controller_pose::active;
OpenXR can report validity and tracking for each pose component independently.
variable orientation_tracked
bool ILLIXR::data_format::quest_controller_pose::orientation_tracked;
variable orientation_valid
bool ILLIXR::data_format::quest_controller_pose::orientation_valid;
variable position_tracked
bool ILLIXR::data_format::quest_controller_pose::position_tracked;
variable position_valid
bool ILLIXR::data_format::quest_controller_pose::position_valid;
Public Functions Documentation
function tracked
inline bool ILLIXR::data_format::quest_controller_pose::tracked () const
True when both components are currently tracked rather than inferred.
function valid
inline bool ILLIXR::data_format::quest_controller_pose::valid () const
True when both position and orientation may be consumed.
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/data_format/quest_controller.hpp