objects-in-frame.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "rendering.h" // for rs2::rect
4 #include <string>
5 #include <vector>
6 #include <mutex>
7 #include <imgui.h>
8 
9 
11 {
14  float mean_depth;
15  size_t id;
16 
17  object_in_frame( size_t id, std::string const & name, rs2::rect bbox_color, rs2::rect bbox_depth, float depth )
18  : normalized_color_bbox( bbox_color )
19  , normalized_depth_bbox( bbox_depth )
20  , name( name )
21  , mean_depth( depth )
22  , id( id )
23  {
24  }
25 };
26 
27 
28 typedef std::vector< object_in_frame > objects_in_frame;
29 
30 
32 {
33  std::mutex mutex;
34  bool sensor_is_on = true;
35 };
GLint GLint GLsizei GLsizei GLsizei depth
GLsizei const GLchar *const * string
std::vector< object_in_frame > objects_in_frame
rs2::rect normalized_color_bbox
object_in_frame(size_t id, std::string const &name, rs2::rect bbox_color, rs2::rect bbox_depth, float depth)
rs2::rect normalized_depth_bbox
std::string name


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:38