ReadonlyidAn auto-generated UUID used internally to create unique keys for various purposes.
ReadonlyisReadonly flag to indicate that his object implements MemoryUsage.
ReadonlyisRead-only flag to indicate that this object is a PointCloudSource.
ReadonlyisReadonlytypeThe name of the source implementation.
Gets whether the object is currently performing an asynchronous operation.
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.
A flag that indicates that the source is ready to use. This flag should be true when initialize has finished.
Releases unmanaged resources from this object.
Gets the hierarchy of this point cloud.
Note: this does not provide point cloud data itself.
Returns an approximation of the memory used by this object, in bytes.
Gets the metadata of this source.
Loads buffer data for the specific PointCloudNode.
Options.
Initialize this source. As long as this source is not initialized, it cannot be used.
ProtectedinitializeImplement by subclasses to initialize the source. This is automatically called by initialize.
Raises an event to reload the source.
Reads Potree datasets.
Supported formats
This source currently reads legacy Potree datasets (a
cloud.jsfiles and multiple.hrcand 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
falsein 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.