Skip to main content
Version: Next

ImageViewConfigStore

Configuration of the images in the image view widget.

Index

Accessors

colorBlendingImageMap

  • A map of all the color blended images with their ids as keys.


    Returns Map<number, ColorBlendingStore>

colorBlendingImages

currentImagePage

  • get currentImagePage(): number
  • The index of the current page in the image view widget.


    Returns number

frames

  • All the loaded images in the image list.


    Returns FrameStore[]

imageNames

  • get imageNames(): string[]
  • Filenames in the image list.


    Returns string[]

imageNum

  • get imageNum(): number
  • Number of images in the image list.


    Returns number

imagePanelMode

imagesPerPage

  • get imagesPerPage(): number
  • The number of image panels on a page.


    Returns number

numImageColumns

  • get numImageColumns(): number
  • The number of columns in the image view widget.


    Returns number

numImagePages

  • get numImagePages(): number
  • The total number of pages in the image view widget.


    Returns number

numImageRows

  • get numImageRows(): number
  • The number of rows in the image view widget.


    Returns number

visibleFrames

  • The frames visible on the current page, including the loaded images and the layers of the color blended images.


    Returns FrameStore[]

visibleImages

  • The images on the current page in the image view widget.


    Returns ImageViewItem[]

staticInstance

Methods

addFrame

  • Adds a loaded image to the image list.


    Parameters

    Returns void

createColorBlending

  • Creates a new color blended image and adds it to the image list.


    Returns ColorBlendingStore

    The new color blended image.

getImage

  • Returns an image from the image list by index.


    Parameters

    • index: number

      The index of the image.

    Returns ImageViewItem

    A loaded image or a color blended image.

getImageListIndex

  • getImageListIndex(type: FRAME | COLOR_BLENDING, id: number): number
  • Returns the index of an image in the image list.


    Parameters

    • type: FRAME | COLOR_BLENDING

      The type of the image.

    • id: number

      The id of the image.

    Returns number

    The index of the image.

removeAllImages

  • removeAllImages(): void
  • Removes all images from the image list.


    Returns void

removeColorBlending

  • Removes a color blended image from the image list.


    Parameters

    Returns void

removeFrame

  • removeFrame(fileId: number): void
  • Removes a loaded image from the image list.


    Parameters

    • fileId: number

      The file id of the loaded image.

    Returns void

reorderImage

  • reorderImage(oldIndex: number, newIndex: number, length: number): void
  • Reorders images in the image list.


    Parameters

    • oldIndex: number

      The first index of the images to move.

    • newIndex: number

      The index to move the image to.

    • length: number

      The length of the images to move.

    Returns void

replaceFrame

  • replaceFrame(index: number, frame: FrameStore): void
  • Replaces a loaded image in the image list.


    Parameters

    • index: number

      The image list index.

    • frame: FrameStore

      The new loaded image.

    Returns void