Class SchematicLayer<T>

Type Parameters

Hierarchy

Constructors

Properties

_options: LayerOptions<T>
cementPlugTextureCache: Texture<Resource>
cementSqueezeTextureCache: Texture<Resource>
cementTextureCache: Texture<Resource>
holeTextureCache: Texture<Resource>
internalLayerVisibility: InternalLayerVisibility = ...
perforationRopeAndTextureReferences: {
    rope: ComplexRope;
    texture: Texture<Resource>;
}[] = []
scalingFactors: ScalingFactors = ...
screenTextureCache: Texture<Resource>
textureSymbolCacheArray: {
    [key: string]: Texture;
}

Type declaration

  • [key: string]: Texture
tubingTextureCache: Texture<Resource>

Accessors

  • get element(): HTMLElement
  • Returns HTMLElement

  • get interactive(): boolean
  • Returns boolean

  • set interactive(shouldBeInteractive: boolean): void
  • Parameters

    • shouldBeInteractive: boolean

    Returns void

  • get isLoading(): boolean
  • Returns boolean

  • set isLoading(loading: boolean): void
  • Parameters

    • loading: boolean

    Returns void

  • get opacity(): number
  • Returns number

  • set opacity(opacity: number): void
  • Parameters

    • opacity: number

    Returns void

  • get order(): number
  • Returns number

  • set order(order: number): void
  • Parameters

    • order: number

    Returns void

Methods

  • Clears data and (optionally) the reference system

    Parameters

    • includeReferenceSystem: boolean = true

      (optional) if true also removes reference system, default is true

    Returns void

  • Parameters

    • diameter: number

    Returns Texture<Resource>

  • Parameters

    • coords: IPoint[]
    • color: number = 0x000000

    Returns void

  • Parameters

    • casingRenderObject: CasingRenderObject

    Returns void

  • Uses a dashed outline on one side to represent casing window The casing window should be visualized at the upper side of the wellbore path

    Parameters

    • leftPath: Point[]

      Points for line on left side

    • rightPath: Point[]
    • __namedParameters: CasingOptions
    • lineWidth: number = 1

      Width of line

    Returns void

  • Parameters

    • path: Point[]
    • texture: Texture<Resource>
    • diameter: number

    Returns void

  • Returns

    Parameters

    • intervals: ComplexRopeSegment[]
    • texture: Texture<Resource>

      optionally fetch the exaggerationFactor from a different options prop options.perforationOptions for example

    Returns ComplexRope

  • Parameters

    • path: Point[]
    • texture: Texture<Resource>
    • maxHoleDiameter: number

    Returns void

  • Parameters

    • leftPath: Point[]

      Points for line on left side

    • rightPath: Point[]

      Points for line on right side

    • lineColor: number

      Color of line

    • lineWidth: number = 1

      Width of line

    • outlineClosure: OutlineClosure = 'None'

      If line should be drawn at top and/or bottom of the paths

    • lineAlignment: number = 1

      alignment of the line to draw, (0 = inner, 0.5 = middle, 1 = outer).

    Returns void

  • Parameters

    • path: Point[]
    • texture: Texture<Resource>
    • Optional tint: number

    Returns void

  • Parameters

    • path: Point[]
    • texture: Texture<Resource>

    Returns void

  • Parameters

    • casingEnd: number
    • casingRadius: number

    Returns void

  • Parameters

    • __namedParameters: SymbolRenderObject

    Returns void

  • Parameters

    • casingEnd: number
    • casingRadius: number
    • length: number
    • width: number

    Returns Point[]

  • Some layers might be built up of several internal layers that should individually be visibility-togglable. Reasons for having multiple internal layers might be tightly related data between layers or need for sharing render context

    Returns

    list of internal layer ids

    Returns string[]

  • Parameters

    • symbolKey: string
    • diameter: number

    Returns Texture<Resource>

  • Parameters

    • start: number
    • end: number

    Returns Point[]

  • The rendering order of these components needs to be aligned

    Returns

    ordered rendering list

    Parameters

    • casingRenderObjects: CasingRenderObject[]
    • cementRenderObject: CementRenderObject[]
    • cementSqueezes: CementSqueezeRenderObject[]

    Returns InterlacedRenderObjects[]

  • Parameters

    • symbols: {
          [key: string]: string;
      }
      • [key: string]: string

    Returns void

  • Calculate yRatio without zFactor TODO consider to move this into ZoomPanHandler

    Returns number

Generated using TypeDoc