potree-core 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants.d.ts +14 -14
- package/dist/dem-node.d.ts +17 -17
- package/dist/features.d.ts +6 -6
- package/dist/index.d.ts +11 -11
- package/dist/index.js +1 -1
- package/dist/loading/binary-loader.d.ts +35 -35
- package/dist/loading/index.d.ts +3 -3
- package/dist/loading/load-poc.d.ts +14 -14
- package/dist/loading/types.d.ts +2 -2
- package/dist/loading2/OctreeGeometry.d.ts +23 -23
- package/dist/loading2/OctreeGeometryNode.d.ts +40 -40
- package/dist/loading2/OctreeLoader.d.ts +109 -109
- package/dist/loading2/PointAttributes.d.ts +44 -44
- package/dist/loading2/WorkerPool.d.ts +9 -9
- package/dist/loading2/load-octree.d.ts +2 -2
- package/dist/materials/blur-material.d.ts +11 -11
- package/dist/materials/classification.d.ts +2 -2
- package/dist/materials/clipping.d.ts +12 -12
- package/dist/materials/color-encoding.d.ts +4 -4
- package/dist/materials/enums.d.ts +37 -37
- package/dist/materials/gradients/grayscale.d.ts +2 -2
- package/dist/materials/gradients/index.d.ts +7 -7
- package/dist/materials/gradients/inferno.d.ts +2 -2
- package/dist/materials/gradients/plasma.d.ts +2 -2
- package/dist/materials/gradients/rainbow.d.ts +2 -2
- package/dist/materials/gradients/spectral.d.ts +2 -2
- package/dist/materials/gradients/vidris.d.ts +2 -2
- package/dist/materials/gradients/yellow-green.d.ts +2 -2
- package/dist/materials/index.d.ts +7 -7
- package/dist/materials/point-cloud-material.d.ts +186 -186
- package/dist/materials/texture-generation.d.ts +19 -5
- package/dist/materials/types.d.ts +10 -10
- package/dist/point-attributes.d.ts +52 -52
- package/dist/point-cloud-octree-geometry-node.d.ts +70 -70
- package/dist/point-cloud-octree-geometry.d.ts +27 -27
- package/dist/point-cloud-octree-node.d.ts +26 -26
- package/dist/point-cloud-octree-picker.d.ts +45 -45
- package/dist/point-cloud-octree.d.ts +45 -45
- package/dist/point-cloud-tree.d.ts +6 -6
- package/dist/potree.d.ts +37 -37
- package/dist/type-predicates.d.ts +3 -3
- package/dist/types.d.ts +56 -56
- package/dist/utils/bounds.d.ts +6 -6
- package/dist/utils/box3-helper.d.ts +13 -13
- package/dist/utils/lru.d.ts +32 -32
- package/dist/utils/math.d.ts +1 -1
- package/dist/utils/utils.d.ts +20 -6
- package/dist/version.d.ts +9 -9
- package/dist/workers/binary-decoder-worker-internal.d.ts +5 -5
- package/dist/workers/custom-array-view.d.ts +11 -11
- package/package.json +17 -17
package/dist/constants.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Color, Vector4 } from 'three';
|
|
2
|
-
export declare const DEFAULT_RGB_BRIGHTNESS = 0;
|
|
3
|
-
export declare const DEFAULT_RGB_CONTRAST = 0;
|
|
4
|
-
export declare const DEFAULT_RGB_GAMMA = 1;
|
|
5
|
-
export declare const DEFAULT_MAX_POINT_SIZE = 50;
|
|
6
|
-
export declare const DEFAULT_MIN_NODE_PIXEL_SIZE = 50;
|
|
7
|
-
export declare const DEFAULT_MIN_POINT_SIZE = 2;
|
|
8
|
-
export declare const DEFAULT_PICK_WINDOW_SIZE = 15;
|
|
9
|
-
export declare const DEFAULT_POINT_BUDGET = 1000000;
|
|
10
|
-
export declare const MAX_LOADS_TO_GPU = 2;
|
|
11
|
-
export declare const MAX_NUM_NODES_LOADING = 4;
|
|
12
|
-
export declare const PERSPECTIVE_CAMERA = "PerspectiveCamera";
|
|
13
|
-
export declare const COLOR_BLACK: Color;
|
|
14
|
-
export declare const DEFAULT_HIGHLIGHT_COLOR: Vector4;
|
|
1
|
+
import { Color, Vector4 } from 'three';
|
|
2
|
+
export declare const DEFAULT_RGB_BRIGHTNESS = 0;
|
|
3
|
+
export declare const DEFAULT_RGB_CONTRAST = 0;
|
|
4
|
+
export declare const DEFAULT_RGB_GAMMA = 1;
|
|
5
|
+
export declare const DEFAULT_MAX_POINT_SIZE = 50;
|
|
6
|
+
export declare const DEFAULT_MIN_NODE_PIXEL_SIZE = 50;
|
|
7
|
+
export declare const DEFAULT_MIN_POINT_SIZE = 2;
|
|
8
|
+
export declare const DEFAULT_PICK_WINDOW_SIZE = 15;
|
|
9
|
+
export declare const DEFAULT_POINT_BUDGET = 1000000;
|
|
10
|
+
export declare const MAX_LOADS_TO_GPU = 2;
|
|
11
|
+
export declare const MAX_NUM_NODES_LOADING = 4;
|
|
12
|
+
export declare const PERSPECTIVE_CAMERA = "PerspectiveCamera";
|
|
13
|
+
export declare const COLOR_BLACK: Color;
|
|
14
|
+
export declare const DEFAULT_HIGHLIGHT_COLOR: Vector4;
|
package/dist/dem-node.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Box3, Vector2 } from 'three';
|
|
2
|
-
export declare class DEMNode {
|
|
3
|
-
name: string;
|
|
4
|
-
box: Box3;
|
|
5
|
-
tileSize: number;
|
|
6
|
-
level: number;
|
|
7
|
-
data: Float32Array;
|
|
8
|
-
children: DEMNode[];
|
|
9
|
-
mipMap: Float32Array[];
|
|
10
|
-
mipMapNeedsUpdate: boolean;
|
|
11
|
-
constructor(name: string, box: Box3, tileSize: number);
|
|
12
|
-
createMipMap(): void;
|
|
13
|
-
uv(position: Vector2): [number, number];
|
|
14
|
-
heightAtMipMapLevel(position: Vector2, mipMapLevel: number): number;
|
|
15
|
-
height(position: Vector2): any;
|
|
16
|
-
traverse(handler: (node: DEMNode, level: number) => void, level?: number): void;
|
|
17
|
-
}
|
|
1
|
+
import { Box3, Vector2 } from 'three';
|
|
2
|
+
export declare class DEMNode {
|
|
3
|
+
name: string;
|
|
4
|
+
box: Box3;
|
|
5
|
+
tileSize: number;
|
|
6
|
+
level: number;
|
|
7
|
+
data: Float32Array;
|
|
8
|
+
children: DEMNode[];
|
|
9
|
+
mipMap: Float32Array[];
|
|
10
|
+
mipMapNeedsUpdate: boolean;
|
|
11
|
+
constructor(name: string, box: Box3, tileSize: number);
|
|
12
|
+
createMipMap(): void;
|
|
13
|
+
uv(position: Vector2): [number, number];
|
|
14
|
+
heightAtMipMapLevel(position: Vector2, mipMapLevel: number): number;
|
|
15
|
+
height(position: Vector2): any;
|
|
16
|
+
traverse(handler: (node: DEMNode, level: number) => void, level?: number): void;
|
|
17
|
+
}
|
package/dist/features.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const getFeatures: () => {
|
|
2
|
-
SHADER_INTERPOLATION: boolean;
|
|
3
|
-
SHADER_SPLATS: boolean;
|
|
4
|
-
SHADER_EDL: boolean;
|
|
5
|
-
precision: string;
|
|
6
|
-
};
|
|
1
|
+
export declare const getFeatures: () => {
|
|
2
|
+
SHADER_INTERPOLATION: boolean;
|
|
3
|
+
SHADER_SPLATS: boolean;
|
|
4
|
+
SHADER_EDL: boolean;
|
|
5
|
+
precision: string;
|
|
6
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from './materials';
|
|
2
|
-
export * from './point-attributes';
|
|
3
|
-
export * from './point-cloud-octree-geometry-node';
|
|
4
|
-
export * from './point-cloud-octree-geometry';
|
|
5
|
-
export * from './point-cloud-octree-node';
|
|
6
|
-
export * from './point-cloud-octree-picker';
|
|
7
|
-
export * from './point-cloud-octree';
|
|
8
|
-
export * from './point-cloud-tree';
|
|
9
|
-
export * from './potree';
|
|
10
|
-
export * from './types';
|
|
11
|
-
export * from './version';
|
|
1
|
+
export * from './materials';
|
|
2
|
+
export * from './point-attributes';
|
|
3
|
+
export * from './point-cloud-octree-geometry-node';
|
|
4
|
+
export * from './point-cloud-octree-geometry';
|
|
5
|
+
export * from './point-cloud-octree-node';
|
|
6
|
+
export * from './point-cloud-octree-picker';
|
|
7
|
+
export * from './point-cloud-octree';
|
|
8
|
+
export * from './point-cloud-tree';
|
|
9
|
+
export * from './potree';
|
|
10
|
+
export * from './types';
|
|
11
|
+
export * from './version';
|