Skip to main content

Enumeration: ChangeTypes

ChangeTypes defines the types of changes occurring on annotation and segmentation data.

Enumeration Members

Completed

Completed: "Completed"

Completed occurs only for the annotation completed event, just to identify it

Defined in

tools/src/enums/ChangeTypes.ts:29


HandlesUpdated

HandlesUpdated: "HandlesUpdated"

HandlesUpdated occurs when the handle data is added or removed, or moved around

Defined in

tools/src/enums/ChangeTypes.ts:14


History

History: "History"

Occurs when an annotation is changed do to an undo or redo.

Defined in

tools/src/enums/ChangeTypes.ts:37


InitialSetup

InitialSetup: "InitialSetup"

InitialSetup occurs when an annotation has been created initially and has the first render/data calculation being applied.

Defined in

tools/src/enums/ChangeTypes.ts:25


Interaction

Interaction: "Interaction"

Interaction events are done when the user is actively interacting with an annotation, and probably means the event shouldn't be handled/used.

Defined in

tools/src/enums/ChangeTypes.ts:10


InterpolationUpdated

InterpolationUpdated: "InterpolationUpdated"

Occurs when an interpolation result is updated with more tool specific data.

Defined in

tools/src/enums/ChangeTypes.ts:33


MetadataReferenceModified

MetadataReferenceModified: "MetadataReferenceModified"

This change type is used to identify changes where the referenced image gets modified. That may also involve changing statistics, but having this as a separate type allows for updating the applicability of an annotation so as to cause it to be drawn on the change, or removed if it is no longer visible.

Defined in

tools/src/enums/ChangeTypes.ts:44


StatsUpdated

StatsUpdated: "StatsUpdated"

StatsUpdated occurs when the stats are updated/calculated. This can be used to ignore stats calculations changes occurring on initial load, while still rendering other updates.

Defined in

tools/src/enums/ChangeTypes.ts:20