@cornerstonejs/tools 1.81.4 → 1.81.6

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.
@@ -1,6 +1,6 @@
1
1
  import { Types } from '@cornerstonejs/core';
2
2
  import vtkPolyData from '@kitware/vtk.js/Common/DataModel/PolyData';
3
3
  import { ToolGroupSpecificContourRepresentation } from '../../../../types';
4
- export declare function getSegmentSpecificConfig(contourRepresentation: ToolGroupSpecificContourRepresentation, segmentId: string, index: number): import("../../../../types/ContourTypes").ContourConfig;
4
+ export declare function getSegmentSpecificConfig(contourRepresentation: ToolGroupSpecificContourRepresentation, segmentId: string, index: number): import("../../../../types").ContourConfig;
5
5
  export declare function validateGeometry(geometry: Types.IGeometry): void;
6
6
  export declare function getPolyData(contourSet: Types.IContourSet): vtkPolyData;
@@ -1,40 +1,41 @@
1
- import type { Annotation, Annotations, AnnotationState, GroupSpecificAnnotations } from './AnnotationTypes';
2
- import type { ContourAnnotationData, ContourAnnotation } from './ContourAnnotation';
3
- import type { ContourSegmentationAnnotationData, ContourSegmentationAnnotation } from './ContourSegmentationAnnotation';
1
+ import type * as AnnotationStyle from './AnnotationStyle';
2
+ import type * as ToolSpecificAnnotationTypes from './ToolSpecificAnnotationTypes';
3
+ import type AnnotationGroupSelector from './AnnotationGroupSelector';
4
+ import type IAnnotationManager from './IAnnotationManager';
5
+ import type JumpToSliceOptions from './JumpToSliceOptions';
6
+ import type { AcceptInterpolationSelector, ImageInterpolationData, InterpolationViewportData } from './InterpolationTypes';
7
+ import type { Annotation, AnnotationState, Annotations, GroupSpecificAnnotations } from './AnnotationTypes';
8
+ import type { CanvasCoordinates } from '../utilities/math/ellipse/getCanvasEllipseCorners';
9
+ import type { ContourAnnotation, ContourAnnotationData, ContourWindingDirection } from './ContourAnnotation';
10
+ import type { ContourSegmentationAnnotation, ContourSegmentationAnnotationData } from './ContourSegmentationAnnotation';
11
+ import type AnnotationRenderContext from './AnnotationRenderContext';
12
+ import type PlanarBoundingBox from './PlanarBoundingBox';
13
+ import type { ToolProps, PublicToolProps, ToolConfiguration } from './ToolProps';
4
14
  import type * as EventTypes from './EventTypes';
5
- import type * as LabelmapTypes from './LabelmapTypes';
15
+ import type IDistance from './IDistance';
6
16
  import type IPoints from './IPoints';
7
17
  import type ITouchPoints from './ITouchPoints';
8
- import type IDistance from './IDistance';
9
- import type PlanarBoundingBox from './PlanarBoundingBox';
10
- import type { SetToolBindingsType, IToolBinding, ToolOptionsType } from './ISetToolModeOptions';
18
+ import type InteractionTypes from './InteractionTypes';
19
+ import type ToolAction from './ToolAction';
20
+ import type { IToolBinding, SetToolBindingsType, ToolOptionsType } from './ISetToolModeOptions';
21
+ import type ISynchronizerEventHandler from './ISynchronizerEventHandler';
22
+ import type IToolClassReference from './IToolClassReference';
11
23
  import type IToolGroup from '../store/ToolGroupManager/ToolGroup';
12
- import type * as ToolSpecificAnnotationTypes from './ToolSpecificAnnotationTypes';
13
- import type * as AnnotationStyle from './AnnotationStyle';
14
24
  import type ToolHandle from './ToolHandle';
15
25
  import type { AnnotationHandle, TextBoxHandle } from './ToolHandle';
16
- import type InteractionTypes from './InteractionTypes';
17
- import type ToolAction from './ToolAction';
18
- import type { ToolProps, PublicToolProps, ToolConfiguration } from './ToolProps';
26
+ import { ISculptToolShape } from './ISculptToolShape';
27
+ import type * as LabelmapTypes from './LabelmapTypes';
28
+ import type { RepresentationConfig, RepresentationPublicInput, RepresentationPublicInputOptions, SegmentSpecificRepresentationConfig, Segmentation, SegmentationPublicInput, SegmentationRepresentationConfig, SegmentationRepresentationData, SegmentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, ToolGroupSpecificRepresentationState, ToolGroupSpecificRepresentations, ToolGroupSpecificSurfaceRepresentation } from './SegmentationStateTypes';
19
29
  import type { SVGCursorDescriptor, SVGPoint } from './CursorTypes';
20
- import type JumpToSliceOptions from './JumpToSliceOptions';
21
30
  import type ScrollOptions from './ScrollOptions';
