Skip to content

Struct ILLIXR::data_format::ht::velocity

ClassList > ILLIXR > data_format > ht > velocity

More...

  • #include <hand_tracking_data.hpp>

Inherits the following classes: ILLIXR::data_format::ht::hand_points

Public Functions

Type Name
velocity ()
velocity (units::measurement_unit unit)
velocity (const hand_points & h1, const hand_points & h2, const float time)

Public Functions inherited from ILLIXR::data_format::ht::hand_points

See ILLIXR::data_format::ht::hand_points

Type Name
void check ()
void clear ()
void flip_y (const uint im_height=0)
hand_points (units::measurement_unit unit_=units::UNSET)
hand_points (std::vector< point_with_validity > & pnts, units::measurement_unit unit_=units::UNSET)
hand_points (std::vector< point > & pnts, units::measurement_unit unit_=units::UNSET, bool valid_=true)

Detailed Description

Representation of current velocity of head hand point.

Public Functions Documentation

function velocity [1/3]

inline ILLIXR::data_format::ht::velocity::velocity () 

Constructor, creates list of 21 empty points


function velocity [2/3]

inline explicit ILLIXR::data_format::ht::velocity::velocity (
    units::measurement_unit unit
) 

Constructor, creates list of 21 empty points

Parameters:

  • unit The unit of the points, default is UNSET

function velocity [3/3]

inline ILLIXR::data_format::ht::velocity::velocity (
    const hand_points & h1,
    const hand_points & h2,
    const float time
) 

Constructor, calculates the velocities from the given points. Both sets of points must be the same size and have the same units.

Parameters:

  • h1 The initial position of the points
  • h2 The final position of the points
  • time The time difference between h1 and h2 in seconds


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/data_format/hand_tracking_data.hpp