64 std::ostringstream ss;
66 ss <<
"[#" <<
f.get_frame_number() <<
"] ";
97 float top_left_depth[2], top_left_color[2] = { bbox.
x, bbox.
y };
98 float bottom_right_depth[2], bottom_right_color[2] = { bbox.
x + bbox.
w, bbox.
y + bbox.
h };
101 &depth_intrin, &color_intrin,
102 &color_extrin, &depth_extrin,
106 &depth_intrin, &color_intrin,
107 &color_extrin, &depth_extrin,
108 bottom_right_color );
109 float left = top_left_depth[0];
110 float top = top_left_depth[1];
111 float right = bottom_right_depth[0];
112 float bottom = bottom_right_depth[1];
rs2::rect project_rect_to_depth(rs2::rect const &bbox, rs2::depth_frame df, rs2_intrinsics const &color_intrin, rs2_intrinsics const &depth_intrin, rs2_extrinsics const &color_extrin, rs2_extrinsics const &depth_extrin)
GLuint const GLchar * name
GLdouble GLdouble GLdouble top
rs2_extrinsics get_extrinsics_to(const stream_profile &to) const
stream_profile get_profile() const
const void * get_data() const
GLsizei const GLchar *const * string
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
post_processing_filter(std::string const &name)
virtual rs2::frame process_frame(rs2::frame fs)=0
virtual void on_processing_block_enable(bool e)
void get_trinsics(rs2::video_frame cf, rs2::depth_frame df, rs2_intrinsics &color_intrin, rs2_intrinsics &depth_intrin, rs2_extrinsics &color_extrin, rs2_extrinsics &depth_extrin)
rs2_intrinsics get_intrinsics() const
Cross-stream extrinsics: encodes the topology describing how the different devices are oriented...
LOG_INFO("Log message using LOG_INFO()")
bool is_pb_enabled() const
GLsizei GLsizei GLchar * source
virtual void start(rs2::subdevice_model &model)
static void rs2_project_color_pixel_to_depth_pixel(float to_pixel[2], const uint16_t *data, float depth_scale, float depth_min, float depth_max, const struct rs2_intrinsics *depth_intrin, const struct rs2_intrinsics *color_intrin, const struct rs2_extrinsics *color_to_depth, const struct rs2_extrinsics *depth_to_color, const float from_pixel[2])
std::string get_context(rs2::frame f=rs2::frame()) const
std::string const & get_name() const