Skip to main content

Type Alias: MeasurementTargetOptions

MeasurementTargetOptions: object

The context passed to the measurement target filters - the viewport being measured together with the tool configuration (so a filter can read configuration.targetPredicate and any other option) and the annotation data when available.

Type declaration

configuration

configuration: ToolConfiguration

The configuration of the tool the filter is running for.

data?

optional data: AnnotationData

The annotation data, when the filter is running for an annotation.

viewport

viewport: Types.IViewport

The viewport the targets are being selected for.

Defined in

tools/src/types/IBaseTool.ts:71