22
31
  import type BoundsIJK from './BoundsIJK';
23
- import type SVGDrawingHelper from './SVGDrawingHelper';
24
32
  import type * as CINETypes from './CINETypes';
25
- import type { RepresentationConfig, SegmentationRepresentationConfig, SegmentationRepresentationData, Segmentation, ToolGroupSpecificRepresentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, SegmentationState, RepresentationPublicInput } from './SegmentationStateTypes';
26
- import { ISculptToolShape } from './ISculptToolShape';
27
- import type ISynchronizerEventHandler from './ISynchronizerEventHandler';
33
+ import type SVGDrawingHelper from './SVGDrawingHelper';
28
34
  import type { FloodFillGetter, FloodFillOptions, FloodFillResult } from './FloodFillTypes';
29
- import type IToolClassReference from './IToolClassReference';
30
- import type { ContourSegmentationData } from './ContourTypes';
31
- import type IAnnotationManager from './IAnnotationManager';
32
- import type AnnotationGroupSelector from './AnnotationGroupSelector';
33
- import type AnnotationRenderContext from './AnnotationRenderContext';
34
- import type { Statistics, NamedStatistics } from './CalculatorTypes';
35
- import type { CanvasCoordinates } from '../utilities/math/ellipse/getCanvasEllipseCorners';
36
- import { LabelmapToolOperationData, LabelmapToolOperationDataStack, LabelmapToolOperationDataVolume } from './LabelmapToolOperationData';
37
- import type { InterpolationViewportData, ImageInterpolationData } from './InterpolationTypes';
35
+ import type { ContourConfig, ContourRenderingConfig, ContourSegmentationData } from './ContourTypes';
36
+ import type { NamedStatistics, Statistics } from './CalculatorTypes';
37
+ import { LabelmapToolOperationData, LabelmapToolOperationDataAny, LabelmapToolOperationDataStack, LabelmapToolOperationDataVolume } from './LabelmapToolOperationData';
38
+ import type { BidirectionalData } from '../utilities/segmentation/createBidirectionalToolData';
38
39
  import type { CardinalSplineProps } from './CardinalSplineProps';
39
40
  import type { ClosestControlPoint } from './ClosestControlPoint';
40
41
  import type { ClosestPoint } from './ClosestPoint';
@@ -44,6 +45,5 @@ import type { ISpline } from './ISpline';
44
45
  import type { SplineCurveSegment } from './SplineCurveSegment';
45
46
  import type { SplineLineSegment } from './SplineLineSegment';
46
47
  import type { SplineProps } from './SplineProps';
47
- import type { BidirectionalData } from '../utilities/segmentation/createBidirectionalToolData';
48
48
  import type { PolySegConversionOptions } from './PolySeg';
49
- export type { Annotation, Annotations, ContourAnnotationData, ContourAnnotation, ContourSegmentationAnnotationData, ContourSegmentationAnnotation, BidirectionalData, CanvasCoordinates, IAnnotationManager, InterpolationViewportData, ImageInterpolationData, GroupSpecificAnnotations, AnnotationState, AnnotationStyle, ToolSpecificAnnotationTypes, JumpToSliceOptions, AnnotationGroupSelector, AnnotationRenderContext, PlanarBoundingBox, ToolProps, PublicToolProps, ToolConfiguration, EventTypes, IPoints, ITouchPoints, IDistance, IToolBinding, SetToolBindingsType, ToolOptionsType, InteractionTypes, ToolAction, IToolGroup, IToolClassReference, ISynchronizerEventHandler, ToolHandle, AnnotationHandle, TextBoxHandle, Segmentation, SegmentationState, SegmentationRepresentationData, SegmentationRepresentationConfig, RepresentationConfig, ToolGroupSpecificRepresentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, RepresentationPublicInput, LabelmapTypes, SVGCursorDescriptor, SVGPoint, ScrollOptions, CINETypes, BoundsIJK, SVGDrawingHelper, FloodFillResult, FloodFillGetter, FloodFillOptions, ContourSegmentationData, ISculptToolShape, Statistics, NamedStatistics, LabelmapToolOperationData, LabelmapToolOperationDataStack, LabelmapToolOperationDataVolume, CardinalSplineProps, ClosestControlPoint, ClosestPoint, ClosestSplinePoint, ControlPointInfo, ISpline, SplineCurveSegment, SplineLineSegment, SplineProps, PolySegConversionOptions, };
49
+ export type { AcceptInterpolationSelector, Annotation, AnnotationGroupSelector, AnnotationState, AnnotationStyle, Annotations, BidirectionalData, CanvasCoordinates, ContourAnnotation, ContourAnnotationData, ContourSegmentationAnnotation, ContourSegmentationAnnotationData, ContourWindingDirection, GroupSpecificAnnotations, IAnnotationManager, ImageInterpolationData, InterpolationViewportData, JumpToSliceOptions, ToolSpecificAnnotationTypes, AnnotationRenderContext, PlanarBoundingBox, PublicToolProps, ToolConfiguration, ToolProps, EventTypes, IDistance, IPoints, ITouchPoints, IToolBinding, InteractionTypes, SetToolBindingsType, ToolAction, ToolOptionsType, AnnotationHandle, ISculptToolShape, ISynchronizerEventHandler, IToolClassReference, IToolGroup, TextBoxHandle, ToolHandle, LabelmapTypes, RepresentationConfig, RepresentationPublicInput, RepresentationPublicInputOptions, SegmentSpecificRepresentationConfig, Segmentation, SegmentationPublicInput, SegmentationRepresentationConfig, SegmentationRepresentationData, SegmentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, ToolGroupSpecificRepresentationState, ToolGroupSpecificRepresentations, ToolGroupSpecificSurfaceRepresentation, SVGCursorDescriptor, SVGPoint, ScrollOptions, BoundsIJK, CINETypes, SVGDrawingHelper, FloodFillGetter, FloodFillOptions, FloodFillResult, ContourConfig, ContourRenderingConfig, ContourSegmentationData, NamedStatistics, Statistics, LabelmapToolOperationData, LabelmapToolOperationDataAny, LabelmapToolOperationDataStack, LabelmapToolOperationDataVolume, CardinalSplineProps, ClosestControlPoint, ClosestPoint, ClosestSplinePoint, ControlPointInfo, ISpline, SplineCurveSegment, SplineLineSegment, SplineProps, PolySegConversionOptions, };
@@ -1 +1 @@
1
- export default function clip(a: any, b: any, box: any, da?: any, db?: any): 1 | 0;
1
+ export default function clip(a: any, b: any, box: any, da?: any, db?: any): 0 | 1;
@@ -1,7 +1,7 @@
1
1
  import { Types } from '@cornerstonejs/core';
