ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::io::RGBDRecorder Class Referenceabstract

#include <RGBDRecorder.h>

Inheritance diagram for cloudViewer::io::RGBDRecorder:

Public Member Functions

 RGBDRecorder ()
 
virtual ~RGBDRecorder ()
 
virtual bool InitSensor ()=0
 Init recorder, connect to sensor. More...
 
virtual bool OpenRecord (const std::string &filename)=0
 Create recording file. More...
 
virtual std::shared_ptr< geometry::RGBDImageRecordFrame (bool write, bool enable_align_depth_to_color)=0
 
virtual bool CloseRecord ()=0
 Flush data to recording file and disconnect from sensor. More...
 

Detailed Description

Definition at line 17 of file RGBDRecorder.h.

Constructor & Destructor Documentation

◆ RGBDRecorder()

cloudViewer::io::RGBDRecorder::RGBDRecorder ( )
inline

Definition at line 19 of file RGBDRecorder.h.

◆ ~RGBDRecorder()

virtual cloudViewer::io::RGBDRecorder::~RGBDRecorder ( )
inlinevirtual

Definition at line 20 of file RGBDRecorder.h.

Member Function Documentation

◆ CloseRecord()

virtual bool cloudViewer::io::RGBDRecorder::CloseRecord ( )
pure virtual

Flush data to recording file and disconnect from sensor.

Implemented in cloudViewer::io::AzureKinectRecorder.

◆ InitSensor()

virtual bool cloudViewer::io::RGBDRecorder::InitSensor ( )
pure virtual

Init recorder, connect to sensor.

Implemented in cloudViewer::io::AzureKinectRecorder.

◆ OpenRecord()

virtual bool cloudViewer::io::RGBDRecorder::OpenRecord ( const std::string &  filename)
pure virtual

Create recording file.

Implemented in cloudViewer::io::AzureKinectRecorder.

◆ RecordFrame()

virtual std::shared_ptr<geometry::RGBDImage> cloudViewer::io::RGBDRecorder::RecordFrame ( bool  write,
bool  enable_align_depth_to_color 
)
pure virtual

Record one frame, return an RGBDImage. If write is true, the RGBDImage frame will be written to file. If enable_align_depth_to_color is true, the depth image will be warped to align with the color image; otherwise the raw depth image output will be saved. Setting enable_align_depth_to_color to false is useful when recording at high resolution with high frame rates. In this case, the depth image must be warped to align with the color image with when reading from the recorded file.

Implemented in cloudViewer::io::AzureKinectRecorder.


The documentation for this class was generated from the following file: