Class depth_sensor

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class depth_sensor : public rs2::sensor

Subclassed by rs2::depth_stereo_sensor

Public Functions

inline depth_sensor(sensor s)
inline float get_depth_scale() const

Retrieves mapping between the units of the depth image and meters

Returns:

depth in meters corresponding to a depth value of 1

inline operator bool() const
inline explicit depth_sensor(std::shared_ptr<rs2_sensor> dev)