2
2
  import vtkPolyData from '@kitware/vtk.js/Common/DataModel/PolyData';
3
3
  import { ToolGroupSpecificContourRepresentation } from '../../../../types';
4
- export declare function getSegmentSpecificConfig(contourRepresentation: ToolGroupSpecificContourRepresentation, segmentId: string, index: number): import("../../../../types/ContourTypes").ContourConfig;
4
+ export declare function getSegmentSpecificConfig(contourRepresentation: ToolGroupSpecificContourRepresentation, segmentId: string, index: number): import("../../../../types").ContourConfig;
5
5
  export declare function validateGeometry(geometry: Types.IGeometry): void;
6
6
  export declare function getPolyData(contourSet: Types.IContourSet): vtkPolyData;
7
7
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/displayTools/Contour/contourHandler/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAGnD,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAc3E,wBAAgB,wBAAwB,CACtC,qBAAqB,EAAE,sCAAsC,EAC7D,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,0DAgBd;AAOD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAmBhE;AAUD,wBAAgB,WAAW,CAAC,UAAU,EAAE,KAAK,CAAC,WAAW,eA0CxD"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/displayTools/Contour/contourHandler/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAGnD,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAc3E,wBAAgB,wBAAwB,CACtC,qBAAqB,EAAE,sCAAsC,EAC7D,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,6CAgBd;AAOD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAmBhE;AAUD,wBAAgB,WAAW,CAAC,UAAU,EAAE,KAAK,CAAC,WAAW,eA0CxD"}
@@ -1,40 +1,41 @@
1
- import type { Annotation, Annotations, AnnotationState, GroupSpecificAnnotations } from './AnnotationTypes';
2
- import type { ContourAnnotationData, ContourAnnotation } from './ContourAnnotation';
3
- import type { ContourSegmentationAnnotationData, ContourSegmentationAnnotation } from './ContourSegmentationAnnotation';
1
+ import type * as AnnotationStyle from './AnnotationStyle';
2
+ import type * as ToolSpecificAnnotationTypes from './ToolSpecificAnnotationTypes';
3
+ import type AnnotationGroupSelector from './AnnotationGroupSelector';
4
+ import type IAnnotationManager from './IAnnotationManager';
5
+ import type JumpToSliceOptions from './JumpToSliceOptions';
6
+ import type { AcceptInterpolationSelector, ImageInterpolationData, InterpolationViewportData } from './InterpolationTypes';
7
+ import type { Annotation, AnnotationState, Annotations, GroupSpecificAnnotations } from './AnnotationTypes';
8
+ import type { CanvasCoordinates } from '../utilities/math/ellipse/getCanvasEllipseCorners';
9
+ import type { ContourAnnotation, ContourAnnotationData, ContourWindingDirection } from './ContourAnnotation';
10
+ import type { ContourSegmentationAnnotation, ContourSegmentationAnnotationData } from './ContourSegmentationAnnotation';
11
+ import type AnnotationRenderContext from './AnnotationRenderContext';
12
+ import type PlanarBoundingBox from './PlanarBoundingBox';
13
+ import type { ToolProps, PublicToolProps, ToolConfiguration } from './ToolProps';
4
14
  import type * as EventTypes from './EventTypes';
