Open3D (C++ API)
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
 Init recorder, connect to sensor. More...
 
bool OpenRecord (const std::string &filename) override
 Create recording file. More...
 
bool CloseRecord () override
 Flush data to recording file and disconnect from sensor. More...
 
std::shared_ptr< geometry::RGBDImageRecordFrame (bool write, bool enable_align_depth_to_color) override
 
bool IsRecordCreated ()
 
- 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
 

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

Flush data to recording file and disconnect from sensor.

Implements open3d::io::RGBDRecorder.

◆ InitSensor()

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

Init recorder, connect to sensor.

Implements open3d::io::RGBDRecorder.

◆ IsRecordCreated()

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

◆ OpenRecord()

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

Create recording 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 one frame, return an RGBDImage. If

Parameters
writeis true, the RGBDImage frame will be written to file. If
enable_align_depth_to_coloris 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_colorto 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.

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: