Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::DepthMeter Struct Reference

Component: The world->depth map scaling factor. More...

#include <rerun/components/depth_meter.hpp>

Public Member Functions

 DepthMeter (rerun::datatypes::Float32 value_)
 
DepthMeteroperator= (rerun::datatypes::Float32 value_)
 
 DepthMeter (float value_)
 
DepthMeteroperator= (float value_)
 
 operator rerun::datatypes::Float32 () const
 Cast to the underlying Float32 datatype.
 

Public Attributes

rerun::datatypes::Float32 value
 

Detailed Description

Component: The world->depth map scaling factor.

This measures how many depth map units are in a world unit. For instance, if a depth map uses millimeters and the world uses meters, this value would be 1000.

Note that the only effect on 2D views is the physical depth values shown when hovering the image. In 3D views on the other hand, this affects where the points of the point cloud are placed.


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