Open3D (C++ API)  0.18.0+5c982c7
RGBDSensor.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <memory>
11 
13 
14 namespace open3d {
15 
16 namespace geometry {
17 class RGBDImage;
18 };
19 
20 namespace io {
21 
22 class RGBDSensor {
23 public:
25  virtual bool Connect(size_t sensor_index) = 0;
26  virtual ~RGBDSensor(){};
27 
33  virtual std::shared_ptr<geometry::RGBDImage> CaptureFrame(
34  bool enable_align_depth_to_color) const = 0;
35 };
36 
37 } // namespace io
38 } // namespace open3d
Definition: RGBDSensor.h:22
virtual std::shared_ptr< geometry::RGBDImage > CaptureFrame(bool enable_align_depth_to_color) const =0
virtual bool Connect(size_t sensor_index)=0
virtual ~RGBDSensor()
Definition: RGBDSensor.h:26
RGBDSensor()
Definition: RGBDSensor.h:24
Definition: PinholeCameraIntrinsic.cpp:16