Skip to main content

InterpolationModeSelectorProps

@fovea/annotation-tool


@fovea/annotation-tool / InterpolationModeSelector / InterpolationModeSelectorProps

Interface: InterpolationModeSelectorProps

Defined in: src/components/annotation/InterpolationModeSelector.tsx:29

InterpolationModeSelectorProps

Description

Props for InterpolationModeSelector component.

Properties

annotation

annotation: null | Annotation

Defined in: src/components/annotation/InterpolationModeSelector.tsx:31

Annotation being edited (optional)


currentFrame

currentFrame: number

Defined in: src/components/annotation/InterpolationModeSelector.tsx:33

Current frame number


onApply()

onApply: (segmentIndex, mode, controlPoints?) => void

Defined in: src/components/annotation/InterpolationModeSelector.tsx:39

Callback to apply interpolation mode

Parameters

segmentIndex

number

mode

InterpolationType

controlPoints?

any

Returns

void


onClose()

onClose: () => void

Defined in: src/components/annotation/InterpolationModeSelector.tsx:37

Callback to close dialog

Returns

void


open

open: boolean

Defined in: src/components/annotation/InterpolationModeSelector.tsx:35

Whether dialog is open