Optionalconfig: SettingsConfig<MeasureLinePluginSettings>Its settings, over their defaults.
ReadonlymeasureThe controller of the measure lines' anchors, in the scene while registered.
ReadonlynameDisplay name of the plugin
ReadonlysettingsIts settings: those saved in the local storage set, then config.
ReadonlyviewerNone.
Whether the plugin has at least one setting an interface shows (not hidden).
Called when the plugin is registered in the viewer.
Called when the plugin is unregistred from the viewer.
StaticCreate
Plugin adding measure lines: chains of anchors placed on the objects, showing the distances between them (see
MeasureLinesOperator). Its measureLineController holds them; the default operator does not pick them. Unregistered, itsMeasureLinesOperatorgives way to the default one (the line it was drawing cancelled), its lines leave the scene, their engine objects freed, and the commands history is cleared (its commands may hold them).