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 :ColourMap|undefined

Optional view colour map.

Type:

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