Struct ILLIXR::pose_image
ClassList > ILLIXR > pose_image
#include <hand_tracking_publisher.hpp>
Public Types
Type | Name |
---|---|
typedef std::map< data_format::image::image_type, cv::Mat >::const_iterator | img_iterator |
Public Attributes
Type | Name |
---|---|
bool | confidence_valid_ = false flags to indicate if there is a valid confidence image assocaited with the depth image |
bool | depth_valid = false flag to indicate if there is a valid depth image |
int | eye_count = 0 the number of "eyes" (input images) |
image_map | images mapping of the current images |
bool | pose_valid = false flags indicating if the poses are valid |
data_format::multi_pose_map | poses mapping of poses for each image |
data_format::units::eyes | primary = data\_format::units::LEFT\_EYE the primary eye, will depend on the camera type |
Public Functions
Type | Name |
---|---|
cv::Mat | at (const data_format::image::image_type idx) const |
img_iterator | begin () const |
size_t | count (data_format::image::image_type imgt) const |
img_iterator | end () const |
img_iterator | find (data_format::image::image_type eye) const |
int | format (data_format::image::image_type idx) |
void | insert (img_iterator start, img_iterator end) |
cv::Mat & | operator[] (data_format::image::image_type idx) |
size_t | size () const |
Detailed Description
Holds current input image(s) and pose
Public Types Documentation
typedef img_iterator
typedef std::map<data_format::image::image_type,cv::Mat>::const_iterator ILLIXR::pose_image::img_iterator;
Public Attributes Documentation
variable confidence_valid_
flags to indicate if there is a valid confidence image assocaited with the depth image
bool ILLIXR::pose_image::confidence_valid_;
variable depth_valid
flag to indicate if there is a valid depth image
bool ILLIXR::pose_image::depth_valid;
variable eye_count
the number of "eyes" (input images)
int ILLIXR::pose_image::eye_count;
variable images
mapping of the current images
image_map ILLIXR::pose_image::images;
variable pose_valid
flags indicating if the poses are valid
bool ILLIXR::pose_image::pose_valid;
variable poses
mapping of poses for each image
data_format::multi_pose_map ILLIXR::pose_image::poses;
variable primary
the primary eye, will depend on the camera type
data_format::units::eyes ILLIXR::pose_image::primary;
Public Functions Documentation
function at
inline cv::Mat ILLIXR::pose_image::at (
const data_format::image::image_type idx
) const
Access an image via index
Parameters:
idx
The index of the image to get (must exist)
Returns:
The image
function begin
inline img_iterator ILLIXR::pose_image::begin () const
Returns the iterator to the beginning of the image map
Returns:
The "begin" iterator
function count
inline size_t ILLIXR::pose_image::count (
data_format::image::image_type imgt
) const
Gets the number of instances of the specified image type
Parameters:
imgt
The image type to search for
Returns:
The number found
function end
inline img_iterator ILLIXR::pose_image::end () const
Returns the iterator to the end of the image map
Returns:
The "end" iterator
function find
inline img_iterator ILLIXR::pose_image::find (
data_format::image::image_type eye
) const
Returns an iterator to the specified image
Parameters:
eye
The image to get
Returns:
An iterator to the requested image
function format
inline int ILLIXR::pose_image::format (
data_format::image::image_type idx
)
Get the format code of the specified image
Parameters:
idx
The image to query
Returns:
The format code
function insert
inline void ILLIXR::pose_image::insert (
img_iterator start,
img_iterator end
)
Insert images based on their iterators
Parameters:
start
The start of the images to insertend
The end of the images to insert
function operator[]
inline cv::Mat & ILLIXR::pose_image::operator[] (
data_format::image::image_type idx
)
Access an image via index
Parameters:
idx
The index of the image to get (must exist)
Returns:
A reference to the image
function size
inline size_t ILLIXR::pose_image::size () const
Reports number of images
Returns:
The number of images
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/hand_tracking_publisher.hpp