Commits the deletion of the measurement currently marked for deletion. Will throw an error if called in an invalid UI state.
Copies the details of the specified measurement to the clipboard in a human-readable format.
Creates a new measurement based on the current draft measurement in the store. Captures a thumbnail snapshot of the current canvas for the measurement. Will throw an error if called in an invalid UI state.
Calculates a lookAt for the given measurement and invokes the provided callback with it.
The ID of the measurement to focus.
Whether to force the camera to move even if already looking at the measurement.
Callback to invoke with the calculated lookAt event.
Gets the current measurements positioned relative to the given Annotation.WorldPosition.
Resets the plugin to its initial state, clearing any in-progress operations. Should be called when the tool is being closed to ensure state is properly cleared.
OptionalonLookAt: (event: LookAtMeasurementEvent) => voidOptionalonSelectMeasurement: () => voidWill walk through all available measurements and set their visibility to the given value.
Sets whether all measurement are always visible, overriding individual visibility settings.
Updates the currently edited measurement with new name and description. Will throw an error if called in an invalid UI state.
Handles all business logic operations for measurements including CRUD operations, visibility management, and measurement-specific actions.