5
- import type * as LabelmapTypes from './LabelmapTypes';
15
+ import type IDistance from './IDistance';
6
16
  import type IPoints from './IPoints';
7
17
  import type ITouchPoints from './ITouchPoints';
8
- import type IDistance from './IDistance';
9
- import type PlanarBoundingBox from './PlanarBoundingBox';
10
- import type { SetToolBindingsType, IToolBinding, ToolOptionsType } from './ISetToolModeOptions';
18
+ import type InteractionTypes from './InteractionTypes';
19
+ import type ToolAction from './ToolAction';
20
+ import type { IToolBinding, SetToolBindingsType, ToolOptionsType } from './ISetToolModeOptions';
21
+ import type ISynchronizerEventHandler from './ISynchronizerEventHandler';
22
+ import type IToolClassReference from './IToolClassReference';
11
23
  import type IToolGroup from '../store/ToolGroupManager/ToolGroup';
12
- import type * as ToolSpecificAnnotationTypes from './ToolSpecificAnnotationTypes';
13
- import type * as AnnotationStyle from './AnnotationStyle';
14
24
  import type ToolHandle from './ToolHandle';
15
25
  import type { AnnotationHandle, TextBoxHandle } from './ToolHandle';
16
- import type InteractionTypes from './InteractionTypes';
17
- import type ToolAction from './ToolAction';
18
- import type { ToolProps, PublicToolProps, ToolConfiguration } from './ToolProps';
26
+ import { ISculptToolShape } from './ISculptToolShape';
27
+ import type * as LabelmapTypes from './LabelmapTypes';
28
+ import type { RepresentationConfig, RepresentationPublicInput, RepresentationPublicInputOptions, SegmentSpecificRepresentationConfig, Segmentation, SegmentationPublicInput, SegmentationRepresentationConfig, SegmentationRepresentationData, SegmentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, ToolGroupSpecificRepresentationState, ToolGroupSpecificRepresentations, ToolGroupSpecificSurfaceRepresentation } from './SegmentationStateTypes';
19
29
  import type { SVGCursorDescriptor, SVGPoint } from './CursorTypes';
20
- import type JumpToSliceOptions from './JumpToSliceOptions';
21
30
  import type ScrollOptions from './ScrollOptions';
22
31
  import type BoundsIJK from './BoundsIJK';
23
- import type SVGDrawingHelper from './SVGDrawingHelper';
24
32
  import type * as CINETypes from './CINETypes';
25
- import type { RepresentationConfig, SegmentationRepresentationConfig, SegmentationRepresentationData, Segmentation, ToolGroupSpecificRepresentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, SegmentationState, RepresentationPublicInput } from './SegmentationStateTypes';
26
- import { ISculptToolShape } from './ISculptToolShape';
27
- import type ISynchronizerEventHandler from './ISynchronizerEventHandler';
33
+ import type SVGDrawingHelper from './SVGDrawingHelper';
28
34
  import type { FloodFillGetter, FloodFillOptions, FloodFillResult } from './FloodFillTypes';
29
- import type IToolClassReference from './IToolClassReference';
30
- import type { ContourSegmentationData } from './ContourTypes';
31
- import type IAnnotationManager from './IAnnotationManager';
32
- import type AnnotationGroupSelector from './AnnotationGroupSelector';
33
- import type AnnotationRenderContext from './AnnotationRenderContext';
34
- import type { Statistics, NamedStatistics } from './CalculatorTypes';
35
- import type { CanvasCoordinates } from '../utilities/math/ellipse/getCanvasEllipseCorners';
36
- import { LabelmapToolOperationData, LabelmapToolOperationDataStack, LabelmapToolOperationDataVolume } from './LabelmapToolOperationData';
37
- import type { InterpolationViewportData, ImageInterpolationData } from './InterpolationTypes';
35
+ import type { ContourConfig, ContourRenderingConfig, ContourSegmentationData } from './ContourTypes';
36
+ import type { NamedStatistics, Statistics } from './CalculatorTypes';
37
+ import { LabelmapToolOperationData, LabelmapToolOperationDataAny, LabelmapToolOperationDataStack, LabelmapToolOperationDataVolume } from './LabelmapToolOperationData';
38
+ import type { BidirectionalData } from '../utilities/segmentation/createBidirectionalToolData';
38
39
  import type { CardinalSplineProps } from './CardinalSplineProps';
39
40
  import type { ClosestControlPoint } from './ClosestControlPoint';
40
41
  import type { ClosestPoint } from './ClosestPoint';
@@ -44,7 +45,6 @@ import type { ISpline } from './ISpline';
44
45
  import type { SplineCurveSegment } from './SplineCurveSegment';
