Class RenderEngineContext2D

renderEngineContext2D is backed by a native 2D renering engine and is typically associated with a Fovia.UI.HTMLViewport2D , although it can be created directly if the application is managing its own UI events.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Private constructor

Properties

Protected cachedRenderParams

cachedRenderParams: any = null

Private cadSrSeriesDataContextList

cadSrSeriesDataContextList: Array<CadSrSeriesContext> = []

Private contentCreatorName

contentCreatorName: string = Fovia.Util.Constants.CONTENT_CREATOR_NAME

Private derivedUIDRoot

derivedUIDRoot: string = "2.25"

Private dicomImgHeight

dicomImgHeight: any

Private dicomImgWidth

dicomImgWidth: any

Private dicomPixelSpacing

dicomPixelSpacing: any

Private frameOfReferenceUID

frameOfReferenceUID: any

Private graphicLayerColorMap

graphicLayerColorMap: any = new Map<string, Fovia.Util.Color>()

Private imageReadyCallback

imageReadyCallback: Function

Private imgOrientationXVector

imgOrientationXVector: any

Private imgOrientationYVector

imgOrientationYVector: any

Private imgOrientationZVector

imgOrientationZVector: any

Private imgPosition

imgPosition: any

Private instanceNumber

instanceNumber: any

Private isChangedToWindowLevel

isChangedToWindowLevel: boolean = false

Private isMultiFrame

isMultiFrame: boolean = false

Private lastImagePixelSpacing

lastImagePixelSpacing: Point = new Fovia.Util.Point(1,1)

Private lastOffset

lastOffset: any

Private lastWindowLevel

lastWindowLevel: any

Private lastWindowWidth

lastWindowWidth: any

Private lastZoom

lastZoom: any

Private nonImageData

nonImageData: any = null

Private orgRoot

orgRoot: string = null

Private presentationID

presentationID: string = null

Private presentationSeriesDataContext

presentationSeriesDataContext: PresentationDataContext = null

Private presentationSeriesDataContextList

presentationSeriesDataContextList: PresentationDataContext[] = []

Private renderEngineID

renderEngineID: number

Private renderImgHeight

renderImgHeight: any

Private renderImgWidth

renderImgWidth: any

Private selectedPresentationIndex

selectedPresentationIndex: number = 0

Private seriesDataContext

seriesDataContext: SeriesDataContext

Private seriesSegmentationContext

seriesSegmentationContext: SeriesSegmentationContext = null

Private showAnnotation

showAnnotation: boolean = true

Private showCadSR

showCadSR: boolean = false

Private showSegmentation

showSegmentation: boolean = false

Private topLeftCorner

topLeftCorner: any

Private usePresentationState

usePresentationState: boolean = true

Private viewingAttributesUpdated

viewingAttributesUpdated: boolean = false

Private visualAttributes

visualAttributes: any = new Map<Fovia.GraphicType, Fovia.Util.VisualAttribute>()

Methods

addCadSeriesDataContext

  • Add the cadSrSeriesDataContext into list of CAD SR Markings

    Parameters

    Returns void

addCircleAnnotation

  • addCircleAnnotation(annotation: CircleGraphicAnnotation, referencedSopInstanceUID: string, frameNumber: number): boolean
  • Add circle annotation to presentation series context

    Parameters

    • annotation: CircleGraphicAnnotation

      A circle graphic annotation

    • referencedSopInstanceUID: string

      referenced sop instance uid

    • frameNumber: number

      frame number

    Returns boolean

    boolean true if annotation is added or false

addEllipseAnnotation

  • addEllipseAnnotation(annotation: EllipseGraphicAnnotation, referencedSopInstanceUID: string, frameNumber: number): boolean
  • Add ellipse annotation to presentation series context

    Parameters

    • annotation: EllipseGraphicAnnotation

      An ellipse graphic annotation

    • referencedSopInstanceUID: string

      referenced sop instance uid

    • frameNumber: number

      frame number

    Returns boolean

    boolean true if annotation is added or false

