larvitar 3.8.6 → 3.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,4 +15,5 @@ import { Contours } from "./types";
15
15
  */
16
16
  export declare const parseContours: (contoursData: {
17
17
  [key: string]: Uint8Array;
18
- }, pointBatchSize: number, segmentationName: string, viewports?: Array<string>) => Contours;
18
+ }, // TODO-ts: check if this is correct @mronzoni
19
+ pointBatchSize: number, segmentationName: string, viewports?: Array<string>) => Contours;
@@ -13,7 +13,7 @@ export declare const addCustomKernel: (name: string, config: KernelConfig) => vo
13
13
  * @returns {ConvolutionKernels} - CONVOLUTION_KERNELS object
14
14
  */
15
15
  export declare const getKernels: () => {
16
- [x: string]: KernelConfig;
16
+ [key: string]: KernelConfig;
17
17
  };
18
18
  /**
19
19
  * Apply convolution filter to DICOM image
@@ -1,7 +1,6 @@
1
1
  import { EventData } from "../types";
2
2
  declare const MagnifyTool: any;
3
3
  export default class BorderMagnifyTool extends MagnifyTool {
4
- static [x: string]: any;
5
4
  constructor(props?: {
6
5
  showBorders?: boolean;
7
6
  showInfo?: boolean;
@@ -9,7 +9,6 @@ import { Coords, EventData, MeasurementData, MeasurementMouseEvent } from "../ty
9
9
  * @extends Tools.Base.BaseAnnotationTool
10
10
  */
