Expand description
Components are the basic building blocks of archetypes
.
They all implement the Component
trait.
Each component is a wrapper around a datatype
.
Structs§
- Albedo
Factor - Component: A color multiplier, usually applied to a whole entity, e.g. a mesh.
- Annotation
Context - Component: The annotation context provides additional information on how to display entities.
- Axis
Length - Component: The length of an axis in local units of the space.
- Blob
- Component: A binary blob of data.
- ClassId
- Component: A 16-bit ID representing a type of semantic class.
- Clear
IsRecursive - Component: Configures how a clear operation should behave - recursive or not.
- Color
- Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
- Depth
Meter - Component: The world->depth map scaling factor.
- Draw
Order - Component: Draw order of 2D elements. Higher values are drawn on top of lower values.
- Entity
Path - Component: A path to an entity, usually to reference some data that is part of the target entity.
- Fill
Ratio - Component: How much a primitive fills out the available space.
- Gamma
Correction - Component: A gamma correction value to be used with a scalar value or color.
- GeoLine
String - Component: A geospatial line string expressed in EPSG:4326 latitude and longitude (North/East-positive degrees).
- Graph
Edge - Component: An edge in a graph connecting two nodes.
- Graph
Node - Component: A string-based ID representing a node in a graph.
- Half
Size2D - Component: Half-size (radius) of a 2D box.
- Half
Size3D - Component: Half-size (radius) of a 3D box.
- Image
Buffer - Component: A buffer that is known to store image data.
- Image
Format - Component: The metadata describing the contents of a
components::ImageBuffer
. - Image
Plane Distance - Component: The distance from the camera origin to the image plane when the projection is shown in a 3D viewer.
- Interactive
- Component: Whether the entity can be interacted with.
- Keypoint
Id - Component: A 16-bit ID representing a type of semantic keypoint within a class.
- LatLon
- Component: A geospatial position expressed in EPSG:4326 latitude and longitude (North/East-positive degrees).
- Length
- Component: Length, or one-dimensional size.
- Line
Strip2D - Component: A line strip in 2D space.
- Line
Strip3D - Component: A line strip in 3D space.
- Marker
Size - Component: Radius of a marker of a point in e.g. a 2D plot, measured in UI points.
- Media
Type - Component: A standardized media type (RFC2046, formerly known as MIME types), encoded as a string.
- Name
- Component: A display name, typically for an entity or a item like a plot series.
- Opacity
- Component: Degree of transparency ranging from 0.0 (fully transparent) to 1.0 (fully opaque).
- Pinhole
Projection - Component: Camera projection, from image coordinates to view coordinates.
- Plane3D
- Component: An infinite 3D plane represented by a unit normal vector and a distance.
- Pose
Rotation Axis Angle - Component: 3D rotation represented by a rotation around a given axis that doesn’t propagate in the transform hierarchy.
- Pose
Rotation Quat - Component: A 3D rotation expressed as a quaternion that doesn’t propagate in the transform hierarchy.
- Pose
Scale3D - Component: A 3D scale factor that doesn’t propagate in the transform hierarchy.
- Pose
Transform Mat3x3 - Component: A 3x3 transformation matrix Matrix that doesn’t propagate in the transform hierarchy.
- Pose
Translation3D - Component: A translation vector in 3D space that doesn’t propagate in the transform hierarchy.
- Position2D
- Component: A position in 2D space.
- Position3D
- Component: A position in 3D space.
- Radius
- Component: The radius of something, e.g. a point.
- Range1D
- Component: A 1D range, specifying a lower and upper bound.
- Resolution
- Component: Pixel resolution width & height, e.g. of a camera sensor.
- Rotation
Axis Angle - Component: 3D rotation represented by a rotation around a given axis.
- Rotation
Quat - Component: A 3D rotation expressed as a quaternion.
- Scalar
- Component: A scalar value, encoded as a 64-bit floating point.
- Scale3D
- Component: A 3D scale factor.
- Series
Visible - Component: Like
components::Visible
, but for time series. - Show
Labels - Component: Whether the entity’s
components::Text
label is shown. - Stroke
Width - Component: The width of a stroke specified in UI points.
- Tensor
Data - Component: An N-dimensional array of numbers.
- Tensor
Dimension Index Selection - Component: Specifies a concrete index on a tensor dimension.
- Tensor
Height Dimension - Component: Specifies which dimension to use for height.
- Tensor
Width Dimension - Component: Specifies which dimension to use for width.
- Texcoord2D
- Component: A 2D texture UV coordinate.
- Text
- Component: A string of text, e.g. for labels and text documents.
- Text
LogLevel - Component: The severity level of a text log message.
- Timestamp
- Component: When the recording started.
- Transform
Mat3x3 - Component: A 3x3 transformation matrix Matrix.
- Translation3D
- Component: A translation vector in 3D space.
- Triangle
Indices - Component: The three indices of a triangle in a triangle mesh.
- Value
Range - Component: Range of expected or valid values, specifying a lower and upper bound.
- Vector2D
- Component: A vector in 2D space.
- Vector3D
- Component: A vector in 3D space.
- Video
Timestamp - Component: Timestamp inside a
archetypes::AssetVideo
. - View
Coordinates - Component: How we interpret the coordinate system of an entity/space.
- Visible
- Component: Whether the container, view, entity or instance is currently visible.
Enums§
- Aggregation
Policy - Component: Policy for aggregation of multiple scalar plot values.
- Colormap
- Component: Colormap for mapping scalar values within a given range to a color.
- Fill
Mode - Component: How a geometric shape is drawn and colored.
- Graph
Type - Component: Specifies if a graph has directed or undirected edges.
- Magnification
Filter - Component: Filter used when magnifying an image/texture such that a single pixel/texel is displayed as multiple pixels on screen.
- Marker
Shape - Component: The visual appearance of a point in e.g. a 2D plot.
- Transform
Relation - Component: Specifies relation a spatial transform describes.