addLineAnnotation

  • Add line annotation to presentation series context

    Parameters

    • annotation: PolylineGraphicAnnotation

      A line graphic annotation

    • referencedSopInstanceUID: string

      referenced sop instance uid

    • frameNumber: number

      frame number

    Returns boolean

    boolean true if annotation is added or false

addPointAnnotation

  • addPointAnnotation(annotation: PointGraphicAnnotation, referencedSopInstanceUID: string, frameNumber: number): boolean
  • Add point annotation to presentation series context

    Parameters

    • annotation: PointGraphicAnnotation

      A point graphic annotation

    • referencedSopInstanceUID: string

      referenced sop instance uid

    • frameNumber: number

      frame number

    Returns boolean

    boolean true if annotation is added or false

addPresentationObject

  • Set PresentationDataContext object to the list.

    Parameters

    Returns void

addTextAnnotation

  • addTextAnnotation(annotation: TextGraphicAnnotation, referencedSopInstanceUID: string, frameNumber: number): boolean
  • Add text annotation to presentation series context

    Parameters

    • annotation: TextGraphicAnnotation

      A text graphic annotation

    • referencedSopInstanceUID: string

      referenced sop instance uid

    • frameNumber: number

      frame number

    Returns boolean

    boolean true if annotation is added or false

applyPresentationStates

  • applyPresentationStates(renderParams: RenderParams2D): Promise<string>
  • description

    applies viewing attributes for the given image. It will apply either from presentation data or from default image tags

    Parameters

    • renderParams: RenderParams2D

      render params2D object holding instance details

    Returns Promise<string>

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

arePointsWithinImageBounds

  • arePointsWithinImageBounds(points: Array<Point>, deltaX?: number, deltaY?: number): boolean
  • Check if given points are within image dislay area by adding given delta x and y

    Parameters

    • points: Array<Point>

      An array of points to be validated

    • Default value deltaX: number = 0

      point x to be added to each point. Default to 0

    • Default value deltaY: number = 0

      point y to be added to each point. Default to 0

    Returns boolean

    boolean true if all the given points are within image bouding area otherwise false

canShowAnnotations

  • canShowAnnotations(): boolean
  • Return true if graphic annotations can be shown for this engine, otherwise false

    Returns boolean

    true/false

canShowCADMarking

  • canShowCADMarking(): boolean
  • Return true if CAD SR Marking can be shown for this engine, otherwise false

    Returns boolean

    true/false

convertCadSrToPresentation

  • Convert list of CAD markings data into Presentation data context and return them

    Returns Array<PresentationDataContext>

    An array of PresentationDataContext

createDefaultPresentationObject

  • createDefaultPresentationObject(): void
  • Create a new PresentationDataContext object to be associated to this renderengine. The newly added graphic annotations will be managed by this object

    Returns void

deleteAnnotation

  • deleteAnnotation(graphicType: GraphicType, sopInstanceUid: string, frameNumber: number): void
  • Delete given annotation type and sop instance Uid

    Parameters

    • graphicType: GraphicType

      type of annotation

    • sopInstanceUid: string

      currently loaded image

    • frameNumber: number

    Returns void

