Skip to content

Commit

Permalink
api update
Browse files Browse the repository at this point in the history
  • Loading branch information
Celian-abd committed Apr 5, 2024
1 parent c4f8799 commit 8267877
Showing 1 changed file with 58 additions and 24 deletions.
82 changes: 58 additions & 24 deletions common/reviews/api/tools.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -996,15 +996,26 @@ interface CircleROIStartEndThresholdAnnotation extends Annotation {
// (undocumented)
data: {
label: string;
startSlice: number;
endSlice: number;
startCoordinate: number;
endCoordinate: number;
cachedStats?: {
pointsInVolume: Types_2.Point3[];
projectionPoints: Types_2.Point3[][];
statistics?: ROICachedStats | any[];
};
handles: {
points: [Types_2.Point3, Types_2.Point3];
activeHandleIndex: number | null;
textBox?: {
hasMoved: boolean;
worldPosition: Types_2.Point3;
worldBoundingBox: {
topLeft: Types_2.Point3;
topRight: Types_2.Point3;
bottomLeft: Types_2.Point3;
bottomRight: Types_2.Point3;
};
};
};
};
// (undocumented)
Expand Down Expand Up @@ -1042,30 +1053,34 @@ export class CircleROIStartEndThresholdTool extends CircleROITool {
};
data: {
label: string;
startSlice: number;
endSlice: number;
startCoordinate: number;
endCoordinate: number;
handles: {
textBox: {
hasMoved: boolean;
worldPosition: any;
worldBoundingBox: any;
worldPosition: Types_2.Point3;
worldBoundingBox: {
topLeft: Types_2.Point3;
topRight: Types_2.Point3;
bottomLeft: Types_2.Point3;
bottomRight: Types_2.Point3;
};
};
points: [Types_2.Point3, Types_2.Point3];
activeHandleIndex: any;
};
cachedStats: {
pointsInVolume: any[];
projectionPoints: any[];
statistics: any[];
};
labelmapUID: any;
};
};
// (undocumented)
_calculateCachedStatsTool(annotation: any, enabledElement: any): any;
// (undocumented)
_checkIfViewPlaneIsValid: (viewPlane: Types_2.Point3) => boolean;
// (undocumented)
_computePointsInsideVolume(annotation: any, imageVolume: any, enabledElement: any): void;
_computePointsInsideVolume(annotation: any, imageVolume: any, targetId: any, enabledElement: any): void;
// (undocumented)
_computeProjectionPoints(annotation: CircleROIStartEndThresholdAnnotation, imageVolume: Types_2.IImageVolume): void;
// (undocumented)
Expand All @@ -1079,11 +1094,13 @@ export class CircleROIStartEndThresholdTool extends CircleROITool {
// (undocumented)
_endCallback: (evt: EventTypes_2.InteractionEventType) => void;
// (undocumented)
_getEndSliceIndex(imageVolume: Types_2.IImageVolume, worldPos: Types_2.Point3, spacingInNormal: number, viewPlaneNormal: Types_2.Point3): number | undefined;
_getCoordinateForViewplaneNormal(pos: vec3 | number, viewPlaneNormal: Types_2.Point3): number | undefined;
// (undocumented)
_getEndCoordinate(worldPos: Types_2.Point3, spacingInNormal: number, viewPlaneNormal: Types_2.Point3): number | undefined;
// (undocumented)
_getImageIdIndex(imageVolume: Types_2.IImageVolume, pos: vec3, viewPlaneNormal: Types_2.Point3): number | undefined;
_getIndexOfCoordinatesForViewplaneNormal(viewPlaneNormal: Types_2.Point3): number;
// (undocumented)
_getStartSliceIndex(imageVolume: Types_2.IImageVolume, worldPos: Types_2.Point3, spacingInNormal: number, viewPlaneNormal: Types_2.Point3): number | undefined;
_getStartCoordinate(worldPos: Types_2.Point3, spacingInNormal: number, viewPlaneNormal: Types_2.Point3): number | undefined;
// (undocumented)
isDrawing: boolean;
// (undocumented)
Expand Down Expand Up @@ -4058,16 +4075,27 @@ interface RectangleROIStartEndThresholdAnnotation extends Annotation {
// (undocumented)
data: {
label: string;
startSlice: number;
endSlice: number;
startCoordinate: number;
endCoordinate: number;
cachedStats: {
pointsInVolume: Types_2.Point3[];
projectionPoints: Types_2.Point3[][];
projectionPointsImageIds: string[];
statistics?: ROICachedStats | any[];
};
handles: {
points: Types_2.Point3[];
activeHandleIndex: number | null;
textBox: {
hasMoved: boolean;
worldPosition: Types_2.Point3;
worldBoundingBox: {
topLeft: Types_2.Point3;
topRight: Types_2.Point3;
bottomLeft: Types_2.Point3;
bottomRight: Types_2.Point3;
};
};
};
};
// (undocumented)
Expand Down Expand Up @@ -4105,18 +4133,24 @@ export class RectangleROIStartEndThresholdTool extends RectangleROITool {
};
data: {
label: string;
startSlice: number;
endSlice: number;
startCoordinate: number;
endCoordinate: number;
cachedStats: {
pointsInVolume: any[];
projectionPoints: any[];
projectionPointsImageIds: any[];
statistics: any[];
};
handles: {
textBox: {
hasMoved: boolean;
worldPosition: any;
worldBoundingBox: any;
worldPosition: Types_2.Point3;
worldBoundingBox: {
topLeft: Types_2.Point3;
topRight: Types_2.Point3;
bottomLeft: Types_2.Point3;
bottomRight: Types_2.Point3;
};
};
points: Types_2.Point3[];
activeHandleIndex: any;
Expand All @@ -4127,9 +4161,7 @@ export class RectangleROIStartEndThresholdTool extends RectangleROITool {
// (undocumented)
_calculateCachedStatsTool(annotation: any, enabledElement: any): any;
// (undocumented)
_checkIfViewPlaneIsValid: (viewPlane: Types_2.Point3) => boolean;
// (undocumented)
_computePointsInsideVolume(annotation: any, imageVolume: any, enabledElement: any): void;
_computePointsInsideVolume(annotation: any, targetId: any, imageVolume: any, enabledElement: any): void;
// (undocumented)
_computeProjectionPoints(annotation: RectangleROIStartEndThresholdAnnotation, imageVolume: Types_2.IImageVolume): void;
// (undocumented)
Expand All @@ -4143,11 +4175,13 @@ export class RectangleROIStartEndThresholdTool extends RectangleROITool {
// (undocumented)
_endCallback: (evt: EventTypes_2.InteractionEventType) => void;
// (undocumented)
_getEndSliceIndex(imageVolume: Types_2.IImageVolume, worldPos: Types_2.Point3, spacingInNormal: number, viewPlaneNormal: Types_2.Point3): number | undefined;
_getCoordinateForViewplaneNormal(pos: vec3 | number, viewPlaneNormal: Types_2.Point3): number | undefined;
// (undocumented)
_getEndCoordinate(worldPos: Types_2.Point3, spacingInNormal: number, viewPlaneNormal: Types_2.Point3): number | undefined;
// (undocumented)
_getImageIdIndex(imageVolume: Types_2.IImageVolume, pos: vec3, viewPlaneNormal: Types_2.Point3): number | undefined;
_getIndexOfCoordinatesForViewplaneNormal(viewPlaneNormal: Types_2.Point3): number;
// (undocumented)
_getStartSliceIndex(imageVolume: Types_2.IImageVolume, worldPos: Types_2.Point3, spacingInNormal: number, viewPlaneNormal: Types_2.Point3): number | undefined;
_getStartCoordinate(worldPos: Types_2.Point3, viewPlaneNormal: Types_2.Point3): number | undefined;
// (undocumented)
isDrawing: boolean;
// (undocumented)
Expand Down

0 comments on commit 8267877

Please sign in to comment.