Struct ILLIXR::data_format::ht::raw_ht_data
ClassList > ILLIXR > data_format > ht > raw_ht_data
Public Attributes
| Type | Name |
|---|---|
| coordinates::frame | frame = coordinates::RIGHT\_HANDED\_Y\_UPthe coordinate system for all data |
| raw_point | h_points list of points for each hand |
| raw_point | h_velocities list of velocities for each hand |
| bool | hp_valid = {false, false}validity of hand points |
| bool | hv_valid = {false, false}validity of hand velocities |
| coordinates::reference_space | reference = coordinates::VIEWERthe reference space |
| uint64_t | time Time associated with these data. |
| units::measurement_unit | unit = units::measurement\_unit::UNSETthe units of all data |
| bool | valid = falsevalidity of all data |
| raw_pose | wcs_origin the offset pose |
Public Functions
| Type | Name |
|---|---|
| void | copy (const ht_frame & frame_) |
| raw_ht_data () |
|
| raw_ht_data (const time_point time, const std::map< ht::hand, hand_points > & points, const std::map< ht::hand, velocity > & velocities, const pose_data & pose, coordinates::reference_space ref_sp=coordinates::VIEWER, units::measurement_unit _unit=units::measurement_unit::UNSET) |
|
| raw_ht_data (const ht_frame & frame_) |
Public Attributes Documentation
variable frame
the coordinate system for all data
coordinates::frame ILLIXR::data_format::ht::raw_ht_data::frame;
variable h_points
list of points for each hand
raw_point ILLIXR::data_format::ht::raw_ht_data::h_points[2][NUM_LANDMARKS];
variable h_velocities
list of velocities for each hand
raw_point ILLIXR::data_format::ht::raw_ht_data::h_velocities[2][NUM_LANDMARKS];
variable hp_valid
validity of hand points
bool ILLIXR::data_format::ht::raw_ht_data::hp_valid[2];
variable hv_valid
validity of hand velocities
bool ILLIXR::data_format::ht::raw_ht_data::hv_valid[2];
variable reference
the reference space
coordinates::reference_space ILLIXR::data_format::ht::raw_ht_data::reference;
variable time
Time associated with these data.
uint64_t ILLIXR::data_format::ht::raw_ht_data::time;
variable unit
the units of all data
units::measurement_unit ILLIXR::data_format::ht::raw_ht_data::unit;
variable valid
validity of all data
bool ILLIXR::data_format::ht::raw_ht_data::valid;
variable wcs_origin
the offset pose
raw_pose ILLIXR::data_format::ht::raw_ht_data::wcs_origin;
Public Functions Documentation
function copy
inline void ILLIXR::data_format::ht::raw_ht_data::copy (
const ht_frame & frame_
)
Copy the data from an ht_frame instance into this structure
Parameters:
frame_The frame to copy
function raw_ht_data [1/3]
inline ILLIXR::data_format::ht::raw_ht_data::raw_ht_data ()
Basic constructor
function raw_ht_data [2/3]
inline ILLIXR::data_format::ht::raw_ht_data::raw_ht_data (
const time_point time,
const std::map< ht::hand, hand_points > & points,
const std::map< ht::hand, velocity > & velocities,
const pose_data & pose,
coordinates::reference_space ref_sp=coordinates::VIEWER,
units::measurement_unit _unit=units::measurement_unit::UNSET
)
Create an instance from the given data
Parameters:
timeTime associated with these datapointsThe points for each handvelocitiesThe velocities for each handposeThe offset poseref_spThe reference space, default is VIEWER_unitThe units for all data, defaults to UNSET
function raw_ht_data [3/3]
inline explicit ILLIXR::data_format::ht::raw_ht_data::raw_ht_data (
const ht_frame & frame_
)
Create an instance from the given ht_frame
Parameters:
frame_The data to use
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/ILLIXR/include/illixr/data_format/hand_tracking_data.hpp