All files / views/threejs/pointcloud enums.ts

100% Statements 14/14
100% Branches 6/6
100% Functions 3/3
100% Lines 14/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26          1x   1x 1x 1x     1x 1x 1x 1x 1x 1x 1x     1x 1x 1x    
/*!
 * Copyright 2020 Cognite AS
 */
 
// @ts-ignore
import * as Potree from '@cognite/potree-core';
 
export enum PotreePointShape {
  Circle = Potree.PointShape.CIRCLE,
  Square = Potree.PointShape.SQUARE
}
 
export enum PotreePointColorType {
  Rgb = Potree.PointColorType.RGB,
  Depth = Potree.PointColorType.DEPTH,
  Height = Potree.PointColorType.HEIGHT,
  PointIndex = Potree.PointColorType.POINT_INDEX,
  LevelOfDetail = Potree.PointColorType.LOD,
  Classification = Potree.PointColorType.CLASSIFICATION
}
 
export enum PotreePointSizeType {
  Adaptive = Potree.PointSizeType.ADAPTIVE,
  Fixed = Potree.PointSizeType.FIXED
}