Rerun C++ SDK
Loading...
Searching...
No Matches
rerun.hpp
1#pragma once
2
3// Built-in Rerun types (largely generated from an interface definition language)
4#include "rerun/archetypes.hpp"
5#include "rerun/components.hpp"
6#include "rerun/datatypes.hpp"
7
8// Rerun API.
9#include "rerun/collection.hpp"
10#include "rerun/collection_adapter.hpp"
11#include "rerun/collection_adapter_builtins.hpp"
12#include "rerun/config.hpp"
13#include "rerun/entity_path.hpp"
14#include "rerun/error.hpp"
15#include "rerun/image_utils.hpp"
16#include "rerun/recording_stream.hpp"
17#include "rerun/result.hpp"
18#include "rerun/sdk_info.hpp"
19#include "rerun/spawn.hpp"
20
21/// All Rerun C++ types and functions are in the `rerun` namespace or one of its nested namespaces.
22namespace rerun {
23 /// When an external [`DataLoader`] is asked to load some data that it doesn't know how to load, it
24 /// should exit with this exit code.
25 // NOTE: Always keep in sync with other languages.
27
28 // Archetypes are the quick-and-easy default way of logging data to Rerun.
29 // Make them available in the rerun namespace.
30 using namespace archetypes;
31
32 // Also import any component or datatype that has a unique name:
46 using components::Text;
52
53 using datatypes::Angle;
69 using datatypes::Vec2D;
70 using datatypes::Vec3D;
71 using datatypes::Vec4D;
72
73 // Document namespaces that span several files:
74
75 /// All built-in archetypes. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
76 namespace archetypes {}
77
78 /// All built-in components. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
79 namespace components {}
80
81 /// All built-in datatypes. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
82 namespace datatypes {}
83
84 /// All blueprint types. This is still experimental and subject to change!
85 namespace blueprint {}
86} // namespace rerun
TransformRelation
Component: Specifies relation a spatial transform describes.
Definition transform_relation.hpp:24
FillMode
Component: How a geometric shape is drawn and colored.
Definition fill_mode.hpp:24
PixelFormat
Datatype: Specifieds a particular format of an archetypes::Image.
Definition pixel_format.hpp:34
ColorModel
Datatype: Specified what color components are present in an archetypes::Image.
Definition color_model.hpp:26
ChannelDatatype
Datatype: The innermost datatype of an image.
Definition channel_datatype.hpp:26
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:22
const int EXTERNAL_DATA_LOADER_INCOMPATIBLE_EXIT_CODE
When an external [DataLoader] is asked to load some data that it doesn't know how to load,...
Definition rerun.hpp:26
Component: A color multiplier, usually applied to a whole entity, e.g. a mesh.
Definition albedo_factor.hpp:14
Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
Definition color.hpp:17
Component: A geospatial line string expressed in EPSG:4326 latitude and longitude (North/East-positiv...
Definition geo_line_string.hpp:21
Component: Half-size (radius) of a 2D box.
Definition half_size2d.hpp:20
Component: Half-size (radius) of a 3D box.
Definition half_size3d.hpp:20
Component: A geospatial position expressed in EPSG:4326 latitude and longitude (North/East-positive d...
Definition lat_lon.hpp:15
Component: A line strip in 2D space.
Definition line_strip2d.hpp:33
Component: A line strip in 3D space.
Definition line_strip3d.hpp:33
Component: A standardized media type (RFC2046, formerly known as MIME types), encoded as a string.
Definition media_type.hpp:20
Component: A position in 2D space.
Definition position2d.hpp:15
Component: A position in 3D space.
Definition position3d.hpp:15
Component: The radius of something, e.g.
Definition radius.hpp:21
Component: The severity level of a text log message.
Definition text_log_level.hpp:25
Component: A string of text, e.g. for labels and text documents.
Definition text.hpp:16
Component: The three indices of a triangle in a triangle mesh.
Definition triangle_indices.hpp:15
Component: A vector in 2D space.
Definition vector2d.hpp:15
Component: A vector in 3D space.
Definition vector3d.hpp:15
Datatype: Angle in radians.
Definition angle.hpp:24
Datatype: Annotation info annotating a class id or key-point id.
Definition annotation_info.hpp:25
Datatype: The description of a semantic Class.
Definition class_description.hpp:35
Datatype: A double-precision vector in 2D space.
Definition dvec2d.hpp:20
Datatype: A single-precision 32-bit IEEE 754 floating point number.
Definition float32.hpp:24
Datatype: A connection between two datatypes::KeypointIds.
Definition keypoint_pair.hpp:20
Datatype: A 3x3 Matrix.
Definition mat3x3.hpp:31
Datatype: A Quaternion represented by 4 real numbers.
Definition quaternion.hpp:24
Datatype: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
Definition rgba32.hpp:27
Datatype: 3D rotation represented by a rotation around a given axis.
Definition rotation_axis_angle.hpp:21
Datatype: The underlying storage for archetypes::Tensor.
Definition tensor_buffer.hpp:98
Datatype: An N-dimensional array of numbers.
Definition tensor_data.hpp:29
Datatype: A single dimension within a multi-dimensional tensor.
Definition tensor_dimension.hpp:21
Datatype: A vector in 2D space.
Definition vec2d.hpp:20
Datatype: A vector in 3D space.
Definition vec3d.hpp:20
Datatype: A vector in 4D space.
Definition vec4d.hpp:20