-
Notifications
You must be signed in to change notification settings - Fork 0
DataskopAR.Entities.Visualizations
Michael Zauchinger edited this page Dec 4, 2023
·
1 revision
DataskopAR.Entities.Visualizations
This abstract base class represents a visualization object in the DataskopAR system. It provides the basic structure and functionality for all visualization objects.
-
Vector3 offset: The offset of the visualization from the ground. -
float scaleFactor: The factor that gets multiplied with the object's default size to scale it. -
TimeSeriesConfig timeSeriesConfiguration: Configuration for the time series data.
-
DataPoint DataPoint: The data point that the visualization is connected to. -
VisualizationOption VisOption: The visualization option selected for this visualization. -
Camera ARCamera: The AR camera used in the visualization. -
bool IsSelected: Indicates whether the visualization is currently selected. -
bool IsSpawned: Indicates whether the visualization has been spawned. -
Transform VisTransform: The transform of the visualization. -
MeasurementType[] AllowedMeasurementTypes: The types of measurements allowed in this visualization. -
Vector3 Offset: The offset of the visualization to the ground. -
float Scale: The factor that gets multiplied with the object's default size.
-
void Start(): Initializes the AR camera. -
void Create(DataPoint dataPoint): Creates a visualization for a given data point. -
void Hover(): Called when the user points the reticule over the visible visualization. -
void Select(): Called when the visualization gets selected. -
void Deselect(): Called when the visualization gets deselected. -
void Despawn(): Called before the visualization is removed. -
void OnTimeSeriesToggled(bool isActive): Called when the time view gets toggled. -
void OnMeasurementResultsUpdated(): Called when the measurement results are updated. -
void OnMeasurementResultChanged(MeasurementResult mr): Called when a measurement result changes. -
void ApplyStyle(): Applies the style to the visualization. -
void Swiped(Swipe swipe): Handles swipe gestures on the visualization.
-
Action SwipedUp: Event triggered when the visualization is swiped up. -
Action SwipedDown: Event triggered when the visualization is swiped down.