Open3D (C++ API)
0.19.0
Toggle main menu visibility
Loading...
Searching...
No Matches
cpp
open3d
io
sensor
RGBDRecorder.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.open3d.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include "
open3d/geometry/RGBDImage.h
"
11
#include "
open3d/io/sensor/RGBDSensorConfig.h
"
12
13
namespace
open3d
{
14
namespace
io
{
15
16
class
RGBDRecorder
{
17
public
:
18
RGBDRecorder
() {}
19
virtual
~RGBDRecorder
() {}
20
22
virtual
bool
InitSensor
() = 0;
23
25
virtual
bool
OpenRecord
(
const
std::string &filename) = 0;
26
35
virtual
std::shared_ptr<geometry::RGBDImage>
RecordFrame
(
36
bool
write,
bool
enable_align_depth_to_color) = 0;
37
39
virtual
bool
CloseRecord
() = 0;
40
};
41
42
}
// namespace io
43
}
// namespace open3d
RGBDSensorConfig.h
open3d::io::RGBDRecorder::RecordFrame
virtual std::shared_ptr< geometry::RGBDImage > RecordFrame(bool write, bool enable_align_depth_to_color)=0
open3d::io::RGBDRecorder::RGBDRecorder
RGBDRecorder()
Definition
RGBDRecorder.h:18
open3d::io::RGBDRecorder::CloseRecord
virtual bool CloseRecord()=0
Flush data to recording file and disconnect from sensor.
open3d::io::RGBDRecorder::InitSensor
virtual bool InitSensor()=0
Init recorder, connect to sensor.
open3d::io::RGBDRecorder::OpenRecord
virtual bool OpenRecord(const std::string &filename)=0
Create recording file.
open3d::io::RGBDRecorder::~RGBDRecorder
virtual ~RGBDRecorder()
Definition
RGBDRecorder.h:19
RGBDImage.h
open3d::io
Definition
FeatureIO.cpp:14
open3d
Definition
PinholeCameraIntrinsic.cpp:16
Generated by
1.17.0