11
11
  export default class EllipticalRoiTool extends BaseAnnotationTool {
12
- static [x: string]: any;
13
12
  constructor(props?: {});
14
13
  createNewMeasurement(eventData: EventData): {
15
14
  visible: boolean;
@@ -92,7 +92,6 @@ import { HandlePosition, Rectangle, Stats } from "../types";
92
92
  * @extends Tools.Base.BaseAnnotationTool
93
93
  */
94
94
  export default class FreehandRoiTool extends BaseAnnotationTool {
95
- static [x: string]: any;
96
95
  private isMultiPartTool;
97
96
  private _drawing;
98
97
  private _dragging;
@@ -70,7 +70,6 @@ interface PlotlyData {
70
70
  * @extends cornerstoneTools.Base.BaseTool
71
71
  */
72
72
  export default class LengthPlotTool extends BaseAnnotationTool {
73
- static [x: string]: any;
74
73
  name: string;
75
74
  eventData?: EventData;
76
75
  datahandles?: Handles | null;
@@ -1,7 +1,6 @@
1
1
  declare const BaseAnnotationTool: any;
2
2
  import { MeasurementData, MeasurementMouseEvent, Coords, EventData } from "../types";
3
3
  export default class LengthTool extends BaseAnnotationTool {
4
- static [x: string]: any;
5
4
  constructor(props?: {});
6
5
  createNewMeasurement(eventData: EventData): {
7
6
  visible: boolean;
@@ -61,7 +61,6 @@ type PlotlyData = {
61
61
  * @extends Tools.Base.BaseAnnotationTool
62
62
  */
63
63
  export default class ManualLengthPlotTool extends BaseAnnotationTool {
64
- static [x: string]: any;
65
64
  name: string;
66
65
  eventData?: EventData;
67
66
  datahandles?: Handles;
@@ -17,7 +17,6 @@ interface ToolMouseEvent {
17
17
  * @extends Tools.Base.BaseTool
18
18
  */
19
19
  export default class OverlayTool extends BaseTool {
20
- static [x: string]: any;
21
20
  constructor(configuration?: {});
22
21
  enabledCallback(element: HTMLElement): void;
23
22
  disabledCallback(element: HTMLElement): void;
@@ -9,7 +9,6 @@ import { Coords, EventData, MeasurementData, MeasurementMouseEvent } from "../ty
9
9
  * @extends Tools.Base.BaseAnnotationTool
10
10
  */
11
11
  export default class RectangleRoiTool extends BaseAnnotationTool {
12
- static [x: string]: any;
13
12
  constructor(props?: {});
14
13
  createNewMeasurement(eventData: EventData): {
15
14
  visible: boolean;
@@ -9,7 +9,6 @@ declare const BaseAnnotationTool: any;
9
9
  * @extends Tools.Base.BaseTool
10
10
  */
11
11
  export default class WwwcRemoveRegionTool extends BaseAnnotationTool {
12
- static [x: string]: any;
13
12
  constructor(props?: {});
14
13
  createNewMeasurement(eventData: EventData): {
15
14
  computeMeasurements: any;
@@ -14,7 +14,6 @@ declare const BaseAnnotationTool: any;
14
14
  * @extends Tools.Base.BaseAnnotationTool
15
15
  */
16
16
  export declare class ContoursTool extends BaseAnnotationTool {
17
- static [x: string]: any;
18
17
  constructor(props?: {
19
18
  contoursParsedData?: ContourData;
20
19
  segmentationName?: string;
@@ -20,7 +20,6 @@ type ToolEventDetail = {
20
20
  };
21
21
  };
22
22
  export default class CustomMouseWheelScrollTool extends BaseTool {
23
- static [x: string]: any;
24
23
  currentMode: string;
25
24
  framesNumber: number;
26
25
  slicesnumber: number;
@@ -73,7 +73,6 @@ interface MeasurementEvent extends Event {
73
73
  * @extends Tools.Base.BaseAnnotationTool
74
74
  */
75
75
  export declare class DiameterTool extends BidirectionalTool {
76
- static [x: string]: any;
77
76
  name: string;
78
77
  isBeenModified: boolean;
79
78
  lastData: ToolData | null;
@@ -12,7 +12,6 @@ declare const BaseBrushTool: any;
12
12
  * @extends Tools.Base.BaseBrushTool
13
13
  */
14
14
  export declare class EditMaskTool extends BaseBrushTool {
15
- static [x: string]: any;
16
15
  constructor(props?: {
17
16
  mask?: MaskData;
18
17
  initCallback?: Function;
@@ -12,7 +12,6 @@ declare const BaseTool: any;
12
12
  * @extends Tools.Base.BaseTool
13
13
  */
14
14
  export default class GspsTool extends BaseTool {
15
- static [x: string]: any;
16
15
  name: string;
17
16
  toolAnnotations: ToolAnnotations;
18
17
  showAnnotations: boolean;
@@ -11,7 +11,6 @@ declare const BaseTool: any;
11
11
  * @extends Tools.Base.BaseTool
12
12
  */
13
13
  export default class PolylineScissorsTool extends BaseTool {
14
- static [x: string]: any;
15
14
  /** @inheritdoc */
16
15
  constructor(props?: {});
17
16
  }
@@ -9,7 +9,6 @@ declare const BaseAnnotationTool: any;
9
9
  * @extends Tools.Base.BaseAnnotationTool
10
10
  */
11
11
  export default class RectangleRoiOverlayTool extends BaseAnnotationTool {
12
- static [x: string]: any;
13
12
  constructor(props?: {});
14
13
  createNewMeasurement(eventData: EventData): {
15
14
  computeMeasurements: any;
@@ -9,7 +9,6 @@ declare const BaseTool: any;
9
9
  * @extends Tools.Base.BaseTool
10
10
  */
11
11
  export default class RotateTool extends BaseTool {
12
- static [x: string]: any;
13
12
  constructor(props?: {});
14
13
  touchDragCallback(evt: MeasurementMouseEvent): void;
15
14
  mouseDragCallback(evt: MeasurementMouseEvent): void;
@@ -14,7 +14,6 @@ declare const BaseBrushTool: any;
14
14
  * @extends Tools.Base.BaseBrushTool
15
15
  */
16
16
  export default class ThresholdsBrushTool extends BaseBrushTool {
17
- static [x: string]: any;
18
17
  constructor(props?: {});
19
18
  /**
20
19
  * Event handler for MOUSE_UP during the drawing event loop.
@@ -15,7 +15,6 @@ import { Series } from "../../types";
15
15
  * @extends Tools.Base.BaseBrushTool
16
16
  */
17
17
  export default class WSToggleTool extends BaseBrushTool {
18
- static [x: string]: any;
19
18
  private maskArray;
20
19
  private maskArrayCurrentImage;
21
20
  private dicomPixelData;