Class: Measurements

bu.ortho.action. Measurements

An action for a bu.control.Switcher that activates interactions in a bu.ortho.Viewer to make measurements.


new Measurements( [options])

Parameters:
Name Type Argument Description
options bu.ortho.action.MeasurementsOptions <optional>

Options.

Source:
bu-ortho/actions/measurements.js

Extends

Members


control :bu.control.Control

The control this action is attached to.

Type:
Inherited From:
Source:
bu/actions/action.js

viewer :bu.Viewer

This is the viewer this action will be tied to.

Type:
Inherited From:
Source:
bu/actions/action.js

Methods


changeMeasurement(measurementType)

Changes the current measurement tool in the viewer.

Parameters:
Name Type Description
measurementType bu.ortho.MeasurementType | null

The type of measurement or null to deactivate all measurements.

Source:
bu-ortho/actions/measurements.js