ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
RGBDSensor.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include <memory>
11
12
#include "
io/sensor/RGBDSensorConfig.h
"
13
14
namespace
cloudViewer
{
15
16
namespace
geometry {
17
class
RGBDImage;
18
};
19
20
namespace
io {
21
22
class
RGBDSensor
{
23
public
:
24
RGBDSensor
() {}
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 cloudViewer
RGBDSensorConfig.h
cloudViewer::io::RGBDSensor
Definition:
RGBDSensor.h:22
cloudViewer::io::RGBDSensor::CaptureFrame
virtual std::shared_ptr< geometry::RGBDImage > CaptureFrame(bool enable_align_depth_to_color) const =0
cloudViewer::io::RGBDSensor::~RGBDSensor
virtual ~RGBDSensor()
Definition:
RGBDSensor.h:26
cloudViewer::io::RGBDSensor::RGBDSensor
RGBDSensor()
Definition:
RGBDSensor.h:24
cloudViewer::io::RGBDSensor::Connect
virtual bool Connect(size_t sensor_index)=0
cloudViewer
Generic file read and write utility for python interface.
Definition:
AutoSegmentationTools.h:16
libs
cloudViewer
io
sensor
RGBDSensor.h
Generated on Wed Jan 28 2026 09:00:55 for ACloudViewer by
1.9.1