@giro3d/giro3d
Version:
A JS/WebGL framework for 3D geospatial data visualization
31 lines • 1.29 kB
TypeScript
import type { Color } from 'three';
import type ColorimetryOptions from '../../core/ColorimetryOptions';
import type ColorMap from '../../core/ColorMap';
import type { Classification, Mode } from '../../renderer/PointCloudMaterial';
export type WellKnown3DTilesPointCloudAttributes = 'scalar' | 'classification';
/**
* Maps attribute names found in the batch table with well-known names expected by Giro3D
* for generating point cloud geometries and shader uniform names.
*
* Keys are well-known attributes, and values are attribute names in the batch table.
*
* ```
* const customMapping = {
* 'classification': 'THE_CATEGORY_OF_POINTS',
* 'intensity': 'MY_CUSTOM_INTENSITY_VALUE'
* }
* ```
*/
export type PointCloudBatchTableAttributeMapping = Record<WellKnown3DTilesPointCloudAttributes, string>;
export declare const DEFAULT_TILES3D_POINTCLOUD_ATTRIBUTE_MAPPING: PointCloudBatchTableAttributeMapping;
interface PointCloudParameters {
colorimetry: ColorimetryOptions;
pointSize: number;
pointCloudMode: Mode;
pointCloudColorMap: ColorMap;
classifications: Classification[];
overlayColor: Color | null;
attributeMapping: PointCloudBatchTableAttributeMapping;
}
export default PointCloudParameters;
//# sourceMappingURL=PointCloudParameters.d.ts.map