45
46
  import type { SplineLineSegment } from './SplineLineSegment';
46
47
  import type { SplineProps } from './SplineProps';
47
- import type { BidirectionalData } from '../utilities/segmentation/createBidirectionalToolData';
48
48
  import type { PolySegConversionOptions } from './PolySeg';
49
- export type { Annotation, Annotations, ContourAnnotationData, ContourAnnotation, ContourSegmentationAnnotationData, ContourSegmentationAnnotation, BidirectionalData, CanvasCoordinates, IAnnotationManager, InterpolationViewportData, ImageInterpolationData, GroupSpecificAnnotations, AnnotationState, AnnotationStyle, ToolSpecificAnnotationTypes, JumpToSliceOptions, AnnotationGroupSelector, AnnotationRenderContext, PlanarBoundingBox, ToolProps, PublicToolProps, ToolConfiguration, EventTypes, IPoints, ITouchPoints, IDistance, IToolBinding, SetToolBindingsType, ToolOptionsType, InteractionTypes, ToolAction, IToolGroup, IToolClassReference, ISynchronizerEventHandler, ToolHandle, AnnotationHandle, TextBoxHandle, Segmentation, SegmentationState, SegmentationRepresentationData, SegmentationRepresentationConfig, RepresentationConfig, ToolGroupSpecificRepresentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, RepresentationPublicInput, LabelmapTypes, SVGCursorDescriptor, SVGPoint, ScrollOptions, CINETypes, BoundsIJK, SVGDrawingHelper, FloodFillResult, FloodFillGetter, FloodFillOptions, ContourSegmentationData, ISculptToolShape, Statistics, NamedStatistics, LabelmapToolOperationData, LabelmapToolOperationDataStack, LabelmapToolOperationDataVolume, CardinalSplineProps, ClosestControlPoint, ClosestPoint, ClosestSplinePoint, ControlPointInfo, ISpline, SplineCurveSegment, SplineLineSegment, SplineProps, PolySegConversionOptions, };
49
+ export type { AcceptInterpolationSelector, Annotation, AnnotationGroupSelector, AnnotationState, AnnotationStyle, Annotations, BidirectionalData, CanvasCoordinates, ContourAnnotation, ContourAnnotationData, ContourSegmentationAnnotation, ContourSegmentationAnnotationData, ContourWindingDirection, GroupSpecificAnnotations, IAnnotationManager, ImageInterpolationData, InterpolationViewportData, JumpToSliceOptions, ToolSpecificAnnotationTypes, AnnotationRenderContext, PlanarBoundingBox, PublicToolProps, ToolConfiguration, ToolProps, EventTypes, IDistance, IPoints, ITouchPoints, IToolBinding, InteractionTypes, SetToolBindingsType, ToolAction, ToolOptionsType, AnnotationHandle, ISculptToolShape, ISynchronizerEventHandler, IToolClassReference, IToolGroup, TextBoxHandle, ToolHandle, LabelmapTypes, RepresentationConfig, RepresentationPublicInput, RepresentationPublicInputOptions, SegmentSpecificRepresentationConfig, Segmentation, SegmentationPublicInput, SegmentationRepresentationConfig, SegmentationRepresentationData, SegmentationState, ToolGroupSpecificContourRepresentation, ToolGroupSpecificLabelmapRepresentation, ToolGroupSpecificRepresentation, ToolGroupSpecificRepresentationState, ToolGroupSpecificRepresentations, ToolGroupSpecificSurfaceRepresentation, SVGCursorDescriptor, SVGPoint, ScrollOptions, BoundsIJK, CINETypes, SVGDrawingHelper, FloodFillGetter, FloodFillOptions, FloodFillResult, ContourConfig, ContourRenderingConfig, ContourSegmentationData, NamedStatistics, Statistics, LabelmapToolOperationData, LabelmapToolOperationDataAny, LabelmapToolOperationDataStack, LabelmapToolOperationDataVolume, CardinalSplineProps, ClosestControlPoint, ClosestPoint, ClosestSplinePoint, ControlPointInfo, ISpline, SplineCurveSegment, SplineLineSegment, SplineProps, PolySegConversionOptions, };
50
50
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,eAAe,EACf,wBAAwB,EACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,iCAAiC,EACjC,6BAA6B,EAC9B,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,KAAK,UAAU,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACZ,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,UAAU,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,KAAK,2BAA2B,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,KAAK,eAAe,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,gBAAgB,MAAM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,EACf,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,6BAA6B,EAC7B,iCAAiC,EACjC,uBAAuB,EACvB,wBAAwB,EACxB,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,EACzB,kBAAkB,EAClB,2BAA2B,EAE3B,uBAAuB,EAEvB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,SAAS,EAET,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EAEZ,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,eAAe,EAEf,gBAAgB,EAChB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,UAAU,EACV,aAAa,EACb,UAAU,EAEV,aAAa,EACb,oBAAoB,EACpB,yBAAyB,EACzB,gCAAgC,EAChC,mCAAmC,EACnC,YAAY,EACZ,uBAAuB,EACvB,gCAAgC,EAChC,8BAA8B,EAC9B,iBAAiB,EACjB,sCAAsC,EACtC,uCAAuC,EACvC,+BAA+B,EAC/B,oCAAoC,EACpC,gCAAgC,EAChC,sCAAsC,EAEtC,mBAAmB,EACnB,QAAQ,EAER,aAAa,EAEb,SAAS,EACT,SAAS,EACT,gBAAgB,EAEhB,eAAe,EACf,gBAAgB,EAChB,eAAe,EAEf,aAAa,EACb,sBAAsB,EACtB,uBAAuB,EAEvB,eAAe,EACf,UAAU,EAEV,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,+BAA+B,EAE/B,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EAEX,wBAAwB,GACzB,CAAC"}
@@ -1,2 +1,2 @@
1
- export default function clip(a: any, b: any, box: any, da?: any, db?: any): 1 | 0;
1
+ export default function clip(a: any, b: any, box: any, da?: any, db?: any): 0 | 1;
2
2
  //# sourceMappingURL=liangBarksyClip.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "1.81.4",
