UNPKG

@dp_unity/dpu-gis-viewer

Version:

DPU GIS Viewer version Beta

59 lines (58 loc) 1.69 kB
import { Cartesian3, Matrix4 } from "cesium"; import { IInputObjs3DTile } from "src/interfaces/sceneManager.interface"; import { SceneManager } from "src/services/sceneManager"; interface DataView { id: string; name: string; parentID?: string; url?: string; translateId?: string; contentType?: string; loadType?: number; isShow: boolean; fileVersion?: string; fileType?: string; isFolder?: boolean; modelMatrix?: any; } export declare class TileModel { tileset?: any; sceneManager: SceneManager; id: string; name: string; parentID?: string; url?: string; translateId?: string; contentType?: string; loadType?: number; inputObjs?: IInputObjs3DTile; isFolder?: boolean; fileType?: string; originalModelMatrix?: Matrix4; originalCartgraphic?: any; primitiveName?: string; private _isShow; constructor(dataView: DataView, scene: SceneManager); get isShow(): boolean; set isShow(value: boolean); getTileSet(): Promise<void>; setOriginalModelMatrix(): void; private _tileSetContentType; private actionQueue; showHide(show: boolean): Promise<void>; zoomTo(): void; private getBoundingVolumes; getCombinedBoundingBox: (children: any) => { min: Cartesian3; max: Cartesian3; } | null; parentZoomTo(children: any): void; setModelMatrix(position: { longitude: number | undefined; latitude: number | undefined; height: number | undefined; }): Promise<void>; setTransformZ(z: number): Promise<void>; setMaximumScreenSpaceError(maximumScreenSpaceError: number): void; } export {};