ChannelMapStore
Index
Constructors
Properties
Accessors
Methods
- handlePolarizationChanged
- setChannelMapEnabled
- setColor
- setCustomColor
- setFont
- setFontSize
- setNextChannel
- setNextPage
- setNumColumns
- setNumRows
- setPixelHighlightValue
- setPrevChannel
- setPrevPage
- setShowChannelString
- setShowSpectralString
- setShowSpectralStringUnit
- setShowVelocityString
- setShowVelocityStringUnit
- setStartChannel
Constructors
constructor
Returns ChannelMapStore
Properties
channelMapEnabled
color
The custom color used for rendering the channel map label.
customColor
Indicates whether to use a custom color for rendering the channel map label.
font
Font index used for rendering the channel map label.
fontSize
Font size in pixels used for rendering the channel map label.
numColumns
The number of columns in the image view.
numRows
The number of rows in the image view.
pixelHighlightValue
The threshold value below which pixels are displayed in grayscale.
showChannelString
Indicates whether to show the channel string.
showSpectralString
Indicates whether to show the spectral string.
showSpectralStringUnit
Indicates whether to show the unit of the spectral string.
showVelocityString
Indicates whether to show the velocity string.
showVelocityStringUnit
Indicates whether to show the unit of the velocity string.
startChannel
The first channel at the top-left corner.
staticreadonlyDefaultLabelColor
The default color used for rendering the channel map label.
Accessors
channelArray
The displayed channels in the image view.
Returns number[]
displayedFrame
The frame of the displayed image in the image view.
Returns FrameStore
displayedImage
The displayed image in the image view.
Returns ImageViewItem
endChannel
The last channel in the image view.
Returns number
numChannels
The number of panels in the image view.
Returns number
totalChannelNum
The number of channels of the displayed image. Returns 1 if the information is unavailable.
Returns number
staticInstance
Returns ChannelMapStore
Methods
handlePolarizationChanged
Clears the cache and requests new tiles when the polarization changes.
Parameters
frame: FrameStore
the frame to request tiles for.
Returns void
setChannelMapEnabled
Enables or disables the channel map mode.
Parameters
enabled: boolean
Whether to enable the channel map mode.
Returns void
setColor
Sets the color used for rendering the channel map label.
Parameters
color: string
The custom color.
Returns void
setCustomColor
Sets whether to use a custom color for rendering the channel map label.
Parameters
customColor: boolean
True to use a custom color, false to use the default color.
Returns void
setFont
Sets the font index used for rendering the channel map label.
Parameters
font: number
Font index.
Returns void
setFontSize
Sets the font size in pixels used for rendering the channel map label.
Parameters
fontSize: number
Font size in pixels.
Returns void
setNextChannel
Sets the first channel at the top-left corner to the next channel.
Returns void
setNextPage
Moves to the next page of channels.
Returns void
setNumColumns
Sets the number of columns in the image view.
Parameters
numColumns: number
The number of columns in the image view.
Returns void
setNumRows
Sets the number of rows in the image view.
Parameters
numRows: number
The number of rows in the image view.
Returns void
setPixelHighlightValue
Sets the threshold value below which pixels are displayed in grayscale.
Parameters
val: number
Threshold value.
Returns void
setPrevChannel
Sets the first channel at the top-left corner to the previous channel.
Returns void
setPrevPage
Moves to the previous page of channels.
Returns void
setShowChannelString
Show or hide the channel string.
Parameters
show: boolean
True to show, false to hide.
Returns void
setShowSpectralString
Show or hide the spectral string.
Parameters
show: boolean
True to show, false to hide.
Returns void
setShowSpectralStringUnit
Show or hide the unit of the spectral string.
Parameters
show: boolean
True to show, false to hide.
Returns void
setShowVelocityString
Show or hide the velocity string.
Parameters
show: boolean
True to show, false to hide.
Returns void
setShowVelocityStringUnit
Show or hide the unit of the velocity string.
Parameters
show: boolean
True to show, false to hide.
Returns void
setStartChannel
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
Indicates whether the channel map mode is enabled.