API (v2.0.0) - Giro3D
    Preparing search index...

    Reads Potree datasets.

    This source currently reads legacy Potree datasets (a cloud.js files and multiple .hrc and data files). Data files may either be in the BIN format or LAZ files.

    LAZ decompression is done in background threads using workers. If you wish to disable workers (for a noticeable cost in performance), you can set PotreeSourceOptions.enableWorkers to false in constructor options.

    Note: this source uses the laz-perf package to perform decoding of point cloud data. This package uses WebAssembly. If you wish to override the path to the required .wasm file, use sources.las.config.setLazPerfPath | setLazPerfPath() before using this source. The default path is sources.las.config.DEFAULT_LAZPERF_PATH | DEFAULT_LAZPERF_PATH.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    id: string = ...

    An auto-generated UUID used internally to create unique keys for various purposes.

    isMemoryUsage: true = ...

    Readonly flag to indicate that his object implements MemoryUsage.

    isPointCloudSource: true = ...

    Read-only flag to indicate that this object is a PointCloudSource.

    isPotreeSource: true = ...
    type: "PotreeSource" = ...

    The name of the source implementation.

    Accessors

    • get loading(): boolean

      Gets whether the object is currently performing an asynchronous operation.

      Returns boolean

    • get progress(): number

      Returns the percentage of progress, in normalized value (i.e in the [0, 1] range), of the asynchronous operations that are scheduled to run on this object. 1 means that all operations have finished.

      Returns number

    • get ready(): boolean

      A flag that indicates that the source is ready to use. This flag should be true when initialize has finished.

      Returns boolean

    Methods