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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | /** * Active contour style properties */ export type BaseContourStyle = { /** thickness of the outline when segmentation is active */ outlineWidth?: number; /** alpha of outline for active segmentation */ outlineOpacity?: number; /** dash style of the outline when segmentation is active */ outlineDash?: string; /** delta thickness of the active segment index outline (0 means same thickness, * 1 means 1px thicker, -1 means 1px thinner) */ activeSegmentOutlineWidthDelta?: number; /** outline visibility */ renderOutline?: boolean; /** render fill */ renderFill?: boolean; /** fill alpha */ fillAlpha?: number; }; /** * Inactive contour style properties */ export type InactiveContourStyle = { /** thickness of the outline when segmentation is inactive */ outlineWidthInactive?: number; /** alpha of outline for inactive segmentation */ outlineOpacityInactive?: number; /** dash style of the outline when segmentation is inactive */ outlineDashInactive?: string; /** fillAlphaInactive */ fillAlphaInactive?: number; renderOutlineInactive?: boolean; renderFillInactive?: boolean; }; /** * Auto-generated contour style properties */ export type AutoGeneratedContourStyle = { /** thickness of the outline when segmentation is auto generated */ outlineWidthAutoGenerated?: number; /** * Dash style of the outline when segmentation is auto-generated */ outlineDashAutoGenerated?: string; /** fillAlphaAutoGenerated */ fillAlphaAutoGenerated?: number; }; /** * Combined contour style for active, inactive, and auto-generated states */ export type ContourStyle = BaseContourStyle & InactiveContourStyle & AutoGeneratedContourStyle; /** * Contour segmentation data */ export type ContourSegmentationData = { // Ids of the contourSets that are part of this segmentation // in the cache geometryIds?: string[]; // Ids of the annotations that are part of this segmentation // grouped by segmentIndex annotationUIDsMap?: Map<number, Set<string>>; }; |