Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
src
core
roi.h
Go to the documentation of this file.
1
// License: Apache 2.0. See LICENSE file in root directory.
2
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.
3
#pragma once
4
5
#include "
video.h
"
6
7
#include <memory>
8
9
namespace
librealsense
10
{
11
struct
region_of_interest
12
{
13
int
min_x
;
14
int
min_y
;
15
int
max_x
;
16
int
max_y
;
17
};
18
19
class
region_of_interest_method
20
{
21
public
:
22
virtual
void
set
(
const
region_of_interest
& roi) = 0;
23
virtual
region_of_interest
get
()
const
= 0;
24
25
virtual
~
region_of_interest_method
() =
default
;
26
};
27
28
class
roi_sensor_interface
29
{
30
public
:
31
virtual
region_of_interest_method
& get_roi_method()
const
= 0;
32
virtual
void
set_roi_method(std::shared_ptr<region_of_interest_method> roi_method) = 0;
33
};
34
35
MAP_EXTENSION
(
RS2_EXTENSION_ROI
,
librealsense::roi_sensor_interface
);
36
}
librealsense::region_of_interest::max_y
int max_y
Definition:
roi.h:16
librealsense::region_of_interest_method
Definition:
roi.h:19
librealsense::region_of_interest::min_x
int min_x
Definition:
roi.h:13
video.h
librealsense
Definition:
algo.h:16
RS2_EXTENSION_ROI
Definition:
rs_types.h:101
librealsense::region_of_interest::min_y
int min_y
Definition:
roi.h:14
librealsense::roi_sensor_interface
Definition:
roi.h:28
librealsense::region_of_interest::max_x
int max_x
Definition:
roi.h:15
librealsense::region_of_interest
Definition:
roi.h:11
librealsense::MAP_EXTENSION
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)
Generated by
1.8.12