The point record
Describe the fields before decoding the points.
PCD puts a compact schema in an ASCII header and lets the payload use ASCII, binary, or compressed binary storage. loaders.gl maps that description into reusable point-cloud data.
Header
Fields, sizes, types, counts, and organization
Payload
ASCII, binary, or binary-compressed records
Attributes
Coordinates, normals, color, intensity, and custom fields
Output
Point-cloud objects or Mesh Arrow tables
The @loaders.gl/pointclouds/pcd module handles the Point Cloud Data, which stores 3D point cloud data.
Detailed guide
PCD module reference
The sections below cover installation, supported loader and writer entry points, and parser attribution.
Installation
npm install @loaders.gl/pointclouds
npm install @loaders.gl/core
Loaders and Writers
| Loader or Writer | Description |
|---|---|
PCDLoader | Loads PCD point clouds as PointCloud objects or Mesh Arrow tables. |
PCDWriter | Writes Mesh or Mesh Arrow table point clouds as ASCII PCD text. |
Attribution
PCDLoader is a fork of the THREE.js PCDLoader under MIT License. The forked THREE.js source files contained the following attributions:
- @author Filipe Caixeta / http://filipecaixeta.com.br
- @author Mugen87 / https://github.com/Mugen87
Sources and credits
See the package source and license inventory and the project-wide Attributions and Credits.