Namespace UnityEngine.Perception.GroundTruth.DataModel
Classes
Annotation
Abstract class that holds the common data found in all annotations. Concrete instances of this class will add data for their specific annotation type.
AnnotationDefinition
An annotation definition describes a particular type of annotation and contains an annotation-specific specification describing how annotation data should be mapped back to labels or objects in the scene.
Typically, this specification describes all labels_id and label_name used by the annotation. Some special cases like semantic segmentation might assign additional values (e.g. pixel value) to record the mapping between label_id/label_name and pixel color in the annotated PNG files.
DataModelElement
Parent class for all data model objects. IMessageProducer
Frame
The top level structure that holds all of the artifacts of a simulation frame. This is only reported after all of the captures, annotations, and metrics are ready to report for a single frame.
GenericMetric
General metric class used to record simulation metrics. This class can report values of many primitive types along with any struct/class implementing the IMessageProducer interface. For most use cases, using this class will be suitable for metric reporting.
MessageBuilderUtils
Helper class that converts from common data types into message builder types.
Metadata
Metadata.
Metric
Abstract class that holds the common data found in all metrics. Concrete instances of this class will add data for their specific metric type.
MetricDefinition
The metric definition holds of the associated metadata for a metric.
RgbSensor
The concrete class for an RGB sensor.
RgbSensorDefinition
Definition of an RGB Camera sensor.
Sensor
Abstract sensor class that holds all of the common information for a sensor.
SensorDefinition
Definition class for sensors. UnityEngine.Perception.GroundTruth.DataModel
SimulationMetadata
TensorBuilder
Utility class to build tensors out of some common data types
Structs
Tensor
Data structure to hold Tensor values.
Interfaces
IMessageBuilder
Interface for a message builder class. A message builder is used to convert data inherited from IMessageProducer and convert it to a message.
IMessageProducer
Interface for classes that can write their contents to a IMessageBuilder
Enums
CaptureTriggerMode
Capture trigger modes for sensors.
RgbSensor.ImageProjection
The supported image projections
Tensor.ElementType
Data type of the tensor value