Static Public Member Functions | List of all members
how_to Class Reference

#include <api_how_to.h>

Static Public Member Functions

static void change_sensor_option (const rs2::sensor &sensor, rs2_option option_type)
 
static rs2::stream_profile choose_a_streaming_profile (const rs2::sensor &sensor)
 
static rs2::device get_a_realsense_device ()
 
static rs2::sensor get_a_sensor_from_a_device (const rs2::device &dev)
 
static float get_depth_units (const rs2::sensor &sensor)
 
static std::string get_device_name (const rs2::device &dev)
 
static void get_extrinsics (const rs2::stream_profile &from_stream, const rs2::stream_profile &to_stream)
 
static void get_field_of_view (const rs2::stream_profile &stream)
 
static std::string get_sensor_name (const rs2::sensor &sensor)
 
static rs2_option get_sensor_option (const rs2::sensor &sensor)
 
static void print_device_information (const rs2::device &dev)
 
static void start_streaming_a_profile (const rs2::sensor &sensor, const rs2::stream_profile &stream_profile)
 

Detailed Description

The how_to class provides several functions for common usages of the sensor API

Definition at line 19 of file api_how_to.h.

Member Function Documentation

static void how_to::change_sensor_option ( const rs2::sensor sensor,
rs2_option  option_type 
)
inlinestatic

Definition at line 296 of file api_how_to.h.

static rs2::stream_profile how_to::choose_a_streaming_profile ( const rs2::sensor sensor)
inlinestatic

Definition at line 349 of file api_how_to.h.

static rs2::device how_to::get_a_realsense_device ( )
inlinestatic

Definition at line 22 of file api_how_to.h.

static rs2::sensor how_to::get_a_sensor_from_a_device ( const rs2::device dev)
inlinestatic

Definition at line 118 of file api_how_to.h.

static float how_to::get_depth_units ( const rs2::sensor sensor)
inlinestatic

Definition at line 193 of file api_how_to.h.

static std::string how_to::get_device_name ( const rs2::device dev)
inlinestatic

Definition at line 94 of file api_how_to.h.

static void how_to::get_extrinsics ( const rs2::stream_profile from_stream,
const rs2::stream_profile to_stream 
)
inlinestatic

Definition at line 277 of file api_how_to.h.

static void how_to::get_field_of_view ( const rs2::stream_profile stream)
inlinestatic

Definition at line 209 of file api_how_to.h.

static std::string how_to::get_sensor_name ( const rs2::sensor sensor)
inlinestatic

Definition at line 109 of file api_how_to.h.

static rs2_option how_to::get_sensor_option ( const rs2::sensor sensor)
inlinestatic

Definition at line 147 of file api_how_to.h.

static void how_to::print_device_information ( const rs2::device dev)
inlinestatic

Definition at line 71 of file api_how_to.h.

static void how_to::start_streaming_a_profile ( const rs2::sensor sensor,
const rs2::stream_profile stream_profile 
)
inlinestatic

Definition at line 442 of file api_how_to.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:32