Rerun C++ SDK
|
Component: Pixel resolution width & height, e.g. More...
#include <rerun/components/resolution.hpp>
Public Member Functions | |
Resolution (float width, float height) | |
Construct resolution from width and height floats. | |
Resolution (int width, int height) | |
Construct resolution from width and height integers. | |
Resolution (rerun::datatypes::Vec2D resolution_) | |
Resolution & | operator= (rerun::datatypes::Vec2D resolution_) |
Resolution (std::array< float, 2 > xy_) | |
Resolution & | operator= (std::array< float, 2 > xy_) |
operator rerun::datatypes::Vec2D () const | |
Cast to the underlying Vec2D datatype. | |
Public Attributes | |
rerun::datatypes::Vec2D | resolution |
Static Public Attributes | |
static RERUN_SDK_EXPORT const Resolution | IDENTITY |
Component: Pixel resolution width & height, e.g.
of a camera sensor.
Typically in integer units, but for some use cases floating point may be used.