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/error.hpp"
14#include "rerun/recording_stream.hpp"
15#include "rerun/result.hpp"
16#include "rerun/sdk_info.hpp"
17#include "rerun/spawn.hpp"
18
19/// All Rerun C++ types and functions are in the `rerun` namespace or one of its nested namespaces.
20namespace rerun {
21 // Archetypes are the quick-and-easy default way of logging data to Rerun.
22 // Make them available in the rerun namespace.
23 using namespace archetypes;
24
25 // Also import any component or datatype that has a unique name:
39 using components::Text;
42
43 using datatypes::Angle;
59 using datatypes::Vec2D;
60 using datatypes::Vec3D;
61 using datatypes::Vec4D;
62
63 // Document namespaces that span several files:
64
65 /// All built-in archetypes. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
66 namespace archetypes {}
67
68 /// All built-in components. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
69 namespace components {}
70
71 /// All built-in datatypes. See [Types](https://www.rerun.io/docs/reference/types) in the Rerun manual.
72 namespace datatypes {}
73
74 /// All blueprint types. This is still experimental and subject to change!
75 namespace blueprint {}
76} // namespace rerun
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:20
Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
Definition color.hpp:28
Component: Half-sizes (extents) of a 2D box along its local axis, starting at its local origin/center...
Definition half_sizes2d.hpp:24
Component: Half-sizes (extents) of a 3D box along its local axis, starting at its local origin/center...
Definition half_sizes3d.hpp:24
Component: A unique numeric identifier for each individual instance within a batch.
Definition instance_key.hpp:24
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:22
Component: A standardized media type (RFC2046, formerly known as MIME types), encoded as a utf8 strin...
Definition media_type.hpp:25
Component: Optional triangle indices for a mesh.
Definition mesh_properties.hpp:23
Component: An out-of-tree affine transform between two 3D spaces, represented in a given direction.
Definition out_of_tree_transform3d.hpp:22
Component: A position in 2D space.
Definition position2d.hpp:21
Component: A position in 3D space.
Definition position3d.hpp:21
Component: A Radius component.
Definition radius.hpp:24
Component: The severity level of a text log message.
Definition text_log_level.hpp:30
Component: A string of text, e.g. for labels and text documents.
Definition text.hpp:22
Component: A vector in 3D space.
Definition vector3d.hpp:21
Datatype: Angle in either radians or degrees.
Definition angle.hpp:55
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:30
Datatype: A Quaternion represented by 4 real numbers.
Definition quaternion.hpp:23
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:59
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:93
Datatype: A multi-dimensional Tensor of data.
Definition tensor_data.hpp:29
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:24
Datatype: Representation of an affine transform via separate translation, rotation & scale.
Definition translation_rotation_scale3d.hpp:24
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