Struct ILLIXR::data_format::ht::ht_frame
ClassList > ILLIXR > data_format > ht > ht_frame
#include <hand_tracking_data.hpp>
Inherits the following classes: ILLIXR::data_format::cam_base_type
Public Attributes
Type | Name |
---|---|
std::map< units::eyes, ht_detection > | detections The raw detection data. |
std::map< ht::hand, hand_points > | hand_positions The hand points in real world coordinates. |
std::map< ht::hand, velocity > | hand_velocities The velocity of each hand point. |
coordinates::reference_space | reference The coordinate system being used. |
units::measurement_unit | unit The unit being used for this frame. |
pose_data | wcs_offset The offset between the current pose and the origin. |
Public Attributes inherited from ILLIXR::data_format::cam_base_type
See ILLIXR::data_format::cam_base_type
Type | Name |
---|---|
std::map< image::image_type, cv::Mat > | images = {} Mapping of the images with their types. |
time_point | time Time associated with the image(s) |
camera::cam_type | type What type of camera is this. |
Public Functions
Type | Name |
---|---|
ht_frame (time_point time, std::map< image::image_type, cv::Mat > images, std::map< units::eyes, ht_detection > _detections, std::map< ht::hand, hand_points > points, std::map< ht::hand, velocity > velocities={}, pose_data _pose={}, coordinates::reference_space ref_sp=coordinates::VIEWER, units::measurement_unit _unit=units::measurement_unit::UNSET) |
Public Functions inherited from ILLIXR::data_format::cam_base_type
See ILLIXR::data_format::cam_base_type
Type | Name |
---|---|
cv::Mat | at (const image::image_type idx) const |
std::map< image::image_type, cv::Mat >::const_iterator | begin () const |
cam_base_type (time_point _time, std::map< image::image_type, cv::Mat > imgs, camera::cam_type _type) |
|
std::map< image::image_type, cv::Mat >::const_iterator | end () const |
std::map< image::image_type, cv::Mat >::const_iterator | find (const image::image_type idx) const |
int | format (image::image_type idx) |
cv::Mat & | operator[] (image::image_type idx) |
size_t | size () const |
Public Functions inherited from ILLIXR::switchboard::event
See ILLIXR::switchboard::event
Type | Name |
---|---|
void | serialize (Archive & ar, const unsigned int version) |
virtual | ~event () = default |
Detailed Description
Representation of all hand data for a frame
Public Attributes Documentation
variable detections
The raw detection data.
std::map<units::eyes, ht_detection> ILLIXR::data_format::ht::ht_frame::detections;
variable hand_positions
The hand points in real world coordinates.
std::map<ht::hand, hand_points> ILLIXR::data_format::ht::ht_frame::hand_positions;
variable hand_velocities
The velocity of each hand point.
std::map<ht::hand, velocity> ILLIXR::data_format::ht::ht_frame::hand_velocities;
variable reference
The coordinate system being used.
coordinates::reference_space ILLIXR::data_format::ht::ht_frame::reference;
variable unit
The unit being used for this frame.
units::measurement_unit ILLIXR::data_format::ht::ht_frame::unit;
variable wcs_offset
The offset between the current pose and the origin.
pose_data ILLIXR::data_format::ht::ht_frame::wcs_offset;
Public Functions Documentation
function ht_frame
inline ILLIXR::data_format::ht::ht_frame::ht_frame (
time_point time,
std::map< image::image_type, cv::Mat > images,
std::map< units::eyes, ht_detection > _detections,
std::map< ht::hand, hand_points > points,
std::map< ht::hand, velocity > velocities={},
pose_data _pose={},
coordinates::reference_space ref_sp=coordinates::VIEWER,
units::measurement_unit _unit=units::measurement_unit::UNSET
)
Construct an instance from the given data
Parameters:
time
Time associated with these dataimages
The images associated with these data_detections
The hand detectionspoints
The real-world points of the handsvelocities
The velocities of the hands_pose
Offset pose between the current location and the world coordinate originref_sp
The reference space being used, default is VIEWER_unit
The units for all data, default is UNSET
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/data_format/hand_tracking_data.hpp