Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
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 {
12  {
13  int min_x;
14  int min_y;
15  int max_x;
16  int max_y;
17  };
18 
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 
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 
36 }
int max_y
Definition: roi.h:16
int min_x
Definition: roi.h:13
Definition: algo.h:16
Definition: rs_types.h:101
int min_y
Definition: roi.h:14
int max_x
Definition: roi.h:15
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)