ViewConfig

View configuration: mainly defines the ´divId´ of the associated HTML div.

Constructor

new ViewConfig(divId)

Parameters:
NameTypeDescription
divIdstring

The associated HTML div id.

Classes

ViewConfig

Members

colourMap :string|undefined

Optional view colour map name.

Type:
  • string | undefined

divId :string

Associated HTML div id.

Type:
  • string

opacity :number|undefined

Optional layer opacity; in [0, 1] range.

Type:
  • number | undefined

orientation :string|undefined

Optional orientation of the data; 'axial', 'coronal' or 'sagittal'. If undefined, will use the data aquisition plane.

Type:
  • string | undefined

windowCenter :number|undefined

Optional layer window center.

Type:
  • number | undefined

windowWidth :number|undefined

Optional layer window width.

Type:
  • number | undefined

wlPresetName :string|undefined

Optional layer window level preset name. If present, the preset name will be used and the window centre and width ignored.

Type:
  • string | undefined