Skip to main content
Version: Next

PvGeneratorWidgetStore

Hierarchy

Index

Constructors

constructor

Properties

fileId

fileId: number

keep

keep: boolean

previewFrame

previewFrame: FrameStore

previewRegionId

previewRegionId: number

pvCutRegionId

pvCutRegionId: number

range

range: IIntBounds = ...

regionIdMap

regionIdMap: Map<number, number>

reverse

reverse: boolean

type

width

width: number

xyRebin

xyRebin: number = 1

zRebin

zRebin: number = 1

Accessors

effectiveFrame

  • Returns FrameStore

effectivePreviewRegionId

  • get effectivePreviewRegionId(): number
  • Returns number

effectiveRegion

  • Returns RegionStore

effectiveRegionId

  • get effectiveRegionId(): number
  • Returns number

effectiveRegionInfo

  • get effectiveRegionInfo(): string
  • Returns string

frameOptions

  • get frameOptions(): OptionProps[]
  • Returns OptionProps[]

isEffectiveFrameEqualToActiveFrame

  • get isEffectiveFrameEqualToActiveFrame(): boolean
  • Returns boolean

matchesSelectedRegion

  • get matchesSelectedRegion(): boolean
  • Returns boolean

previewRegionOptions

  • get previewRegionOptions(): OptionProps[]
  • Returns OptionProps[]

regionOptions

  • get regionOptions(): OptionProps[]
  • Returns OptionProps[]

Methods

clearFrameEntry

  • clearFrameEntry(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

clearRegionMap

  • clearRegionMap(): void
  • Returns void

removePreviewFrame

  • removePreviewFrame(id: number): void
  • Parameters

    • id: number

    Returns void

requestPV

  • requestPV(preview?: boolean, pvGeneratorId?: string): void
  • Parameters

    • preview: boolean = false
    • optionalpvGeneratorId: string

    Returns void

requestingPVCancelled

  • requestingPVCancelled(pvGeneratorId: string): () => void
  • Parameters

    • pvGeneratorId: string

    Returns () => void

      • (): void
      • Returns void

setFileId

  • setFileId(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

setKeep

  • setKeep(bool: boolean): void
  • Parameters

    • bool: boolean

    Returns void

setPreviewFrame

setPreviewRegionId

  • setPreviewRegionId(regionId: number): void
  • Parameters

    • regionId: number

    Returns void

setPvCutRegionId

  • setPvCutRegionId(regionId: number): void
  • Parameters

    • regionId: number

    Returns void

setRegionId

  • setRegionId(fileId: number, regionId: number): void
  • Parameters

    • fileId: number
    • regionId: number

    Returns void

setReverse

  • setReverse(bool: boolean): void
  • Parameters

    • bool: boolean

    Returns void

setSpectralCoordinate

  • setSpectralCoordinate(coordStr: string): void
  • Parameters

    • coordStr: string

    Returns void

setSpectralRange

  • setSpectralRange(range: IIntBounds): void
  • Parameters

    • range: IIntBounds

    Returns void

setSpectralSystem

setWidth

  • setWidth(val: number): void
  • Parameters

    • val: number

    Returns void

setXYRebin

  • setXYRebin(val: number): void
  • Parameters

    • val: number

    Returns void

setZRebin

  • setZRebin(val: number): void
  • Parameters

    • val: number

    Returns void

publicstaticCalculateRequirementsArray

  • CalculateRequirementsArray(widgetsMap: Map<string, RegionWidgetStore>): Map<number, number[]>
  • Parameters

    Returns Map<number, number[]>