Open3D (C++ API)  0.11.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
open3d::io::AzureKinectSensor Class Reference

#include <AzureKinectSensor.h>

Inheritance diagram for open3d::io::AzureKinectSensor:
open3d::io::RGBDSensor

Public Member Functions

 AzureKinectSensor (const AzureKinectSensorConfig &sensor_config)
 Default Constructor. More...
 
 ~AzureKinectSensor ()
 
bool Connect (size_t sensor_index) override
 
std::shared_ptr< geometry::RGBDImageCaptureFrame (bool enable_align_depth_to_color) const override
 
- Public Member Functions inherited from open3d::io::RGBDSensor
 RGBDSensor ()
 
virtual ~RGBDSensor ()
 

Static Public Member Functions

static bool PrintFirmware (_k4a_device_t *device)
 
static bool ListDevices ()
 List available Azure Kinect devices. More...
 
static std::shared_ptr< geometry::RGBDImageDecompressCapture (_k4a_capture_t *capture, _k4a_transformation_t *transformation)
 

Protected Member Functions

_k4a_capture_t * CaptureRawFrame () const
 

Protected Attributes

AzureKinectSensorConfig sensor_config_
 
_k4a_transformation_t * transform_depth_to_color_
 
_k4a_device_t * device_
 
int timeout_
 

Friends

class AzureKinectRecorder
 

Detailed Description

AzureKinect sensor.

Constructor & Destructor Documentation

◆ AzureKinectSensor()

open3d::io::AzureKinectSensor::AzureKinectSensor ( const AzureKinectSensorConfig sensor_config)

Default Constructor.

◆ ~AzureKinectSensor()

open3d::io::AzureKinectSensor::~AzureKinectSensor ( )

Member Function Documentation

◆ CaptureFrame()

std::shared_ptr< geometry::RGBDImage > open3d::io::AzureKinectSensor::CaptureFrame ( bool  enable_align_depth_to_color) const
overridevirtual

Capture one frame, return an RGBDImage. If

Parameters
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 capturing at high resolution with high frame rates.

Implements open3d::io::RGBDSensor.

◆ CaptureRawFrame()

k4a_capture_t open3d::io::AzureKinectSensor::CaptureRawFrame ( ) const
protected

◆ Connect()

bool open3d::io::AzureKinectSensor::Connect ( size_t  sensor_index)
overridevirtual

◆ DecompressCapture()

std::shared_ptr< geometry::RGBDImage > open3d::io::AzureKinectSensor::DecompressCapture ( _k4a_capture_t *  capture,
_k4a_transformation_t *  transformation 
)
static

◆ ListDevices()

bool open3d::io::AzureKinectSensor::ListDevices ( )
static

List available Azure Kinect devices.

◆ PrintFirmware()

bool open3d::io::AzureKinectSensor::PrintFirmware ( _k4a_device_t *  device)
static

Friends And Related Function Documentation

◆ AzureKinectRecorder

friend class AzureKinectRecorder
friend

Field Documentation

◆ device_

_k4a_device_t* open3d::io::AzureKinectSensor::device_
protected

◆ sensor_config_

AzureKinectSensorConfig open3d::io::AzureKinectSensor::sensor_config_
protected

◆ timeout_

int open3d::io::AzureKinectSensor::timeout_
protected

◆ transform_depth_to_color_

_k4a_transformation_t* open3d::io::AzureKinectSensor::transform_depth_to_color_
protected

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