Skip to content

Struct ILLIXR::data_format::ht::hand_points

ClassList > ILLIXR > data_format > ht > hand_points

More...

  • #include <hand_tracking_data.hpp>

Inherits the following classes: ILLIXR::data_format::points_with_units

Inherited by the following classes: ILLIXR::data_format::ht::velocity

Public Functions

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

Listing of each hand point's coordinates

Public Functions Documentation

function check

inline void ILLIXR::data_format::ht::hand_points::check () 

Verify the size of the input data, resizing as necessary


function clear

inline void ILLIXR::data_format::ht::hand_points::clear () 

Clear the internal storage


function flip_y

inline void ILLIXR::data_format::ht::hand_points::flip_y (
    const uint im_height=0
) 

Flip the y-coordinate over the central axis

Parameters:

  • im_height The height of the bounding box, only used if units != PERCENT

function hand_points [1/3]

inline explicit ILLIXR::data_format::ht::hand_points::hand_points (
    units::measurement_unit unit_=units::UNSET
) 

Constructor, creates list of 21 empty points

Parameters:

  • unit_ The unit of the points, default is UNSET

function hand_points [2/3]

inline explicit ILLIXR::data_format::ht::hand_points::hand_points (
    std::vector< point_with_validity > & pnts,
    units::measurement_unit unit_=units::UNSET
) 

Constructor, with existing points

Parameters:

  • pnts The points to use
  • unit_ The unit of the points, default is UNSET

function hand_points [3/3]

inline explicit ILLIXR::data_format::ht::hand_points::hand_points (
    std::vector< point > & pnts,
    units::measurement_unit unit_=units::UNSET,
    bool valid_=true
) 

Constructor, with existing points and validity

Parameters:

  • pnts The points to use
  • unit_ The unit of the points, default is UNSET
  • valid_ Flag indicating the validity of all points, will be true if at least one point is valid


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