3
+ "version": "1.81.6",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "main": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
30
30
  },
31
31
  "dependencies": {
32
- "@cornerstonejs/core": "^1.81.4",
32
+ "@cornerstonejs/core": "^1.81.6",
33
33
  "@icr/polyseg-wasm": "0.4.0",
34
34
  "@types/offscreencanvas": "2019.7.3",
35
35
  "comlink": "^4.4.1",
@@ -59,5 +59,5 @@
59
59
  "type": "individual",
60
60
  "url": "https://ohif.org/donate"
61
61
  },
62
- "gitHead": "53b48392fab3f763c665d403b1f9fc3091c9510f"
62
+ "gitHead": "ea0dc0386909120486e76447a86ba3ff6ffe0cd9"
63
63
  }
@@ -1,83 +1,123 @@
1
+ // AnnotationState
2
+ import type * as AnnotationStyle from './AnnotationStyle';
3
+ import type * as ToolSpecificAnnotationTypes from './ToolSpecificAnnotationTypes';
4
+ import type AnnotationGroupSelector from './AnnotationGroupSelector';
5
+ import type IAnnotationManager from './IAnnotationManager';
6
+ import type JumpToSliceOptions from './JumpToSliceOptions';
7
+ import type {
8
+ AcceptInterpolationSelector,
9
+ ImageInterpolationData,
10
+ InterpolationViewportData,
11
+ } from './InterpolationTypes';
1
12
  import type {
2
13
  Annotation,
3
- Annotations,
4
14
  AnnotationState,
15
+ Annotations,
5
16
  GroupSpecificAnnotations,
6
17
  } from './AnnotationTypes';
18
+ import type { CanvasCoordinates } from '../utilities/math/ellipse/getCanvasEllipseCorners';
7
19
  import type {
8
- ContourAnnotationData,
9
20
  ContourAnnotation,
21
+ ContourAnnotationData,
22
+ ContourWindingDirection,
10
23
  } from './ContourAnnotation';
11
24
  import type {
12
- ContourSegmentationAnnotationData,
13
25
  ContourSegmentationAnnotation,
26
+ ContourSegmentationAnnotationData,
14
27
  } from './ContourSegmentationAnnotation';
28
+
29
+ // Rendering
30
+ import type AnnotationRenderContext from './AnnotationRenderContext';
31
+
32
+ // Geometry
33
+ import type PlanarBoundingBox from './PlanarBoundingBox';
34
+ import type {
35
+ ToolProps,
36
+ PublicToolProps,
37
+ ToolConfiguration,
38
+ } from './ToolProps';
39
+
40
+ // Event data
15
41
  import type * as EventTypes from './EventTypes';
16
- import type * as LabelmapTypes from './LabelmapTypes';
42
+ import type IDistance from './IDistance';
17
43
  import type IPoints from './IPoints';
18
44
  import type ITouchPoints from './ITouchPoints';
19
- import type IDistance from './IDistance';
20
- import type PlanarBoundingBox from './PlanarBoundingBox';
45
+
46
+ // ToolBindings
47
+ import type InteractionTypes from './InteractionTypes';
48
+ import type ToolAction from './ToolAction';
21
49
  import type {
22
- SetToolBindingsType,
23
50
  IToolBinding,
51
+ SetToolBindingsType,
24
52
  ToolOptionsType,
25
53
  } from './ISetToolModeOptions';
54
+
55
+ //
56
+ import type ISynchronizerEventHandler from './ISynchronizerEventHandler';
57
+ import type IToolClassReference from './IToolClassReference';
26
58
  import type IToolGroup from '../store/ToolGroupManager/ToolGroup';
