The Viewer.
ID for this Plugin, unique within its Viewer.
The Viewer that contains this Plugin.
Gets the {@link DistanceMeasurementsControl}, which creates {@link DistanceMeasurement}s from user input.
Gets the minimum length, in pixels, of an axis wire beyond which its label is shown.
The axis wire's label is not shown when its length is less than this value.
This is 25 pixels by default.
Must not be less than 1.
Sets the minimum length, in pixels, of an axis wire beyond which its label is shown.
The axis wire's label is not shown when its length is less than this value.
This is 25 pixels by default.
Must not be less than 1.
Gets the existing {@link DistanceMeasurement}s, each mapped to its {@link DistanceMeasurement.id}.
Destroys all {@link DistanceMeasurement}s.
Creates a {@link DistanceMeasurement}.
The DistanceMeasurement is then registered by {@link DistanceMeasurement.id} in DistanceMeasurementsPlugin.measurements.
{@link DistanceMeasurement} configuration.
Unique ID to assign to {@link DistanceMeasurement.id}. The DistanceMeasurement will be registered by this in DistanceMeasurementsPlugin.measurements and {@link Scene.components}. Must be unique among all components in the Viewer.
The new {@link DistanceMeasurement}.
Destroys this Plugin and removes it from its Viewer.
Destroys a {@link DistanceMeasurement}.
ID of DistanceMeasurement to destroy.
Logs an error message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Fires an event at this Plugin.
The event type name
The event parameters
Logs a message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Fires when a measurement is created.
The measurementCreated event
Callback fired on the event
Fires when a measurement is destroyed.
The measurementDestroyed event
Callback fired on the event
Logs a warning message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Generated using TypeDoc
Viewer plugin for measuring point-to-point distances.