import { Camera, Object3D, Plane, Ray, WebGLRenderer, Box3, Sphere } from 'three'; import { IPointCloudTreeGeometry } from '../geometry/IPointCloudTreeGeometry'; import { IPointCloudTreeGeometryNode } from '../geometry/IPointCloudTreeGeometryNode'; import { PickParams } from './PointCloudOctreePicker'; import { PointCloudTree } from './PointCloudTree'; import { PickPoint } from '../types/types'; import { IPotree } from '../types/IPotree'; import { IPointCloudTreeNodeBase } from './IPointCloudTreeNodeBase'; import { IPointCloudTreeNode } from './IPointCloudTreeNode'; import { PointCloudMaterial, PointSizeType } from '../../../../rendering'; export declare class PointCloudOctree extends PointCloudTree { potree: IPotree; disposed: boolean; pcoGeometry: IPointCloudTreeGeometry; boundingBox: Box3; boundingSphere: Sphere; material: PointCloudMaterial; level: number; maxLevel: number; /** * The minimum radius of a node's bounding sphere on the screen in order to be displayed. */ minNodePixelSize: number; root: IPointCloudTreeNodeBase | undefined; visibleNodes: IPointCloudTreeNode[]; visibleGeometry: IPointCloudTreeGeometryNode[]; numVisiblePoints: number; private readonly visibleBounds; private picker; private _globalClippingPlanes; private _localClippingPlanes; constructor(potree: IPotree, pcoGeometry: IPointCloudTreeGeometry, material: PointCloudMaterial); private updateMaterial; setGlobalClippingPlane(planes: Plane[]): void; setModelClippingPlane(planes: Plane[]): void; updateClippingPlanes(): void; dispose(): void; get pointSizeType(): PointSizeType; set pointSizeType(value: PointSizeType); toTreeNode(geometryNode: IPointCloudTreeGeometryNode, parent?: IPointCloudTreeNode | null): IPointCloudTreeNode; updateVisibleBounds(): void; updateMatricesForDescendants(): void; /** * Override updateMatrixWorld to not update children recursively. Child transformations * are defined in relation to the base octree, and are instead updated using updateMatricesfordescendants() */ updateMatrixWorld(force: boolean): void; hideDescendants(object: Object3D): void; moveToOrigin(): void; moveToGroundPlane(): void; getBoundingBoxWorld(): Box3; getVisibleExtent(): Box3; pick(renderer: WebGLRenderer, camera: Camera, ray: Ray, params?: Partial): Promise; get progress(): number; }