Public Member Functions | List of all members
rs2::depth_sensor Class Reference

#include <rs_sensor.hpp>

Inheritance diagram for rs2::depth_sensor:
Inheritance graph

Public Member Functions

 depth_sensor (sensor s)
 depth_sensor (std::shared_ptr< rs2_sensor > dev)
float get_depth_scale () const
 operator bool () const
- Public Member Functions inherited from rs2::sensor
template<class T >
as () const
void close () const
const std::shared_ptr< rs2_sensor > & get () const
std::vector< stream_profileget_active_streams () const
const char * get_info (rs2_camera_info info) const
std::vector< filterget_recommended_filters () const
std::vector< stream_profileget_stream_profiles () const
template<class T >
bool is () const
void open (const stream_profile &profile) const
void open (const std::vector< stream_profile > &profiles) const
 operator bool () const
 operator std::shared_ptr< rs2_sensor > ()
sensoroperator= (const std::shared_ptr< rs2_sensor > other)
sensoroperator= (const sensor &other)
 sensor ()
 sensor (std::shared_ptr< rs2_sensor > dev)
template<class T >
void set_notifications_callback (T callback) const
template<class T >
void start (T callback) const
void stop () const
bool supports (rs2_camera_info info) const
- Public Member Functions inherited from rs2::options
float get_option (rs2_option option) const
const char * get_option_description (rs2_option option) const
const char * get_option_name (rs2_option option) const
option_range get_option_range (rs2_option option) const
const char * get_option_value_description (rs2_option option, float val) const
std::vector< rs2_optionget_supported_options ()
bool is_option_read_only (rs2_option option) const
optionsoperator= (const options &other)
 options (const options &other)
void set_option (rs2_option option, float value) const
bool supports (rs2_option option) const
virtual ~options ()=default

Additional Inherited Members

- Protected Member Functions inherited from rs2::options
template<class T >
optionsoperator= (const T &dev)
 options (rs2_options *o=nullptr)
- Protected Attributes inherited from rs2::sensor
std::shared_ptr< rs2_sensor_sensor
friend context
friend device
friend device_base
friend device_list
friend roi_sensor

Detailed Description

Definition at line 454 of file rs_sensor.hpp.

Constructor & Destructor Documentation

rs2::depth_sensor::depth_sensor ( sensor  s)

Definition at line 457 of file rs_sensor.hpp.

rs2::depth_sensor::depth_sensor ( std::shared_ptr< rs2_sensor dev)

Definition at line 480 of file rs_sensor.hpp.

Member Function Documentation

float rs2::depth_sensor::get_depth_scale ( ) const

Retrieves mapping between the units of the depth image and meters

depth in meters corresponding to a depth value of 1

Definition at line 471 of file rs_sensor.hpp.

rs2::depth_sensor::operator bool ( ) const

Definition at line 479 of file rs_sensor.hpp.

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

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