27
- import type * as ToolSpecificAnnotationTypes from './ToolSpecificAnnotationTypes';
28
- import type * as AnnotationStyle from './AnnotationStyle';
29
59
  import type ToolHandle from './ToolHandle';
30
60
  import type { AnnotationHandle, TextBoxHandle } from './ToolHandle';
31
- import type InteractionTypes from './InteractionTypes';
32
- import type ToolAction from './ToolAction';
33
- import type {
34
- ToolProps,
35
- PublicToolProps,
36
- ToolConfiguration,
37
- } from './ToolProps';
38
- import type { SVGCursorDescriptor, SVGPoint } from './CursorTypes';
39
- import type JumpToSliceOptions from './JumpToSliceOptions';
40
- import type ScrollOptions from './ScrollOptions';
41
- import type BoundsIJK from './BoundsIJK';
42
- import type SVGDrawingHelper from './SVGDrawingHelper';
43
- import type * as CINETypes from './CINETypes';
61
+ import { ISculptToolShape } from './ISculptToolShape';
62
+
63
+ // Segmentation
64
+ import type * as LabelmapTypes from './LabelmapTypes';
44
65
  import type {
45
66
  RepresentationConfig,
67
+ RepresentationPublicInput,
68
+ RepresentationPublicInputOptions,
69
+ SegmentSpecificRepresentationConfig,
70
+ Segmentation,
71
+ SegmentationPublicInput,
46
72
  SegmentationRepresentationConfig,
47
73
  SegmentationRepresentationData,
48
- Segmentation,
49
- ToolGroupSpecificRepresentationState,
74
+ SegmentationState,
50
75
  ToolGroupSpecificContourRepresentation,
51
76
  ToolGroupSpecificLabelmapRepresentation,
52
77
  ToolGroupSpecificRepresentation,
53
- SegmentationState,
54
- RepresentationPublicInput,
78
+ ToolGroupSpecificRepresentationState,
79
+ ToolGroupSpecificRepresentations,
80
+ ToolGroupSpecificSurfaceRepresentation,
55
81
  } from './SegmentationStateTypes';
56
- import { ISculptToolShape } from './ISculptToolShape';
57
- import type ISynchronizerEventHandler from './ISynchronizerEventHandler';
82
+
83
+ // Cursors
84
+ import type { SVGCursorDescriptor, SVGPoint } from './CursorTypes';
85
+
86
+ // Scroll
87
+ import type ScrollOptions from './ScrollOptions';
88
+
89
+ // Cine
90
+ import type BoundsIJK from './BoundsIJK';
91
+ import type * as CINETypes from './CINETypes';
92
+ import type SVGDrawingHelper from './SVGDrawingHelper';
93
+
94
+ // FloodFill
58
95
  import type {
59
96
  FloodFillGetter,
60
97
  FloodFillOptions,
61
98
  FloodFillResult,
62
99
  } from './FloodFillTypes';
63
- import type IToolClassReference from './IToolClassReference';
64
- import type { ContourSegmentationData } from './ContourTypes';
65
- import type IAnnotationManager from './IAnnotationManager';
66
- import type AnnotationGroupSelector from './AnnotationGroupSelector';
67
- import type AnnotationRenderContext from './AnnotationRenderContext';
68
- import type { Statistics, NamedStatistics } from './CalculatorTypes';
69
- import type { CanvasCoordinates } from '../utilities/math/ellipse/getCanvasEllipseCorners';
100
+
101
+ // Contour
102
+ import type {
103
+ ContourConfig,
104
+ ContourRenderingConfig,
105
+ ContourSegmentationData,
106
+ } from './ContourTypes';
107
+
108
+ // Statistics
109
+ import type { NamedStatistics, Statistics } from './CalculatorTypes';
110
+
111
+ // Labelmap
70
112
  import {
71
113
  LabelmapToolOperationData,
114
+ LabelmapToolOperationDataAny,
72
115
  LabelmapToolOperationDataStack,
73
116
  LabelmapToolOperationDataVolume,
74
117
  } from './LabelmapToolOperationData';
75
- import type {
76
- InterpolationViewportData,
77
- ImageInterpolationData,
78
- } from './InterpolationTypes';
79
118
 
80
119
  // Splines
120
+ import type { BidirectionalData } from '../utilities/segmentation/createBidirectionalToolData';
81
121
  import type { CardinalSplineProps } from './CardinalSplineProps';
82
122
  import type { ClosestControlPoint } from './ClosestControlPoint';
83
123
  import type { ClosestPoint } from './ClosestPoint';
@@ -87,87 +127,97 @@ import type { ISpline } from './ISpline';
87
127
  import type { SplineCurveSegment } from './SplineCurveSegment';
88
128
  import type { SplineLineSegment } from './SplineLineSegment';
89
129
  import type { SplineProps } from './SplineProps';
