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/recording_stream.hpp"
16#include "rerun/result.hpp"
17#include "rerun/sdk_info.hpp"
18#include "rerun/spawn.hpp"
19
20/// All Rerun C++ types and functions are in the `rerun` namespace or one of its nested namespaces.
21namespace rerun {
22 /// When an external [`DataLoader`] is asked to load some data that it doesn't know how to load, it
23 /// should exit with this exit code.
24 // NOTE: Always keep in sync with other languages.
26
27 // Archetypes are the quick-and-easy default way of logging data to Rerun.
28 // Make them available in the rerun namespace.
29 using namespace archetypes;
30
31 // Also import any component or datatype that has a unique name:
43 using components::Text;
48
49 using datatypes::Angle;
65 using datatypes::Vec2D;
66 using datatypes::Vec3D;
67 using datatypes::Vec4D;
68
69 // Document namespaces that span several files:
70
71 /// All built-in archetypes. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
72 namespace archetypes {}
73
74 /// All built-in components. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
75 namespace components {}
76
77 /// All built-in datatypes. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
78 namespace datatypes {}
79
80 /// All blueprint types. This is still experimental and subject to change!
81 namespace blueprint {}
82} // namespace rerun
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:21
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:25
Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
Definition color.hpp:17
Component: Half-sizes (extents) of a 2D box along its local axis, starting at its local origin/center...
Definition half_sizes2d.hpp:18
Component: Half-sizes (extents) of a 3D box along its local axis, starting at its local origin/center...
Definition half_sizes3d.hpp:18
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: Material properties of a mesh.
Definition material.hpp:16
Component: A standardized media type (RFC2046, formerly known as MIME types), encoded as a utf8 strin...
Definition media_type.hpp:19
Component: An out-of-tree affine transform between two 3D spaces, represented in a given direction.
Definition out_of_tree_transform3d.hpp:16
Component: A position in 2D space.
Definition position2d.hpp:15
Component: A position in 3D space.
Definition position3d.hpp:15
Component: A Radius component.
Definition radius.hpp:24
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 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 either radians or degrees.
Definition angle.hpp:57
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 single-precision 32-bit IEEE 754 floating point number.
Definition float32.hpp:24
Datatype: A connection between two Keypoints.
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: A 3D rotation.
Definition rotation3d.hpp:60
Datatype: 3D rotation represented by a rotation around a given axis.
Definition rotation_axis_angle.hpp:21
Datatype: 3D scaling factor, part of a transform representation.
Definition scale3d.hpp:58
Datatype: The underlying storage for a Tensor.
Definition tensor_buffer.hpp:114
Datatype: A multi-dimensional Tensor of data.
Definition tensor_data.hpp:34
Datatype: A single dimension within a multi-dimensional tensor.
Definition tensor_dimension.hpp:21
Datatype: Representation of an affine transform via a 3x3 affine matrix paired with a translation.
Definition translation_and_mat3x3.hpp:25
Datatype: Representation of an affine transform via separate translation, rotation & scale.
Definition translation_rotation_scale3d.hpp:25
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