Skip to main content
Version: Next

ChannelMapStore

Index

Constructors

constructor

Properties

channelMapEnabled

channelMapEnabled: boolean = false

Indicates whether the channel map mode is enabled.

numColumns

numColumns: number = 2

The number of columns in the image view.

numRows

numRows: number = 2

The number of rows in the image view.

pixelHighlightValue

pixelHighlightValue: number = NaN

showChannelString

showChannelString: boolean = false

showChannelStringLabel

showChannelStringLabel: boolean = false

showSpectralString

showSpectralString: boolean = false

showSpectralStringLabel

showSpectralStringLabel: boolean = false

showVelocityString

showVelocityString: boolean = false

showVelocityStringLabel

showVelocityStringLabel: boolean = false

startChannel

startChannel: number = 0

The first channel at the top-left corner.

Accessors

channelArray

  • get channelArray(): number[]
  • The displayed channels in the image view.


    Returns number[]

endChannel

  • get endChannel(): number
  • The last channel in the image view.


    Returns number

numChannels

  • get numChannels(): number
  • The number of panels in the image view.


    Returns number

staticInstance

Methods

handlePolarizationChanged

  • handlePolarizationChanged(frame: FrameStore): void
  • Clears the cache and requests new tiles when the polarization changes.


    Parameters

    Returns void

setChannelMapEnabled

  • setChannelMapEnabled(enabled: boolean): void
  • Enables or disables the channel map mode.


    Parameters

    • enabled: boolean

      Whether to enable the channel map mode.

    Returns void

setNextChannel

  • setNextChannel(): void
  • Sets the first channel at the top-left corner to the next channel.


    Returns void

setNextPage

  • setNextPage(): void
  • Moves to the next page of channels.


    Returns void

setNumColumns

  • setNumColumns(numColumns: number): void
  • Sets the number of columns in the image vew.


    Parameters

    • numColumns: number

      The number of columns in the image view.

    Returns void

setNumRows

  • setNumRows(numRows: number): void
  • Sets the number of rows in the image view.


    Parameters

    • numRows: number

      The number of rows in the image view.

    Returns void

setPixelHighlightValue

  • setPixelHighlightValue(val: number): void
  • Parameters

    • val: number

    Returns void

setPrevChannel

  • setPrevChannel(): void
  • Sets the first channel at the top-left corner to the previous channel.


    Returns void

setPrevPage

  • setPrevPage(): void
  • Moves to the previous page of channels.


    Returns void

setShowChannelString

  • setShowChannelString(show: boolean): void
  • Parameters

    • show: boolean

    Returns void

setShowChannelStringLabel

  • setShowChannelStringLabel(show: boolean): void
  • Parameters

    • show: boolean

    Returns void

setShowSpectralString

  • setShowSpectralString(show: boolean): void
  • Parameters

    • show: boolean

    Returns void

setShowSpectralStringLabel

  • setShowSpectralStringLabel(show: boolean): void
  • Parameters

    • show: boolean

    Returns void

setShowVelocityString

  • setShowVelocityString(show: boolean): void
  • Parameters

    • show: boolean

    Returns void

setShowVelocityStringLabel

  • setShowVelocityStringLabel(show: boolean): void
  • Parameters

    • show: boolean

    Returns void

setStartChannel

  • setStartChannel(startChannel: number): void
  • Sets the first channel at the top-left corner. Skips when the channel is out of range.


    Parameters

    • startChannel: number

      The first channel at the top-left corner.

    Returns void