Class: annotationFrameRange
This class handles the annotation frame range values for multiframes. Mostly used for the Video viewport, it allows references to a range of frame values.
Constructors
new annotationFrameRange()
new annotationFrameRange():
annotationFrameRange
Returns
Properties
frameRangeExtractor
protectedstaticframeRangeExtractor:RegExp
Defined in
tools/src/utilities/annotationFrameRange.ts:13
Methods
framesToImageId()
protectedstaticframesToImageId(imageId,range):string
Parameters
• imageId: string
• range: string | FramesRange
Returns
string
Defined in
tools/src/utilities/annotationFrameRange.ts:35
framesToString()
staticframesToString(range):string
Parameters
• range: any
Returns
string
Defined in
tools/src/utilities/annotationFrameRange.ts:28
getFrameRange()
staticgetFrameRange(annotation):number| [number,number]
Parameters
• annotation: Annotation
Returns
number | [number, number]
Defined in
tools/src/utilities/annotationFrameRange.ts:73
imageIdToFrames()
protectedstaticimageIdToFrames(imageId):FramesRange
Parameters
• imageId: string
Returns
FramesRange
Defined in
tools/src/utilities/annotationFrameRange.ts:16
setFrameRange()
staticsetFrameRange(annotation,range,eventBase?):void
Sets the range of frames to associate with the given annotation.
The range can be a single frame number (1 based according to DICOM),
or a range of values in the format min-max where min, max are inclusive
Modifies the referencedImageID to specify the updated URL.
Parameters
• annotation: Annotation
• range: string | FramesRange
• eventBase?
• eventBase.renderingEngineId?: any
• eventBase.viewportId?: any
Returns
void