Skip to main content
Version: 4.1.0

ContourConfigStore

Index

Constructors

constructor

  • new ContourConfigStore(preferenceStore: PreferenceStore): ContourConfigStore
  • Parameters

    • preferenceStore: PreferenceStore

    Returns ContourConfigStore

Properties

color

color: RGBColor

colormap

colormap: string

colormapBias

colormapBias: number

colormapContrast

colormapContrast: number

colormapEnabled

colormapEnabled: boolean

dashMode

dashMode: ContourDashMode

enabled

enabled: boolean

levels

levels: number[]

smoothingFactor

smoothingFactor: number

smoothingMode

smoothingMode: SmoothingMode

thickness

thickness: number

visible

visible: boolean

Methods

setColor

  • setColor(color: ColorInput): void
  • Parameters

    • color: ColorInput

    Returns void

setColormap

  • setColormap(colormap: string): void
  • Parameters

    • colormap: string

    Returns void

setColormapBias

  • setColormapBias(val: number): void
  • Parameters

    • val: number

    Returns void

setColormapContrast

  • setColormapContrast(val: number): void
  • Parameters

    • val: number

    Returns void

setColormapEnabled

  • setColormapEnabled(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setContourConfiguration

  • setContourConfiguration(levels: number[], smoothingMode: SmoothingMode, smoothingFactor: number): void
  • Parameters

    • levels: number[]
    • smoothingMode: SmoothingMode
    • smoothingFactor: number

    Returns void

setDashMode

  • setDashMode(mode: ContourDashMode): void
  • Parameters

    • mode: ContourDashMode

    Returns void

setEnabled

  • setEnabled(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setThickness

  • setThickness(val: number): void
  • Parameters

    • val: number

    Returns void

setVisible

  • setVisible(visible: boolean): void
  • Parameters

    • visible: boolean

    Returns void

toggleVisibility

  • toggleVisibility(): void
  • Returns void

updateFromWorkspace

  • updateFromWorkspace(config: WorkspaceContourConfig): void
  • Parameters

    • config: WorkspaceContourConfig

    Returns void