Class DisplayArea

description

This class is a representation of (0070,005A) Displayed Area Selection Sequence tag fetched from native side. contains the information about where the presentation to be rendered, and referenced images that to be applied

Hierarchy

  • DisplayArea

Index

Constructors

constructor

  • new DisplayArea(referencedImageSequence?: Array<ReferencedImage>, topLeftHandCorner: Point, bottomRightHandCorner: Point, presentationPixelSpacing: string, presentationSizeMode: string): DisplayArea
  • description

    Creates new instance

    Parameters

    • Default value referencedImageSequence: Array<ReferencedImage> = []

      referenced images that to be use this instance

    • topLeftHandCorner: Point

      top left corner point

    • bottomRightHandCorner: Point

      bottom right corner point

    • presentationPixelSpacing: string

      pixel spacing

    • presentationSizeMode: string

      presentation mode

    Returns DisplayArea

    Returns the newly created instance

Properties

bottomRightHandCorner

bottomRightHandCorner: Point

presentationPixelSpacing

presentationPixelSpacing: string

presentationSizeMode

presentationSizeMode: string

referencedImageSequence

referencedImageSequence: Array<ReferencedImage> = []

topLeftHandCorner

topLeftHandCorner: Point

Methods

addReferencedImage

  • addReferencedImage(sopInstanceUID: string, frameNumber: number): void
  • description

    Create and add new referenced image

    Parameters

    • sopInstanceUID: string

      sop instance uid of the referenced image to be created

    • frameNumber: number

      frame number of the referenced image to be created

    Returns void

isReferencedImageExists

  • isReferencedImageExists(sopInstanceUID: any, frameNumber: number): boolean
  • description

    Check whether the given referenced image exists or not

    Parameters

    • sopInstanceUID: any

      sop instance uid to be checked

    • frameNumber: number

      frame number to be searched

    Returns boolean

    Returns true on success case, false on failure case