Skip to main content

Type Alias: LabelmapToolOperationData

LabelmapToolOperationData: object

Type declaration

createMemo()

createMemo: (segmentId, segmentVoxels, previewVoxels?, previewMemo?) => LabelmapMemo

Creates a labelmap memo, given the preview information and segment voxels. May return an already existing one when used for extension.

Parameters

segmentId: any

segmentVoxels: any

previewVoxels?: any

previewMemo?: any

Returns

LabelmapMemo

override

override: object

override.imageData

imageData: vtkImageData

override.voxelManager

voxelManager: Types.IVoxelManager<number>

points

points: Types.Point3[]

preview

preview: any

preview is used for sharing preview data between views/interactions with a tool, and needs to be maintained by the tool side in order to be able to accept/reject/update the preview information.

previewColors?

optional previewColors: Record<number, [number, number, number, number]>

The colours to use for previewing

segmentationId

segmentationId: string

segmentIndex

segmentIndex: number

segmentsLocked

segmentsLocked: number[]

strategySpecificConfiguration

strategySpecificConfiguration: any

toolGroupId

toolGroupId: string

viewPlaneNormal

viewPlaneNormal: number[]

viewUp

viewUp: number[]

voxelManager

voxelManager: any

Defined in

tools/src/types/LabelmapToolOperationData.ts:10