Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
librealsense::depth_frame Class Reference

#include <archive.h>

Inheritance diagram for librealsense::depth_frame:
Inheritance graph
[legend]

Public Member Functions

 depth_frame ()
 
float get_distance (int x, int y) const
 
float get_units () const
 
void keep () override
 
frame_interfacepublish (std::shared_ptr< archive_interface > new_owner) override
 
void set_original (frame_holder h)
 
- Public Member Functions inherited from librealsense::video_frame
void assign (int width, int height, int stride, int bpp)
 
int get_bpp () const
 
int get_height () const
 
int get_stride () const
 
int get_width () const
 
 video_frame ()
 
- Public Member Functions inherited from librealsense::frame
void acquire () override
 
void attach_continuation (frame_continuation &&continuation) override
 
void disable_continuation () override
 
 frame ()
 
 frame (const frame &r)=delete
 
 frame (frame &&r)
 
rs2_time_t get_frame_callback_start_time_point () const override
 
const byteget_frame_data () const override
 
int get_frame_data_size () const override
 
rs2_metadata_type get_frame_metadata (const rs2_frame_metadata_value &frame_metadata) const override
 
unsigned long long get_frame_number () const override
 
rs2_time_t get_frame_system_time () const override
 
rs2_time_t get_frame_timestamp () const override
 
rs2_timestamp_domain get_frame_timestamp_domain () const override
 
archive_interfaceget_owner () const override
 
std::shared_ptr< sensor_interfaceget_sensor () const override
 
std::shared_ptr< stream_profile_interfaceget_stream () const override
 
bool is_blocking () const override
 
bool is_fixed () const override
 
void log_callback_end (rs2_time_t timestamp) const override
 
void log_callback_start (rs2_time_t timestamp) override
 
void mark_fixed () override
 
frameoperator= (const frame &r)=delete
 
frameoperator= (frame &&r)
 
void release () override
 
void set_blocking (bool state) override
 
void set_sensor (std::shared_ptr< sensor_interface > s) override
 
void set_stream (std::shared_ptr< stream_profile_interface > sp) override
 
void set_timestamp (double new_ts) override
 
void set_timestamp_domain (rs2_timestamp_domain timestamp_domain) override
 
bool supports_frame_metadata (const rs2_frame_metadata_value &frame_metadata) const override
 
void unpublish () override
 
void update_frame_callback_start_ts (rs2_time_t ts) override
 
virtual ~frame ()
 
- Public Member Functions inherited from librealsense::frame_interface
virtual ~frame_interface ()=default
 
- Public Member Functions inherited from librealsense::sensor_part
virtual ~sensor_part ()=default
 

Static Protected Member Functions

static float query_units (const std::shared_ptr< sensor_interface > &sensor)
 

Protected Attributes

optional_value< float > _depth_units
 
frame_holder _original
 

Additional Inherited Members

- Public Attributes inherited from librealsense::frame
frame_additional_data additional_data
 
std::vector< bytedata
 
std::shared_ptr< metadata_parser_mapmetadata_parsers = nullptr
 

Detailed Description

Definition at line 298 of file archive.h.

Constructor & Destructor Documentation

librealsense::depth_frame::depth_frame ( )
inline

Definition at line 301 of file archive.h.

Member Function Documentation

float librealsense::depth_frame::get_distance ( int  x,
int  y 
) const
inline

Definition at line 317 of file archive.h.

float librealsense::depth_frame::get_units ( ) const
inline

Definition at line 337 of file archive.h.

void librealsense::depth_frame::keep ( )
inlineoverridevirtual

Reimplemented from librealsense::frame.

Definition at line 311 of file archive.h.

frame_interface* librealsense::depth_frame::publish ( std::shared_ptr< archive_interface new_owner)
inlineoverridevirtual

Reimplemented from librealsense::frame.

Reimplemented in librealsense::gl::gpu_addon< depth_frame >.

Definition at line 305 of file archive.h.

static float librealsense::depth_frame::query_units ( const std::shared_ptr< sensor_interface > &  sensor)
inlinestaticprotected

Definition at line 356 of file archive.h.

void librealsense::depth_frame::set_original ( frame_holder  h)
inline

Definition at line 344 of file archive.h.

Member Data Documentation

optional_value<float> librealsense::depth_frame::_depth_units
mutableprotected

Definition at line 395 of file archive.h.

frame_holder librealsense::depth_frame::_original
protected

Definition at line 394 of file archive.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37