Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | import type { Types } from '@cornerstonejs/core'; import type { Annotation } from './AnnotationTypes'; import type { InterpolationROIAnnotation } from './ToolSpecificAnnotationTypes'; /** * A base viewport and annotation information used to start interpolating * between slices. */ export type InterpolationViewportData = { /** The annotation that was just completed. */ annotation: InterpolationROIAnnotation; /** The type of event, whether initializing the label or updating it. */ interpolationUID: string; /** The viewport that this interpolation is occurring within */ viewport: Types.IViewport; sliceData: Types.ImageSliceData; /** True if the interpolation data is being regenerated because of an update */ isInterpolationUpdate?: boolean; }; export type ImageInterpolationData = { sliceIndex: number; annotations?: Annotation[]; }; /** * The selector object for accepting interpolation results. This object * can be specified to select a sub-set of interpolation results. */ export type AcceptInterpolationSelector = { /** * Specify the tool names to apply this to, defaulting to all * interpolation tools registered */ toolNames?: string[]; /** * Applies just to the given segmentation */ segmentationId?: string; /** * Applies just to the given segment index. */ segmentIndex?: number; /** * Only apply to the given slice index */ sliceIndex?: number; }; |