Open3D (C++ API)  0.18.0+252c867
Public Member Functions | Protected Attributes
open3d::io::AzureKinectRecorder Class Reference

#include <AzureKinectRecorder.h>

Inheritance diagram for open3d::io::AzureKinectRecorder:
open3d::io::RGBDRecorder

Public Member Functions

 AzureKinectRecorder (const AzureKinectSensorConfig &sensor_config, size_t sensor_index)
 
 ~AzureKinectRecorder () override
 
bool InitSensor () override
 Initialize sensor. More...
 
bool OpenRecord (const std::string &filename) override
 
bool CloseRecord () override
 Close the recorded mkv file. More...
 
std::shared_ptr< geometry::RGBDImageRecordFrame (bool write, bool enable_align_depth_to_color) override
 
bool IsRecordCreated ()
 Check if the mkv file is created. More...
 
- Public Member Functions inherited from open3d::io::RGBDRecorder
 RGBDRecorder ()
 
virtual ~RGBDRecorder ()
 

Protected Attributes

AzureKinectSensor sensor_
 
_k4a_record_t * recording_
 
size_t device_index_
 
bool is_record_created_ = false
 

Detailed Description

AzureKinect recorder.

Constructor & Destructor Documentation

◆ AzureKinectRecorder()

open3d::io::AzureKinectRecorder::AzureKinectRecorder ( const AzureKinectSensorConfig sensor_config,
size_t  sensor_index 
)

◆ ~AzureKinectRecorder()

open3d::io::AzureKinectRecorder::~AzureKinectRecorder ( )
override

Member Function Documentation

◆ CloseRecord()

bool open3d::io::AzureKinectRecorder::CloseRecord ( )
overridevirtual

Close the recorded mkv file.

Implements open3d::io::RGBDRecorder.

◆ InitSensor()

bool open3d::io::AzureKinectRecorder::InitSensor ( )
overridevirtual

Initialize sensor.

Implements open3d::io::RGBDRecorder.

◆ IsRecordCreated()

bool open3d::io::AzureKinectRecorder::IsRecordCreated ( )
inline

Check if the mkv file is created.

◆ OpenRecord()

bool open3d::io::AzureKinectRecorder::OpenRecord ( const std::string &  filename)
overridevirtual

Attempt to create and open an mkv file.

Parameters
filenamePath to the mkv file.

Implements open3d::io::RGBDRecorder.

◆ RecordFrame()

std::shared_ptr< geometry::RGBDImage > open3d::io::AzureKinectRecorder::RecordFrame ( bool  write,
bool  enable_align_depth_to_color 
)
overridevirtual

Record a frame to mkv if flag is on and return an RGBD object.

Parameters
writeEnable recording to mkv file.
enable_align_depth_to_colorEnable aligning WFOV depth image to the color image in visualizer.

Implements open3d::io::RGBDRecorder.

Field Documentation

◆ device_index_

size_t open3d::io::AzureKinectRecorder::device_index_
protected

◆ is_record_created_

bool open3d::io::AzureKinectRecorder::is_record_created_ = false
protected

◆ recording_

_k4a_record_t* open3d::io::AzureKinectRecorder::recording_
protected

◆ sensor_

AzureKinectSensor open3d::io::AzureKinectRecorder::sensor_
protected

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