Namespace ILLIXR::data_format::ht
Namespace List > ILLIXR > data_format > ht
Classes
Type | Name |
---|---|
struct | hand_points |
struct | ht_detection |
struct | ht_frame |
struct | position |
struct | raw_ht_data |
struct | velocity |
Public Types
Type | Name |
---|---|
enum int | hand |
enum int | landmark_points |
Public Attributes
Type | Name |
---|---|
const int | NUM_LANDMARKS = 21 |
const std::vector< hand > | hand_map = {LEFT\_HAND, RIGHT\_HAND} |
const std::map< int, std::string > | point_str_map = /* multi line expression */ |
Public Functions
Type | Name |
---|---|
std::ostream & | operator<< (std::ostream & os, const raw_ht_data & data) |
void | transform_point (point_with_units & pnt, const pose_data & pose) |
Public Static Functions
Type | Name |
---|---|
void | transform_points (points_with_units & points, const pose_data & pose, coordinates::reference_space from, coordinates::reference_space to) |
Public Types Documentation
enum hand
enum ILLIXR::data_format::ht::hand {
LEFT_HAND = 0,
RIGHT_HAND = 1
};
enum landmark_points
enum ILLIXR::data_format::ht::landmark_points {
WRIST,
THUMB_CMC,
THUMB_MCP,
THUMB_IP,
THUMB_TIP,
INDEX_FINGER_MCP,
INDEX_FINGER_PIP,
INDEX_FINGER_DIP,
INDEX_FINGER_TIP,
MIDDLE_FINGER_MCP,
MIDDLE_FINGER_PIP,
MIDDLE_FINGER_DIP,
MIDDLE_FINGER_TIP,
RING_FINGER_MCP,
RING_FINGER_PIP,
RING_FINGER_DIP,
RING_FINGER_TIP,
PINKY_MCP,
PINKY_PIP,
PINKY_DIP,
PINKY_TIP
};
Public Attributes Documentation
variable NUM_LANDMARKS
const int ILLIXR::data_format::ht::NUM_LANDMARKS;
variable hand_map
const std::vector<hand> ILLIXR::data_format::ht::hand_map;
variable point_str_map
const std::map<int, std::string> ILLIXR::data_format::ht::point_str_map;
Mapping of the hand landmark points to strings, useful for display purposes
Public Functions Documentation
function operator<<
inline std::ostream & ILLIXR::data_format::ht::operator<< (
std::ostream & os,
const raw_ht_data & data
)
function transform_point
inline void ILLIXR::data_format::ht::transform_point (
point_with_units & pnt,
const pose_data & pose
)
Transform a point from its current position using the given pose
Parameters:
pnt
Point to transformpose
Pose to use for the transformation
Public Static Functions Documentation
function transform_points
static inline void ILLIXR::data_format::ht::transform_points (
points_with_units & points,
const pose_data & pose,
coordinates::reference_space from,
coordinates::reference_space to
)
transform multiple points from their original position using the given pose
Parameters:
points
The points to transformpose
Pose to use for the transformationfrom
The coordinate frame to convert fromto
The coordinate from to convert to
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/data_format/hand_tracking_data.hpp