import { Scene } from './core/Scene'; import { CameraController } from './core/CameraController'; import Renderer from './core/Renderer'; import { MapMyLocGroup } from './myLocation/MapMyLocGroup'; import { MapRouteSimulationGroup } from './routeSimulation/MapRouteSimulationGroup'; import { IMapOptions } from '../model/IMapOption'; import { IPainterParameters } from '../model/map/IPainterParameters'; import { MapOverlayGroup } from './overlay/MapOverlayGroup'; import { Map3DReconGroup } from './3dRecon/Map3DReconGroup'; import { BuildingGroup } from './building/BuildingGroup'; import { RootGroup } from './RootGroup'; import { IFloor } from '../model/map/IFloor'; interface IChangeFloorOption { redrawRoute?: boolean; } export default class Painter { private mapMyLocGroup; private mapRouteSimulationGroup; private mapOverlayGroup; private map3DReconGroup; private rootGroup; private debugUtils; private store; private preprocessing; private textureManager; private markerManager; private myLocationManager; private routeSimulationManager; private overlayManager; private floorManager; private buildingManager; private stats; private customStats; private cameraController; private scene; private debugMode; private debugCamera; private debugScene; private debugTiles; private rendererClass; private fpsClock; private accumulatedTime; private fpsTime; private eventDispatcher; private directionalLight; private ambientLight; private waterMark; private requestAnimationFrameId; private frames; constructor(painterParameters: IPainterParameters); init(mapOptions: IMapOptions): Promise; getMapMyLocGroup(): MapMyLocGroup | null; getMapRouteSimulationGroup(): MapRouteSimulationGroup | null; getMapOverlayGroup(): MapOverlayGroup | null; getBuildingGroup(buildingId: string): BuildingGroup | undefined; getMap3DReconGroup(): Map3DReconGroup | null; getScene(): Scene; getCameraController(): CameraController; getRootGroup(): RootGroup; getRendererClass(): Renderer; update(): void; private stopUpdate; render(): void; cleanupScene(): void; cleanup(): void; drawNewFloor(option: IChangeFloorOption): Promise; changeFloor(floorId: string, option: IChangeFloorOption): Promise; changeFloorEntrance(floorId: string, option: IChangeFloorOption, skipCleanup?: boolean): Promise; activateOriginDestFloor(useOrdinal?: boolean): Promise; syncAllBuildingsToOriginOrdinal(): Promise; syncBuildingsToFloorOrdinal(targetFloorId: string): Promise; syncFloorsByEntranceConnection(targetFloorId: string | undefined): Promise; setActiveFloorAfterSetRoute(): Promise; private syncFloorsForOrdinalChange; private syncFloorsForEntranceConnection; initMergeMesh(on?: boolean): void; getDebugMode(): Boolean; private draw; initBuildings(): Promise; drawBuilding(buildingId: string, floorId?: string): Promise; private initMyLocs; private initRouteSimulation; private initOverlay; private init3DReconGroup; private setScene; setRootGroup(): void; private addDebugUtils; private onWindowResize; private initLight; private initDebugScene; private initPoiDebuggingBox; private setMapOptions; changeBackgroundColor(floorData: IFloor): Promise; updateControlBoundingBox(): void; } export {};