Class ILLIXR::hand_tracking_publisher
ClassList > ILLIXR > hand_tracking_publisher
#include <hand_tracking_publisher.hpp>
Inherits the following classes: threadloop
Public Functions
Type | Name |
---|---|
void | add_raw (size_t id, pose_image & pi) |
hand_tracking_publisher (const std::string & name_, phonebook * pb_) |
|
void | set_frame_count (ht::input_type it) |
void | set_poller (data_format::image::image_type im_type, mediapipe::OutputStreamPoller * plr) |
void | start () override |
void | stop () override |
~hand_tracking_publisher () override |
Protected Functions
Type | Name |
---|---|
void | _p_one_iteration () override |
skip_option | _p_should_skip () override |
Detailed Description
Plugin for hand tracking
Public Functions Documentation
function add_raw
void ILLIXR::hand_tracking_publisher::add_raw (
size_t id,
pose_image & pi
)
Add an input image to the raw image map
Parameters:
id
The timesatmp of the datapi
The data to insert
function hand_tracking_publisher
ILLIXR::hand_tracking_publisher::hand_tracking_publisher (
const std::string & name_,
phonebook * pb_
)
Basic constructor
Parameters:
name_
The name of the pluginpb_
A phonebook instance
function set_frame_count
void ILLIXR::hand_tracking_publisher::set_frame_count (
ht::input_type it
)
Set the number of expected output froames from the mediapipe pipeline
Parameters:
it
The number of expected frames (1 or 2)
function set_poller
inline void ILLIXR::hand_tracking_publisher::set_poller (
data_format::image::image_type im_type,
mediapipe::OutputStreamPoller * plr
)
Add a poller to the list
Parameters:
im_type
The image type this poller reportsplr
The poller instance
function start
void ILLIXR::hand_tracking_publisher::start () override
function stop
void ILLIXR::hand_tracking_publisher::stop () override
function ~hand_tracking_publisher
ILLIXR::hand_tracking_publisher::~hand_tracking_publisher () override
Protected Functions Documentation
function _p_one_iteration
void ILLIXR::hand_tracking_publisher::_p_one_iteration () override
function _p_should_skip
skip_option ILLIXR::hand_tracking_publisher::_p_should_skip () override
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/hand_tracking_publisher.hpp