90
- import type { BidirectionalData } from '../utilities/segmentation/createBidirectionalToolData';
130
+
131
+ // PolySeg
91
132
  import type { PolySegConversionOptions } from './PolySeg';
92
133
 
93
134
  export type {
94
135
  // AnnotationState
136
+ AcceptInterpolationSelector,
95
137
  Annotation,
138
+ AnnotationGroupSelector,
139
+ AnnotationState,
140
+ AnnotationStyle,
96
141
  Annotations,
97
- ContourAnnotationData,
98
- ContourAnnotation,
99
- ContourSegmentationAnnotationData,
100
- ContourSegmentationAnnotation,
101
142
  BidirectionalData,
102
143
  CanvasCoordinates,
144
+ ContourAnnotation,
145
+ ContourAnnotationData,
146
+ ContourSegmentationAnnotation,
147
+ ContourSegmentationAnnotationData,
148
+ ContourWindingDirection,
149
+ GroupSpecificAnnotations,
103
150
  IAnnotationManager,
104
- InterpolationViewportData,
105
151
  ImageInterpolationData,
106
- GroupSpecificAnnotations,
107
- AnnotationState,
108
- AnnotationStyle,
109
- ToolSpecificAnnotationTypes,
152
+ InterpolationViewportData,
110
153
  JumpToSliceOptions,
111
- AnnotationGroupSelector,
154
+ ToolSpecificAnnotationTypes,
112
155
  // Rendering
113
156
  AnnotationRenderContext,
114
157
  // Geometry
115
158
  PlanarBoundingBox,
116
- ToolProps,
117
159
  PublicToolProps,
118
160
  ToolConfiguration,
161
+ ToolProps,
119
162
  // Event data
120
163
  EventTypes,
164
+ IDistance,
121
165
  IPoints,
122
166
  ITouchPoints,
123
- IDistance,
124
167
  // ToolBindings
125
168
  IToolBinding,
126
- SetToolBindingsType,
127
- ToolOptionsType,
128
169
  InteractionTypes,
170
+ SetToolBindingsType,
129
171
  ToolAction,
172
+ ToolOptionsType,
130
173
  //
131
- IToolGroup,
132
- IToolClassReference,
133
- ISynchronizerEventHandler,
134
- ToolHandle,
135
174
  AnnotationHandle,
175
+ ISculptToolShape,
176
+ ISynchronizerEventHandler,
177
+ IToolClassReference,
178
+ IToolGroup,
136
179
  TextBoxHandle,
180
+ ToolHandle,
137
181
  // Segmentation
182
+ LabelmapTypes,
183
+ RepresentationConfig,
184
+ RepresentationPublicInput,
185
+ RepresentationPublicInputOptions,
186
+ SegmentSpecificRepresentationConfig,
138
187
  Segmentation,
139
- SegmentationState,
140
- SegmentationRepresentationData,
188
+ SegmentationPublicInput,
141
189
  SegmentationRepresentationConfig,
142
- RepresentationConfig,
143
- ToolGroupSpecificRepresentationState,
190
+ SegmentationRepresentationData,
191
+ SegmentationState,
144
192
  ToolGroupSpecificContourRepresentation,
145
193
  ToolGroupSpecificLabelmapRepresentation,
146
194
  ToolGroupSpecificRepresentation,
147
- RepresentationPublicInput,
148
- LabelmapTypes,
195
+ ToolGroupSpecificRepresentationState,
196
+ ToolGroupSpecificRepresentations,
197
+ ToolGroupSpecificSurfaceRepresentation,
149
198
  // Cursors
150
199
  SVGCursorDescriptor,
151
200
  SVGPoint,
152
201
  // Scroll
153
202
  ScrollOptions,
154
- // CINE
155
- CINETypes,
203
+ // Cine
156
204
  BoundsIJK,
205
+ CINETypes,
157
206
  SVGDrawingHelper,
158
207
  // FloodFill
159
- FloodFillResult,
160
208
  FloodFillGetter,
161
209
  FloodFillOptions,
210
+ FloodFillResult,
162
211
  // Contour
212
+ ContourConfig,
213
+ ContourRenderingConfig,
163
214
  ContourSegmentationData,
164
- ISculptToolShape,
165
- //Statistics
166
- Statistics,
215
+ // Statistics
167
216
  NamedStatistics,
168
-
169
- // Labelmap data
217
+ Statistics,
218
+ // Labelmap
170
219
  LabelmapToolOperationData,
220
+ LabelmapToolOperationDataAny,
171
221
  LabelmapToolOperationDataStack,
172
222
  LabelmapToolOperationDataVolume,
173
223
  // Splines
@@ -180,6 +230,6 @@ export type {
180
230
  SplineCurveSegment,
181
231
  SplineLineSegment,
182
232
  SplineProps,
183
- // polySeg
233
+ // PolySeg
184
234
  PolySegConversionOptions,
185
235
  };