dicomImagePixelToRenderImagePixel

  • dicomImagePixelToRenderImagePixel(dicomPoint: any): Point
  • Synchronous call that maps the DICOM image point to the viewport (pixel) coordindates), taking into account the current the zoom/pan/rotation values. This is analogous to the 3D "project ray" functionality

    Parameters

    • dicomPoint: any

      DICOM image point (mm's)

    Returns Point

    viewport point (pixel space)

disablePresentationList

  • disablePresentationList(): void
  • Disable all the presentation data list associated to this series

    Returns void

displayAnnotations

  • displayAnnotations(showAnnotation?: boolean): void
  • Set value for showAnnotation flag

    Parameters

    • Default value showAnnotation: boolean = true

      boolean value to be set. Defaults to true

    Returns void

displayCadMarkings

  • displayCadMarkings(showCadSR?: boolean): void
  • Set value for showCadSR flag

    Parameters

    • Default value showCadSR: boolean = true

      boolean value to be set. Defaults to true

    Returns void

displaySegmentation

  • displaySegmentation(showSegmentation?: boolean, callbackFunc?: any): any
  • description

    display or hide segmentation

    Parameters

    • Default value showSegmentation: boolean = true

      flag true to render false to hide

    • Optional callbackFunc: any

      call back method to call on both success and failure case

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

distPointToImage

  • distPointToImage(inputPoint: Vector, index: number): number
  • Synchronous call that computes the distance from a DICOM image point (inputPoint) in patient space (mm's) to a given image.

    Parameters

    • inputPoint: Vector

      3D vector in Fovia volume space

    • index: number

      image number in the current series loaded by this render engine

    Returns number

    distance from inputPoint and the image

getActivePresentationID

  • getActivePresentationID(): string
  • Get active presentation sopInstanceUid for active presentation

    Returns string

    presentation sopInstanceUid if success otherwise return null

getAnnotations

  • Get annotations from presentation data list for given type and SOP instance UID

    Parameters

    • graphicType: GraphicType

      graphic annotation type

    • sopInstanceUID: string

      image identifier

    Returns Array<GraphicAnnotation>

    list of graphic annotations associated for the given type and instance

getAnnotationsFromCadSR

  • Get annotations from CAD SR markings list for given type and SOP instance UID

    Parameters

    • graphicType: GraphicType

      graphic annotation type

    • sopInstanceUID: string

      image identifier

    Returns Array<GraphicAnnotation>

    list of graphic annotations associated for the given type and instance

getCachedRenderParams

  • getCachedRenderParams(): any

getDisplayArea

  • Get image bound area

    Returns Rect2D

    Fovia.Util.Rect2D class if valid image width and height found, otherwise null

Private getGraphicLayerColor

  • getGraphicLayerColor(graphicLayer: string): Color
  • Get CIELab color value for given graphic layer. Value from dicom tag (0070,0401) converted to RGB

    Parameters

    • graphicLayer: string

      graphic layer name for which the color value is required

    Returns Color

    Fovia.Util.Color object if value found for given object, otherwise undefined

getMarkerSummary

  • Get marker summary details for given image tag

    Parameters

    Returns ConceptSummary

    Fovia.ConceptSummary value if found, otherwise null

getMultiframeFlag

  • getMultiframeFlag(): boolean
  • Return true if the loaded series in this renderengine is multiframe, otherwise false

    Returns boolean

    true/false

getNonImageData

  • getNonImageData(): any
  • Returns any

getOrgRoot

  • getOrgRoot(): string
  • Get organization root value

    Returns string

    org. root value

getPresentationList

getPresentationListToSave

  • getPresentationListToSave(totalPresentations: number): Array<any>
  • Retrun list of presentation to save.

    Parameters

    • totalPresentations: number

    Returns Array<any>

    Array list of objects with key value pair

Private getRenderEngineID

  • getRenderEngineID(): number
  • returns the renderEngine ID associated with this object (only used internally)

    Returns number

getRenderParams

  • getRenderParams(callbackFunc?: any): any
  • description

    retreives the native renderEngineContext2D current render parameters. Keep in mind that to avoid a round-trip to the server, the complete renderParams are returned with each image from the server. Also, a cached copy of the last renderParams is accessible from the getCachedRenderParams

    Parameters

    • Optional callbackFunc: any

      call back method that to be called on both success and failure case

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

getReverseRotatedImagePoint

  • getReverseRotatedImagePoint(imagePoint: any): Point
  • Rotates the converted screen point based on image rotation angle to get the translated point.

    Parameters

    • imagePoint: any

    Returns Point

    rotated dicom point (mm's)

getRotatedDicomPoint

  • getRotatedDicomPoint(dicomPoint: any): Point
  • Rotates the dicom image point based on image rotation angle to get the translated point.

    Parameters

    • dicomPoint: any

    Returns Point

    rotated dicom point (mm's)

getRotationAngle

  • getRotationAngle(): number
  • Get rotation angle from cached render params

    Returns number

    (0/90/180/270)

getSegmentationColorAtIndex

  • getSegmentationColorAtIndex(index: number, callbackFunc?: any): any
  • description

    Gets the RGBA color at specific index in 256 colors map used for 2D segmentation

    Parameters

    • index: number

      number between 0 and 255 as index in the 256 elements map of colors

    • Optional callbackFunc: any

      optional, use callback instead of promises

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

getSelectedAnnotation

  • Get annotation by given point and sop instance Uid

    Parameters

    • currentPoint: Point

      selected point on the screen coordinates

    • sopInstanceUID: string

      currently loaded image

    • frameNumber: number

      currently loaded frame

    Returns GraphicAnnotation

    Graphic Annotation matching the given point instance

getSelectedCadMarking

  • Get annotation by given point and sop instance Uid from CAD SR markings

    Parameters

    • currentPoint: Point

      selected point on the screen coordinates

    • sopInstanceUID: string

      currently loaded image

    • frameNumber: number

      currently loaded frame

    Returns GraphicAnnotation

    Graphic Annotation matching the given point instance

getSeriesDataContext

getVisualAttribute

  • Get visual attributes for given graphic annotation type

    Parameters

    Returns VisualAttribute

    Visual attribute if given type is found, otherwise undefined

Private imageReceived

  • imageReceived(data: any): void
  • invoked when an image for this renderEngine is received from the server. This will set internal state based on the received image, and then invoke the imageReadyCallback. (only used internally)

    Parameters

    • data: any

    Returns void

initializeDefaultPS

  • Initialize viewing attributes from default image tags

    Parameters

    Returns void

initializeFromViewingAttributes

  • initializeFromViewingAttributes(renderParams: RenderParams2D, sopInstanceUID: string): boolean
  • Initialize viewing attributes from presentation state values

    Parameters

    • renderParams: RenderParams2D

      render params to be updated

    • sopInstanceUID: string

      instance to which the value should be updated

    Returns boolean

isOrgRootValid

  • isOrgRootValid(): boolean
  • Return true if organization root value is not empty, else false

    Returns boolean

isPresentationDataAvailable

  • isPresentationDataAvailable(): boolean
  • Check if existing presentation data list is available for this series

    Returns boolean

    boolean true if atlease one presentation data is available, otherwise false

isValidPan

  • isValidPan(offsetX: number, offsetY: number, viewportWidth: number, viewportHeight: number, zoom: number): boolean
  • Check if valid panning is done by using the given offset, viewport width and height and current zoom value

    Parameters

    • offsetX: number

      offset x

    • offsetY: number

      offset y

    • viewportWidth: number

      viewport width

    • viewportHeight: number

      viewport height

    • zoom: number

      current zoom factor value

    Returns boolean

    boolean true if current pan is valid otherwise false

isWindowLevel

  • isWindowLevel(): boolean
  • Returns boolean

loadCADMarkings

  • loadCADMarkings(type: GraphicType, dicomImageTags: any): any[]
  • Load annotations from CAD SR markings for given graphic type and image information

    Parameters

    • type: GraphicType

      one of the graphic object type

    • dicomImageTags: any

      dicom image tags

    Returns any[]

    list of graphic annotations associated for the given type and instance

mapPointFromFrameOfReference

  • mapPointFromFrameOfReference(inputVector: Vector): any
  • Synchronous call that maps a point from the 3D location in 3D Patient Space (mm's) using the DICOM Frame of Reference origin to the image plane (in mm's) of the DICOM image

    Parameters

    • inputVector: Vector

      3D location in 3D Patient Space (mm's)

    Returns any

    the imagePixel which is the location in the image plane of the DICOM image, and the perpindicularDistToImage from the input vector , which is in mm's

mapPointToFrameOfReference

  • mapPointToFrameOfReference(inputPoint: Point): Vector
  • Synchronous call that maps a point from the DICOM image point the 3D location in 3D Patient Space (mm's) using the DICOM Frame of Reference origin

    Parameters

    Returns Vector

    3D location in 3D Patient Space (mm's)

Private pdfReceived

  • pdfReceived(data: any): void
  • invoked when an pdf for this renderEngine is received from the server. This will set internal state based on the received pdf, and then invoke the imageReadyCallback. (only used internally)

    Parameters

    • data: any

    Returns void

presentationStateEnabled

  • presentationStateEnabled(): boolean
  • Return presentation state flag

    Returns boolean

    boolean stating whether presentation state data should be applied

releaseSessionResources

  • releaseSessionResources(callbackFunc?: any): any
  • description

    Releases all resources assoicated with this render engine 2D. It does NOT relase memory associated with the series displayed by this render engine.

    Parameters

    • Optional callbackFunc: any

      call back method to be called on both success and failure case

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

removePresentaions

  • removePresentaions(sopInstanceUIDList: Array<string>): void
  • Parameters

    • sopInstanceUIDList: Array<string>

    Returns void

Private removePresentation

  • removePresentation(sopInstanceUID: any): void
  • Parameters

    • sopInstanceUID: any

    Returns void

render

  • Triggers a render on this engine. The only difference between render and renderFinal is that render uses the interactive JPEG quality whil renderFinal uses final JPEG quality, as specified in setJPEGQuality. The imageReadyCallback associated with thsi render engine will be invokved once the image is ready

    Returns ReturnCode

renderFinal

  • Triggers a render final on this engine. The only difference between render and renderFinal is that render uses the interactive JPEG quality whil renderFinal uses final JPEG quality, as specified in setJPEGQuality. The imageReadyCallback associated with thsi render engine will be invokved once the image is ready

    Returns ReturnCode

renderImagePixelToDicomImagePixel

  • renderImagePixelToDicomImagePixel(viewportPoint: Point): Point
  • Synchronous call that maps an input point (viewport coordindates), and based on the zoom/pan/rotation, computes the DICOM image point. This is analogous to the 3D "shoot ray" functionality.

    Parameters

    • viewportPoint: Point

      viewport input point (pixel space)

    Returns Point

    DICOM image point (mm's)

renderPDF

  • Triggers a render final pdf on this engine.

    Returns ReturnCode

resetCadMarkings

  • resetCadMarkings(): void
  • Clear list of CAD SR Markings

    Returns void

resetPresentationData

  • resetPresentationData(): void
  • Clear list of presentations

    Returns void

setAnnotationColor

  • setAnnotationColor(graphicLayer: string, r: number, g: number, b: number): void
  • Set annotation color (in rgb) for given graphic layer

    Parameters

    • graphicLayer: string

      graphic layer name

    • r: number

      r value

    • g: number

      g value

    • b: number

      b value

    Returns void

setAnnotationModifiedFlag

  • setAnnotationModifiedFlag(flag: boolean): void
  • Set flag stating whether a graphic annotation is modified or not This expects one presentation is already selected (selectedPresentationIndex)

    Parameters

    • flag: boolean

      true/false

    Returns void

setBackgroundColor

  • setBackgroundColor(graphicType: GraphicType, color: string): boolean
  • Set background color for font for the given graphic type

    Parameters

    • graphicType: GraphicType

      annotation type

    • color: string

      color to be set as background

    Returns boolean

    true if given graphic type is found, otherwise false

setChangedToWindowLevel

  • setChangedToWindowLevel(changedToWindowLevel: boolean): void
  • Parameters

    • changedToWindowLevel: boolean

    Returns void

setContentCreator

  • setContentCreator(contentCreator: string): void
  • Set value for content creator name (0070,0084)

    Parameters

    • contentCreator: string

      value for content creator name

    Returns void

setDefaultColorsforSegmentation

  • setDefaultColorsforSegmentation(callbackFunc?: any): any
  • description

    Resets to all default colors for 2D segmentation, this wil reset any modifications made for segmentatio color for this 2D render engine

    Parameters

    • Optional callbackFunc: any

      optional, use callback instead of promises

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

setFontSize

  • setFontSize(graphicType: GraphicType, size: number): boolean
  • Set font size for the given graphic type

    Parameters

    • graphicType: GraphicType

      annotation type

    • size: number

      font size

    Returns boolean

    true if given graphic type is found, otherwise false

setFontType

  • setFontType(graphicType: GraphicType, fontType: string): boolean
  • Set font type for the given graphic type

    Parameters

    • graphicType: GraphicType

      annotation type

    • fontType: string

      type of font

    Returns boolean

    true if given graphic type is found, otherwise false

setForegroundColor

  • setForegroundColor(graphicType: GraphicType, color: string): boolean
  • Set foreground color for font for the given graphic type

    Parameters

    • graphicType: GraphicType

      annotation type

    • color: string

      color to be set as foreground

    Returns boolean

    true if given graphic type is found, otherwise false

setKeyImages

  • Set list of reference image associated to this series

    Parameters

    • referencedImageSequence: Array<ReferencedImage>

      An array of referenced image sequence

    Returns void

setLineColor

  • setLineColor(graphicType: GraphicType, color: string): boolean
  • Set color for lines for given graphic type

    Parameters

    • graphicType: GraphicType

      annotation type

    • color: string

      color to be set to line

    Returns boolean

    true if given graphic type is found, otherwise false

setLineWidth

  • setLineWidth(graphicType: GraphicType, width: number): boolean
  • Set line width for given graphic type

    Parameters

    • graphicType: GraphicType

      annotation type

    • width: number

      width to be set to line

    Returns boolean

    true if given graphic type is found, otherwise false

setNonImageData

  • setNonImageData(data: any): void
  • Parameters

    • data: any

    Returns void

setOrgRoot

  • setOrgRoot(value: string): void
  • Set organization root value for generating UUIDs

    Parameters

    • value: string

      value to be set to org. root

    Returns void

setPresentationDataContext

  • Set PresentationDataContext which holds newly added graphic annotations and viewing attributes and enable the presentation is valid object

    Parameters

    Returns void

setPresentationDataList

setPresentationID

  • setPresentationID(presentationID: string): void
  • Set presentationID which holds the presentation sopinstanceuid

    Parameters

    • presentationID: string

      presentationID for this series

    Returns void

setPresentationInstanceUID

  • setPresentationInstanceUID(presentationID: string, callbackFunc?: any): any
  • deprecated

    updates the native renderEngineContext2D with the supplied presentation id

    Parameters

    • presentationID: string

      presentationID that will be sent to the server

    • Optional callbackFunc: any

      call back method to be called on both success and failure case

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

setPresentationState

  • setPresentationState(flag?: boolean): void
  • Set flag to state whether to use presentation state values or default

    Parameters

    • Default value flag: boolean = true

    Returns void

setRenderParams

  • deprecated

    updates the native renderEngineContext2D with the supplied render params

    Parameters

    • rp: RenderParams2D

      render parameters that will be sent to the server

    • Default value optionRender: RenderRequest = Fovia.RenderRequest.noRender

      enum to instruct the render engine to re-render with the updated parameters

    • Optional callbackFunc: any

      call back method to be called on both success and failure case

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

setSegmentationColorAtIndex

  • setSegmentationColorAtIndex(index: number, color: Color, callbackFunc?: any): any
  • description

    Sets the RGBA color at specific index in 256 colors map to be used for 2D segmentation This will override the default color in the map for this render engine

    Parameters

    • index: number

      number between 0 and 255 as index in the 256 elements map of colors

    • color: Color

      Fovia.Util.Color to set set the specific index

    • Optional callbackFunc: any

      optional, use callback instead of promises

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

setSeriesSegmentationContext

  • description

    update the native series segmentation context from the given SeriesSegmentationContext

    Parameters

    • seriesSegmentationContext: SeriesSegmentationContext

      SeriesSegmentationContext to be updated

    • Optional callbackFunc: any

      call back method that to be called on both success and failure case

    Returns any

    This is an asynchronous method that returns a Promise as follows:

    Promise .then(void) .catch (err: ReturnCode )

setViewingAttribute

  • Set viewing attribute values to presentation data context

    Parameters

    • viewingAttribute: ViewingAttribute

      ViewingAttribute to be applied to this series

    Returns void

toggleAnnotationVisibility

  • toggleAnnotationVisibility(): void
  • Toggle showAnnotation flag

    Returns void

updateViewingAttribute

  • Update viewing attributes(rotate/flip/inverse) to presentation when modified

    Parameters

    • renderParams: RenderParams2D

      Fovia.RenderParams2D object having updated viewing attributes

    Returns void

updateWindowLevel

  • Update W/L level value from render params

    Parameters

    • rp: RenderParams2D

      Fovia.RenderParams2D object having updated W/L values and image details

    Returns void