Skip to main content
Version: 4.1.0

PvGeneratorComponent

Hierarchy

  • Component<WidgetProps>
    • PvGeneratorComponent

Index

Constructors

constructor

  • new PvGeneratorComponent(props: WidgetProps): PvGeneratorComponent
  • Parameters

    • props: WidgetProps

    Returns PvGeneratorComponent

Properties

axesOrder

axesOrder: {} = {}

Type declaration

    height

    height: number

    isValidSpectralRange

    isValidSpectralRange: boolean = true

    width

    width: number

    Accessors

    estimatedCubeSize

    • get estimatedCubeSize(): { bitValue: number; unit: string; value: number }
    • Returns { bitValue: number; unit: string; value: number }

      • bitValue: number
      • unit: string
      • value: number

    isCubeSizeBelowLimit

    • get isCubeSizeBelowLimit(): boolean
    • Returns boolean

    isLineInOnePixel

    • get isLineInOnePixel(): boolean
    • Returns boolean

    isLineIntersectedWithImage

    • get isLineIntersectedWithImage(): boolean
    • Returns boolean

    widgetStore

    • get widgetStore(): PvGeneratorWidgetStore
    • Returns PvGeneratorWidgetStore

    publicstaticWIDGET_CONFIG

    • get WIDGET_CONFIG(): DefaultWidgetConfig
    • Returns DefaultWidgetConfig

    Methods

    render

    • render(): Element
    • Returns Element

    setisValidSpectralRange

    • setisValidSpectralRange(bool: boolean): void
    • Parameters

      • bool: boolean

      Returns void

    publicstaticformatBitValue

    • formatBitValue(bitValue: number): { bitValue: number; unit: string; value: number }
    • Parameters

      • bitValue: number

      Returns { bitValue: number; unit: string; value: number }

      • bitValue: number
      • unit: string
      • value: number

    publicstaticgetBitValueFromFormatted

    • getBitValueFromFormatted(value: number, unit: string): number
    • Parameters

      • value: number
      • unit: string

      Returns number