Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LASLoaderPlugin

Viewer plugin that loads lidar point cloud geometry from LAS files.

Hierarchy

Index

Constructors

Properties

id: string

ID for this Plugin, unique within its Viewer.

viewer: Viewer

The Viewer that contains this Plugin.

Accessors

  • get colorDepth(): 8 | 16 | "auto"
  • set colorDepth(arg: 8 | 16 | "auto"): void
  • Gets whether LASLoaderPlugin assumes that LAS colors are encoded using 8 or 16 bits.

    Default value is 8.

    Note: LAS specification recommends 16 bits.

    Returns 8 | 16 | "auto"

    Possible returned values are 8, 16 and "auto".

  • Configures whether LASLoaderPlugin assumes that LAS colors are encoded using 8 or 16 bits.

    Default value is 8.

    Note: LAS specification recommends 16 bits.

    Parameters

    • arg: 8 | 16 | "auto"

    Returns void

  • get fp64(): boolean
  • set fp64(arg: boolean): void
  • Gets if LASLoaderPlugin assumes that LAS positions are stored in 64-bit floats instead of 32-bit.

    Default value is false.

    Returns boolean

    True if LASLoaderPlugin assumes that positions are stored in 64-bit floats instead of 32-bit.

  • Configures if LASLoaderPlugin assumes that LAS positions are stored in 64-bit floats instead of 32-bit.

    Default value is false.

    Parameters

    • arg: boolean

    Returns void

  • get skip(): number
  • set skip(arg: number): void

Methods

  • destroy(): void
  • error(msg: string): void
  • Logs an error message to the JavaScript developer console, prefixed with the ID of this Plugin.

    Parameters

    • msg: string

      The error message

    Returns void

  • fire(event: string, value: any): void
  • Fires an event at this Plugin.

    Parameters

    • event: string

      The event type name

    • value: any

      The event parameters

    Returns void

  • log(msg: string): void
  • Logs a message to the JavaScript developer console, prefixed with the ID of this Plugin.

    Parameters

    • msg: string

      The error message

    Returns void

  • on(event: string, callback: () => void): void
  • Subscribes to an event fired at this Plugin.

    Parameters

    • event: string

      The event

    • callback: () => void

      Callback fired on the event

        • (): void
        • Returns void

    Returns void

  • warn(msg: string): void
  • Logs a warning message to the JavaScript developer console, prefixed with the ID of this Plugin.

    Parameters

    • msg: string

      The error message

    Returns void

Generated using TypeDoc