@openglobus/og 0.24.0 → 0.24.1
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/lib/@openglobus/js/Clock.d.ts +2 -2
- package/lib/@openglobus/js/Globe.d.ts +10 -5
- package/lib/@openglobus/js/LonLat.d.ts +2 -2
- package/lib/@openglobus/js/Object3d.d.ts +3 -2
- package/lib/@openglobus/js/Popup.d.ts +7 -4
- package/lib/@openglobus/js/astro/astro.d.ts +1 -1
- package/lib/@openglobus/js/astro/earth.d.ts +1 -1
- package/lib/@openglobus/js/bv/Box.d.ts +1 -1
- package/lib/@openglobus/js/camera/Camera.d.ts +7 -4
- package/lib/@openglobus/js/camera/Frustum.d.ts +2 -2
- package/lib/@openglobus/js/camera/PlanetCamera.d.ts +1 -1
- package/lib/@openglobus/js/control/Atmosphere.d.ts +3 -3
- package/lib/@openglobus/js/control/AtmosphereConfig.d.ts +2 -2
- package/lib/@openglobus/js/control/CameraLock.d.ts +3 -3
- package/lib/@openglobus/js/control/CompassButton.d.ts +1 -1
- package/lib/@openglobus/js/control/DebugInfo.d.ts +1 -1
- package/lib/@openglobus/js/control/EarthCoordinates.d.ts +2 -2
- package/lib/@openglobus/js/control/GeoImageDragControl.d.ts +2 -2
- package/lib/@openglobus/js/control/KeyboardNavigation.d.ts +1 -1
- package/lib/@openglobus/js/control/LayerAnimation.d.ts +2 -2
- package/lib/@openglobus/js/control/LayerSwitcher.d.ts +4 -2
- package/lib/@openglobus/js/control/Lighting.d.ts +2 -1
- package/lib/@openglobus/js/control/MouseNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/OldMouseNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/RulerSwitcher.d.ts +2 -1
- package/lib/@openglobus/js/control/ScaleControl.d.ts +2 -1
- package/lib/@openglobus/js/control/SegmentBoundVisualization.d.ts +2 -1
- package/lib/@openglobus/js/control/ShowFps.d.ts +2 -1
- package/lib/@openglobus/js/control/SimpleNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/SimpleSkyBackground.d.ts +2 -1
- package/lib/@openglobus/js/control/Sun.d.ts +2 -1
- package/lib/@openglobus/js/control/ToggleWireframe.d.ts +2 -1
- package/lib/@openglobus/js/control/TouchNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/ZoomControl.d.ts +2 -1
- package/lib/@openglobus/js/control/drawing/DrawingControl.d.ts +1 -1
- package/lib/@openglobus/js/control/drawing/LineStringDrawingScene.d.ts +1 -1
- package/lib/@openglobus/js/control/drawing/PolygonDrawingScene.d.ts +3 -3
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfile.d.ts +1 -1
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +3 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileControl.d.ts +2 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileLegend.d.ts +1 -1
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileScene.d.ts +2 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileView.d.ts +6 -4
- package/lib/@openglobus/js/control/elevationProfile/PointListDialog.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/ArrowEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/AxisTrackEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditor.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +2 -2
- package/lib/@openglobus/js/control/geoObjectEditor/MoveAxisEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/MovePlaneEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/RotateEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/heightRuler/HeightRuler.d.ts +1 -1
- package/lib/@openglobus/js/control/heightRuler/HeightRulerScene.d.ts +1 -1
- package/lib/@openglobus/js/control/ruler/Ruler.d.ts +2 -1
- package/lib/@openglobus/js/control/ruler/RulerScene.d.ts +2 -2
- package/lib/@openglobus/js/control/selection/Selection.d.ts +2 -1
- package/lib/@openglobus/js/control/timeline/TimelineControl.d.ts +1 -1
- package/lib/@openglobus/js/control/timeline/TimelineModel.d.ts +1 -1
- package/lib/@openglobus/js/control/timeline/TimelineView.d.ts +4 -3
- package/lib/@openglobus/js/ellipsoid/Ellipsoid.d.ts +1 -1
- package/lib/@openglobus/js/entity/BaseBillboard.d.ts +6 -3
- package/lib/@openglobus/js/entity/BaseBillboardHandler.d.ts +2 -2
- package/lib/@openglobus/js/entity/Billboard.d.ts +3 -2
- package/lib/@openglobus/js/entity/Entity.d.ts +23 -12
- package/lib/@openglobus/js/entity/EntityCollection.d.ts +4 -3
- package/lib/@openglobus/js/entity/GeoObject.d.ts +2 -2
- package/lib/@openglobus/js/entity/Geometry.d.ts +4 -3
- package/lib/@openglobus/js/entity/GeometryHandler.d.ts +3 -2
- package/lib/@openglobus/js/entity/InstanceData.d.ts +2 -2
- package/lib/@openglobus/js/entity/Label.d.ts +4 -2
- package/lib/@openglobus/js/entity/LabelHandler.d.ts +1 -1
- package/lib/@openglobus/js/entity/PointCloud.d.ts +1 -1
- package/lib/@openglobus/js/entity/Polyline.d.ts +9 -7
- package/lib/@openglobus/js/entity/Ray.d.ts +4 -2
- package/lib/@openglobus/js/entity/RayHandler.d.ts +2 -2
- package/lib/@openglobus/js/entity/Strip.d.ts +5 -3
- package/lib/@openglobus/js/input/KeyboardHandler.d.ts +1 -1
- package/lib/@openglobus/js/layer/BaseGeoImage.d.ts +6 -5
- package/lib/@openglobus/js/layer/Bing.d.ts +2 -1
- package/lib/@openglobus/js/layer/CanvasTiles.d.ts +4 -3
- package/lib/@openglobus/js/layer/GeoImage.d.ts +2 -1
- package/lib/@openglobus/js/layer/GeoTexture2d.d.ts +3 -2
- package/lib/@openglobus/js/layer/GeoVideo.d.ts +2 -1
- package/lib/@openglobus/js/layer/KML.d.ts +5 -3
- package/lib/@openglobus/js/layer/Layer.d.ts +5 -4
- package/lib/@openglobus/js/layer/Material.d.ts +2 -2
- package/lib/@openglobus/js/layer/OpenStreetMap.d.ts +2 -1
- package/lib/@openglobus/js/layer/Vector.d.ts +9 -7
- package/lib/@openglobus/js/layer/WMS.d.ts +2 -1
- package/lib/@openglobus/js/layer/XYZ.d.ts +4 -3
- package/lib/@openglobus/js/math/Quat.d.ts +6 -1
- package/lib/@openglobus/js/math/Vec3.d.ts +3 -2
- package/lib/@openglobus/js/math/coder.d.ts +5 -3
- package/lib/@openglobus/js/math/index.d.ts +6 -3
- package/lib/@openglobus/js/math.d.ts +2 -2
- package/lib/@openglobus/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/@openglobus/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -2
- package/lib/@openglobus/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/@openglobus/js/renderer/Renderer.d.ts +5 -3
- package/lib/@openglobus/js/renderer/RendererEvents.d.ts +6 -3
- package/lib/@openglobus/js/scene/Axes.d.ts +1 -1
- package/lib/@openglobus/js/scene/Planet.d.ts +8 -6
- package/lib/@openglobus/js/scene/SkyBox.d.ts +1 -1
- package/lib/@openglobus/js/segment/Segment.d.ts +7 -5
- package/lib/@openglobus/js/segment/SegmentLonLat.d.ts +1 -1
- package/lib/@openglobus/js/segment/SegmentLonLatEqui.d.ts +1 -1
- package/lib/@openglobus/js/shaders/atmos.d.ts +1 -1
- package/lib/@openglobus/js/shaders/drawnode.d.ts +1 -1
- package/lib/@openglobus/js/terrain/BilTerrain.d.ts +3 -2
- package/lib/@openglobus/js/terrain/EmptyTerrain.d.ts +1 -1
- package/lib/@openglobus/js/terrain/GlobusRgbTerrain.d.ts +2 -1
- package/lib/@openglobus/js/terrain/GlobusTerrain.d.ts +5 -4
- package/lib/@openglobus/js/terrain/RgbTerrain.d.ts +3 -2
- package/lib/@openglobus/js/ui/Button.d.ts +3 -2
- package/lib/@openglobus/js/ui/ButtonGroup.d.ts +1 -1
- package/lib/@openglobus/js/ui/Checkbox.d.ts +3 -2
- package/lib/@openglobus/js/ui/Color.d.ts +3 -2
- package/lib/@openglobus/js/ui/Dialog.d.ts +3 -2
- package/lib/@openglobus/js/ui/Input.d.ts +3 -2
- package/lib/@openglobus/js/ui/Slider.d.ts +3 -2
- package/lib/@openglobus/js/ui/ToggleButton.d.ts +4 -3
- package/lib/@openglobus/js/ui/View.d.ts +1 -1
- package/lib/@openglobus/js/utils/FontAtlas.d.ts +1 -1
- package/lib/@openglobus/js/utils/GeoImageCreator.d.ts +1 -1
- package/lib/@openglobus/js/utils/Loader.d.ts +1 -1
- package/lib/@openglobus/js/utils/NormalMapCreator.d.ts +2 -1
- package/lib/@openglobus/js/utils/TerrainWorker.d.ts +1 -1
- package/lib/@openglobus/js/utils/TextureAtlas.d.ts +4 -2
- package/lib/@openglobus/js/utils/objParser.d.ts +1 -1
- package/lib/@openglobus/js/utils/shared.d.ts +5 -3
- package/lib/@openglobus/js/webgl/Framebuffer.d.ts +3 -2
- package/lib/@openglobus/js/webgl/Handler.d.ts +11 -7
- package/lib/@openglobus/js/webgl/Multisample.d.ts +2 -1
- package/lib/@openglobus/js/webgl/Program.d.ts +2 -2
- package/lib/@openglobus/js/webgl/ProgramController.d.ts +2 -1
- package/lib/@openglobus/js/webgl/variableHandlers.d.ts +1 -1
- package/lib/@openglobus/og.esm.js.map +1 -1
- package/lib/@openglobus/og.umd.js.map +1 -1
- package/lib/js/Clock.d.ts +2 -2
- package/lib/js/Globe.d.ts +10 -5
- package/lib/js/Globe.js +6 -2
- package/lib/js/LonLat.d.ts +2 -2
- package/lib/js/Object3d.d.ts +3 -2
- package/lib/js/Popup.d.ts +7 -4
- package/lib/js/astro/astro.d.ts +1 -1
- package/lib/js/astro/earth.d.ts +1 -1
- package/lib/js/bv/Box.d.ts +1 -1
- package/lib/js/camera/Camera.d.ts +7 -4
- package/lib/js/camera/Frustum.d.ts +2 -2
- package/lib/js/camera/PlanetCamera.d.ts +1 -1
- package/lib/js/control/Atmosphere.d.ts +3 -3
- package/lib/js/control/AtmosphereConfig.d.ts +2 -2
- package/lib/js/control/CameraLock.d.ts +3 -3
- package/lib/js/control/CompassButton.d.ts +1 -1
- package/lib/js/control/DebugInfo.d.ts +1 -1
- package/lib/js/control/EarthCoordinates.d.ts +2 -2
- package/lib/js/control/GeoImageDragControl.d.ts +2 -2
- package/lib/js/control/KeyboardNavigation.d.ts +1 -1
- package/lib/js/control/LayerAnimation.d.ts +2 -2
- package/lib/js/control/LayerSwitcher.d.ts +4 -2
- package/lib/js/control/Lighting.d.ts +2 -1
- package/lib/js/control/MouseNavigation.d.ts +3 -2
- package/lib/js/control/OldMouseNavigation.d.ts +3 -2
- package/lib/js/control/RulerSwitcher.d.ts +2 -1
- package/lib/js/control/ScaleControl.d.ts +2 -1
- package/lib/js/control/SegmentBoundVisualization.d.ts +2 -1
- package/lib/js/control/ShowFps.d.ts +2 -1
- package/lib/js/control/SimpleNavigation.d.ts +3 -2
- package/lib/js/control/SimpleSkyBackground.d.ts +2 -1
- package/lib/js/control/Sun.d.ts +2 -1
- package/lib/js/control/ToggleWireframe.d.ts +2 -1
- package/lib/js/control/TouchNavigation.d.ts +3 -2
- package/lib/js/control/ZoomControl.d.ts +2 -1
- package/lib/js/control/drawing/DrawingControl.d.ts +1 -1
- package/lib/js/control/drawing/LineStringDrawingScene.d.ts +1 -1
- package/lib/js/control/drawing/PolygonDrawingScene.d.ts +3 -3
- package/lib/js/control/elevationProfile/ElevationProfile.d.ts +1 -1
- package/lib/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +3 -2
- package/lib/js/control/elevationProfile/ElevationProfileControl.d.ts +2 -2
- package/lib/js/control/elevationProfile/ElevationProfileLegend.d.ts +1 -1
- package/lib/js/control/elevationProfile/ElevationProfileScene.d.ts +2 -2
- package/lib/js/control/elevationProfile/ElevationProfileView.d.ts +6 -4
- package/lib/js/control/elevationProfile/ElevationProfileView.js +1 -1
- package/lib/js/control/elevationProfile/PointListDialog.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/ArrowEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/AxisTrackEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditor.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +2 -2
- package/lib/js/control/geoObjectEditor/MoveAxisEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/MovePlaneEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/RotateEntity.d.ts +1 -1
- package/lib/js/control/heightRuler/HeightRuler.d.ts +1 -1
- package/lib/js/control/heightRuler/HeightRulerScene.d.ts +1 -1
- package/lib/js/control/ruler/Ruler.d.ts +2 -1
- package/lib/js/control/ruler/RulerScene.d.ts +2 -2
- package/lib/js/control/selection/Selection.d.ts +2 -1
- package/lib/js/control/timeline/TimelineControl.d.ts +1 -1
- package/lib/js/control/timeline/TimelineModel.d.ts +1 -1
- package/lib/js/control/timeline/TimelineView.d.ts +4 -3
- package/lib/js/ellipsoid/Ellipsoid.d.ts +1 -1
- package/lib/js/ellipsoid/Ellipsoid.js +1 -1
- package/lib/js/entity/BaseBillboard.d.ts +6 -3
- package/lib/js/entity/BaseBillboardHandler.d.ts +2 -2
- package/lib/js/entity/Billboard.d.ts +3 -2
- package/lib/js/entity/Entity.d.ts +23 -12
- package/lib/js/entity/EntityCollection.d.ts +4 -3
- package/lib/js/entity/GeoObject.d.ts +2 -2
- package/lib/js/entity/Geometry.d.ts +4 -3
- package/lib/js/entity/GeometryHandler.d.ts +3 -2
- package/lib/js/entity/InstanceData.d.ts +2 -2
- package/lib/js/entity/Label.d.ts +4 -2
- package/lib/js/entity/LabelHandler.d.ts +1 -1
- package/lib/js/entity/PointCloud.d.ts +1 -1
- package/lib/js/entity/Polyline.d.ts +9 -7
- package/lib/js/entity/Polyline.js +2 -1
- package/lib/js/entity/Ray.d.ts +4 -2
- package/lib/js/entity/RayHandler.d.ts +2 -2
- package/lib/js/entity/Strip.d.ts +5 -3
- package/lib/js/input/KeyboardHandler.d.ts +1 -1
- package/lib/js/layer/BaseGeoImage.d.ts +6 -5
- package/lib/js/layer/Bing.d.ts +2 -1
- package/lib/js/layer/CanvasTiles.d.ts +4 -3
- package/lib/js/layer/GeoImage.d.ts +2 -1
- package/lib/js/layer/GeoTexture2d.d.ts +3 -2
- package/lib/js/layer/GeoVideo.d.ts +2 -1
- package/lib/js/layer/KML.d.ts +5 -3
- package/lib/js/layer/KML.js +1 -1
- package/lib/js/layer/Layer.d.ts +5 -4
- package/lib/js/layer/Material.d.ts +2 -2
- package/lib/js/layer/OpenStreetMap.d.ts +2 -1
- package/lib/js/layer/Vector.d.ts +9 -7
- package/lib/js/layer/Vector.js +1 -1
- package/lib/js/layer/WMS.d.ts +2 -1
- package/lib/js/layer/XYZ.d.ts +4 -3
- package/lib/js/math/Quat.d.ts +6 -1
- package/lib/js/math/Quat.js +6 -1
- package/lib/js/math/Vec3.d.ts +3 -2
- package/lib/js/math/coder.d.ts +5 -3
- package/lib/js/math/index.d.ts +6 -3
- package/lib/js/math.d.ts +2 -2
- package/lib/js/math.js +2 -2
- package/lib/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -2
- package/lib/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/js/renderer/Renderer.d.ts +5 -3
- package/lib/js/renderer/RendererEvents.d.ts +6 -3
- package/lib/js/renderer/RendererEvents.js +2 -2
- package/lib/js/scene/Axes.d.ts +1 -1
- package/lib/js/scene/Planet.d.ts +8 -6
- package/lib/js/scene/SkyBox.d.ts +1 -1
- package/lib/js/segment/Segment.d.ts +7 -5
- package/lib/js/segment/SegmentLonLat.d.ts +1 -1
- package/lib/js/segment/SegmentLonLatEqui.d.ts +1 -1
- package/lib/js/shaders/atmos.d.ts +1 -1
- package/lib/js/shaders/drawnode.d.ts +1 -1
- package/lib/js/terrain/BilTerrain.d.ts +3 -2
- package/lib/js/terrain/EmptyTerrain.d.ts +1 -1
- package/lib/js/terrain/GlobusRgbTerrain.d.ts +2 -1
- package/lib/js/terrain/GlobusTerrain.d.ts +5 -4
- package/lib/js/terrain/RgbTerrain.d.ts +3 -2
- package/lib/js/ui/Button.d.ts +3 -2
- package/lib/js/ui/ButtonGroup.d.ts +1 -1
- package/lib/js/ui/Checkbox.d.ts +3 -2
- package/lib/js/ui/Color.d.ts +3 -2
- package/lib/js/ui/Dialog.d.ts +3 -2
- package/lib/js/ui/Input.d.ts +3 -2
- package/lib/js/ui/Slider.d.ts +3 -2
- package/lib/js/ui/ToggleButton.d.ts +4 -3
- package/lib/js/ui/View.d.ts +1 -1
- package/lib/js/utils/FontAtlas.d.ts +1 -1
- package/lib/js/utils/GeoImageCreator.d.ts +1 -1
- package/lib/js/utils/Loader.d.ts +1 -1
- package/lib/js/utils/NormalMapCreator.d.ts +2 -1
- package/lib/js/utils/TerrainWorker.d.ts +1 -1
- package/lib/js/utils/TextureAtlas.d.ts +4 -2
- package/lib/js/utils/objParser.d.ts +1 -1
- package/lib/js/utils/shared.d.ts +5 -3
- package/lib/js/webgl/Framebuffer.d.ts +3 -2
- package/lib/js/webgl/Handler.d.ts +11 -7
- package/lib/js/webgl/Handler.js +6 -3
- package/lib/js/webgl/Multisample.d.ts +2 -1
- package/lib/js/webgl/Program.d.ts +2 -2
- package/lib/js/webgl/ProgramController.d.ts +2 -1
- package/lib/js/webgl/variableHandlers.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,8 @@ import { Planet } from "../../scene/Planet";
|
|
|
3
3
|
import { LonLat } from "../../LonLat";
|
|
4
4
|
import { Entity } from "../../entity/Entity";
|
|
5
5
|
import { EntityCollection } from "../../entity/EntityCollection";
|
|
6
|
-
import { EntityCollectionNode
|
|
6
|
+
import { EntityCollectionNode } from "../EntityCollectionNode";
|
|
7
|
+
import type { NodesDict } from "../EntityCollectionNode";
|
|
7
8
|
import { EquiEntityCollectionsTreeStrategy } from "./EquiEntityCollectionsTreeStrategy";
|
|
8
9
|
export declare class EquiEntityCollectionNodeLonLat extends EntityCollectionNode {
|
|
9
10
|
strategy: EquiEntityCollectionsTreeStrategy;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { Camera } from "../camera/Camera";
|
|
2
2
|
import { Control } from "../control/Control";
|
|
3
|
-
import { IBaseInputState, RendererEventsHandler } from "./RendererEvents";
|
|
3
|
+
import type { IBaseInputState, RendererEventsHandler } from "./RendererEvents";
|
|
4
4
|
import { EntityCollection } from "../entity/EntityCollection";
|
|
5
5
|
import { Framebuffer, Multisample } from "../webgl/index";
|
|
6
6
|
import { FontAtlas } from "../utils/FontAtlas";
|
|
7
|
-
import { Handler
|
|
7
|
+
import { Handler } from "../webgl/Handler";
|
|
8
|
+
import type { WebGLBufferExt } from "../webgl/Handler";
|
|
8
9
|
import { LabelWorker } from "../entity/LabelWorker";
|
|
9
10
|
import { RenderNode } from "../scene/RenderNode";
|
|
10
11
|
import { TextureAtlas } from "../utils/TextureAtlas";
|
|
11
12
|
import { Vec2 } from "../math/Vec2";
|
|
12
|
-
import {
|
|
13
|
+
import { Vec3 } from "../math/Vec3";
|
|
14
|
+
import type { NumberArray3 } from "../math/Vec3";
|
|
13
15
|
import { Vec4 } from "../math/Vec4";
|
|
14
16
|
interface IRendererParams {
|
|
15
17
|
controls?: Control[];
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { Events
|
|
1
|
+
import { Events } from "../Events";
|
|
2
|
+
import type { EventsHandler, EventCallback } from "../Events";
|
|
2
3
|
import { KeyboardHandler } from "../input/KeyboardHandler";
|
|
3
|
-
import { MouseHandler
|
|
4
|
+
import { MouseHandler } from "../input/MouseHandler";
|
|
5
|
+
import type { MouseHandlerEvent, MouseEventExt } from "../input/MouseHandler";
|
|
4
6
|
import { Renderer } from "./Renderer";
|
|
5
|
-
import {
|
|
7
|
+
import { TouchHandler } from "../input/TouchHandler";
|
|
8
|
+
import type { TouchEventExt } from "../input/TouchHandler";
|
|
6
9
|
import { Vec2 } from "../math/Vec2";
|
|
7
10
|
import { Vec3 } from "../math/Vec3";
|
|
8
11
|
export type RendererEventsHandler = RendererEvents & EventsHandler<RendererEventsType>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { Atmosphere
|
|
1
|
+
import { Atmosphere } from "../control/Atmosphere";
|
|
2
|
+
import type { IAtmosphereParams } from "../control/Atmosphere";
|
|
2
3
|
import { Control } from "../control/Control";
|
|
3
|
-
import { EventsHandler } from "../Events";
|
|
4
|
+
import type { EventsHandler } from "../Events";
|
|
4
5
|
import { EmptyTerrain } from "../terrain/EmptyTerrain";
|
|
5
6
|
import { Extent } from "../Extent";
|
|
6
7
|
import { Entity } from "../entity/Entity";
|
|
7
8
|
import { Ellipsoid } from "../ellipsoid/Ellipsoid";
|
|
8
9
|
import { EntityCollection } from "../entity/EntityCollection";
|
|
9
10
|
import { GeoImageCreator } from "../utils/GeoImageCreator";
|
|
10
|
-
import { IBaseInputState } from "../renderer/RendererEvents";
|
|
11
|
+
import type { IBaseInputState } from "../renderer/RendererEvents";
|
|
11
12
|
import { Key, Lock } from "../Lock";
|
|
12
13
|
import { Layer } from "../layer/Layer";
|
|
13
14
|
import { Loader } from "../utils/Loader";
|
|
@@ -22,13 +23,14 @@ import { Ray } from "../math/Ray";
|
|
|
22
23
|
import { RenderNode } from "./RenderNode";
|
|
23
24
|
import { Sun } from "../control/Sun";
|
|
24
25
|
import { TerrainWorker } from "../utils/TerrainWorker";
|
|
25
|
-
import { Vec2, Vec3
|
|
26
|
+
import { Vec2, Vec3 } from "../math/index";
|
|
27
|
+
import type { NumberArray2, NumberArray3, NumberArray4 } from "../math/index";
|
|
26
28
|
import { Vector } from "../layer/Vector";
|
|
27
29
|
import { VectorTileCreator } from "../utils/VectorTileCreator";
|
|
28
|
-
import { WebGLBufferExt, WebGLTextureExt, IDefaultTextureParams } from "../webgl/Handler";
|
|
30
|
+
import type { WebGLBufferExt, WebGLTextureExt, IDefaultTextureParams } from "../webgl/Handler";
|
|
29
31
|
import { Program } from "../webgl/Program";
|
|
30
32
|
import { Segment } from "../segment/Segment";
|
|
31
|
-
import { AtmosphereParameters } from "../shaders/atmos";
|
|
33
|
+
import type { AtmosphereParameters } from "../shaders/atmos";
|
|
32
34
|
export interface IPlanetParams {
|
|
33
35
|
name?: string;
|
|
34
36
|
ellipsoid?: Ellipsoid;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderNode } from './RenderNode';
|
|
2
|
-
import { WebGLBufferExt, WebGLTextureExt, Texture3DParams } from "../webgl/Handler";
|
|
2
|
+
import type { WebGLBufferExt, WebGLTextureExt, Texture3DParams } from "../webgl/Handler";
|
|
3
3
|
declare class SkyBox extends RenderNode {
|
|
4
4
|
params: Texture3DParams;
|
|
5
5
|
vertexPositionBuffer: WebGLBufferExt | null;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Box } from "../bv/Box";
|
|
2
2
|
import { Extent } from "../Extent";
|
|
3
3
|
import { Entity } from "../entity/Entity";
|
|
4
|
-
import { TypedArray } from "../utils/shared";
|
|
5
|
-
import { Handler
|
|
6
|
-
import {
|
|
4
|
+
import type { TypedArray } from "../utils/shared";
|
|
5
|
+
import { Handler } from "../webgl/Handler";
|
|
6
|
+
import type { WebGLBufferExt, WebGLTextureExt } from "../webgl/Handler";
|
|
7
|
+
import type { ITerrainWorkerData } from "../utils/TerrainWorker";
|
|
7
8
|
import { Layer } from "../layer/Layer";
|
|
8
9
|
import { LonLat } from "../LonLat";
|
|
9
10
|
import { Material } from "../layer/Material";
|
|
@@ -12,10 +13,11 @@ import { Planet } from "../scene/Planet";
|
|
|
12
13
|
import { PlanetCamera } from "../camera/PlanetCamera";
|
|
13
14
|
import { Program } from "../webgl/Program";
|
|
14
15
|
import { Proj } from "../proj/Proj";
|
|
15
|
-
import {
|
|
16
|
+
import { Sphere } from "../bv/Sphere";
|
|
17
|
+
import type { NumberArray6 } from "../bv/Sphere";
|
|
16
18
|
import { Slice } from "./Slice";
|
|
17
19
|
import { Vec3 } from "../math/Vec3";
|
|
18
|
-
import { IPlainSegmentWorkerData } from "../utils/PlainSegmentWorker";
|
|
20
|
+
import type { IPlainSegmentWorkerData } from "../utils/PlainSegmentWorker";
|
|
19
21
|
export declare function getTileCellIndex(coordinate: number, tileSize: number, worldEdge: number): number;
|
|
20
22
|
export declare function getTileCellExtent(x: number, y: number, z: number, worldExtent: Extent): Extent;
|
|
21
23
|
export declare const TILEGROUP_COMMON = 0;
|
|
@@ -6,7 +6,7 @@ import { Segment } from "./Segment";
|
|
|
6
6
|
import { LonLat } from "../LonLat";
|
|
7
7
|
import { Entity } from "../entity/Entity";
|
|
8
8
|
import { PlanetCamera } from "../camera/PlanetCamera";
|
|
9
|
-
import { WebGLTextureExt } from "../webgl/Handler";
|
|
9
|
+
import type { WebGLTextureExt } from "../webgl/Handler";
|
|
10
10
|
export declare const POLE_PIECE_SIZE: number;
|
|
11
11
|
/**
|
|
12
12
|
* Planet segment Web Mercator tile class that stored and rendered with quad tree.
|
|
@@ -2,7 +2,7 @@ import { Extent } from "../Extent";
|
|
|
2
2
|
import { Node } from "../quadTree/Node";
|
|
3
3
|
import { Planet } from "../scene/Planet";
|
|
4
4
|
import { SegmentLonLat } from "./SegmentLonLat";
|
|
5
|
-
import { WebGLTextureExt } from "../webgl/Handler";
|
|
5
|
+
import type { WebGLTextureExt } from "../webgl/Handler";
|
|
6
6
|
export declare const POLE_PIECE_SIZE: number;
|
|
7
7
|
export declare class SegmentLonLatEqui extends SegmentLonLat {
|
|
8
8
|
constructor(node: Node, planet: Planet, tileZoom: number, extent: Extent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AtmosphereParameters } from "./atmos";
|
|
1
|
+
import type { AtmosphereParameters } from "./atmos";
|
|
2
2
|
import { Program } from "../webgl/Program";
|
|
3
3
|
export declare const ENCODE24 = "vec3 encode24(highp float f) {\n float F = abs(f);\n float s = step( 0.0, -f );\n float e = floor( log2(F) );\n float m = exp2(- e) * F;\n e = floor( log2(F) + 127.0 ) + floor( log2(m) );\n return vec3(\n ( 128.0 * s + floor( e * exp2(-1.0) ) ) / 255.0,\n ( 128.0 * mod( e, 2.0 ) + mod( floor( m * 128.0 ), 128.0 ) ) / 255.0,\n floor( mod( floor( m * exp2( 23.0 - 8.0) ), exp2(8.0) ) ) / 255.0);\n }";
|
|
4
4
|
export declare function drawnode_screen_nl(): Program;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { GlobusTerrain
|
|
1
|
+
import { GlobusTerrain } from "./GlobusTerrain";
|
|
2
|
+
import type { IGlobusTerrainParams } from "./GlobusTerrain";
|
|
2
3
|
import { Segment } from "../segment/Segment";
|
|
3
4
|
import { Extent } from "../Extent";
|
|
4
|
-
import { TypedArray } from "../utils/shared";
|
|
5
|
+
import type { TypedArray } from "../utils/shared";
|
|
5
6
|
interface IBilTerrainParams extends IGlobusTerrainParams {
|
|
6
7
|
layers?: string;
|
|
7
8
|
imageSize?: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RgbTerrain } from "./RgbTerrain";
|
|
2
|
+
import type { IRgbTerrainParams } from "./RgbTerrain";
|
|
2
3
|
import { Segment } from "../segment/Segment";
|
|
3
4
|
export declare class GlobusRgbTerrain extends RgbTerrain {
|
|
4
5
|
constructor(name?: string | null, options?: IRgbTerrainParams);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { EventsHandler } from "../Events";
|
|
2
|
-
import { TypedArray } from "../utils/shared";
|
|
3
|
-
import { EmptyTerrain
|
|
1
|
+
import type { EventsHandler } from "../Events";
|
|
2
|
+
import type { TypedArray } from "../utils/shared";
|
|
3
|
+
import { EmptyTerrain } from "./EmptyTerrain";
|
|
4
|
+
import type { IEmptyTerrainParams, UrlRewriteFunc } from "./EmptyTerrain";
|
|
4
5
|
import { Extent } from "../Extent";
|
|
5
6
|
import { Loader } from "../utils/Loader";
|
|
6
7
|
import { LonLat } from "../LonLat";
|
|
@@ -59,7 +60,7 @@ declare class GlobusTerrain extends EmptyTerrain {
|
|
|
59
60
|
/**
|
|
60
61
|
* Rewrites elevation storage url query.
|
|
61
62
|
* @protected
|
|
62
|
-
* @type {Function}
|
|
63
|
+
* @type {Function}
|
|
63
64
|
*/
|
|
64
65
|
protected _urlRewriteCallback: UrlRewriteFunc | null;
|
|
65
66
|
protected _heightFactor: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Extent } from "../Extent";
|
|
2
|
-
import { GlobusTerrain
|
|
2
|
+
import { GlobusTerrain } from "./GlobusTerrain";
|
|
3
|
+
import type { IGlobusTerrainParams } from "./GlobusTerrain";
|
|
3
4
|
import { LonLat } from "../LonLat";
|
|
4
5
|
import { Segment } from "../segment/Segment";
|
|
5
|
-
import { TypedArray } from "../utils/shared";
|
|
6
|
+
import type { TypedArray } from "../utils/shared";
|
|
6
7
|
export interface IRgbTerrainParams extends IGlobusTerrainParams {
|
|
7
8
|
equalizeNormals?: boolean;
|
|
8
9
|
key?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { View } from './View';
|
|
2
|
+
import type { IViewParams, ViewEventsList } from './View';
|
|
3
|
+
import type { EventsHandler } from "../Events";
|
|
3
4
|
interface HTMLElementExt extends HTMLElement {
|
|
4
5
|
__og_button__: Button;
|
|
5
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventsHandler } from "../Events";
|
|
2
|
-
import {
|
|
1
|
+
import type { EventsHandler } from "../Events";
|
|
2
|
+
import { View } from './View';
|
|
3
|
+
import type { IViewParams, ViewEventsList } from './View';
|
|
3
4
|
interface ICheckboxParams extends IViewParams {
|
|
4
5
|
label?: string;
|
|
5
6
|
checked?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventsHandler } from "../Events";
|
|
2
|
-
import {
|
|
1
|
+
import type { EventsHandler } from "../Events";
|
|
2
|
+
import { View } from './View';
|
|
3
|
+
import type { IViewParams, ViewEventsList } from './View';
|
|
3
4
|
interface IColorParams extends IViewParams {
|
|
4
5
|
label?: string;
|
|
5
6
|
value?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Button } from './Button';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { View } from './View';
|
|
3
|
+
import type { IViewParams, ViewEventsList } from './View';
|
|
4
|
+
import type { EventsHandler } from "../Events";
|
|
4
5
|
export interface IDialogParams extends IViewParams {
|
|
5
6
|
title?: string;
|
|
6
7
|
visible?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventsHandler } from "../Events";
|
|
2
|
-
import {
|
|
1
|
+
import type { EventsHandler } from "../Events";
|
|
2
|
+
import { View } from './View';
|
|
3
|
+
import type { IViewParams, ViewEventsList } from './View';
|
|
3
4
|
interface IInputParams extends IViewParams {
|
|
4
5
|
label?: string;
|
|
5
6
|
value?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventsHandler } from "../Events";
|
|
2
|
-
import {
|
|
1
|
+
import type { EventsHandler } from "../Events";
|
|
2
|
+
import { View } from './View';
|
|
3
|
+
import type { IViewParams, ViewEventsList } from './View';
|
|
3
4
|
interface ISliderParams extends IViewParams {
|
|
4
5
|
label?: string;
|
|
5
6
|
value?: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Button
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Button } from './Button';
|
|
2
|
+
import type { IButtonParams, ButtonEventsList } from './Button';
|
|
3
|
+
import type { EventsHandler } from "../Events";
|
|
4
|
+
import type { ViewEventsList } from "./View";
|
|
4
5
|
interface IToggleButtonParams extends IButtonParams {
|
|
5
6
|
isActive?: boolean;
|
|
6
7
|
preventClick?: boolean;
|
|
@@ -2,7 +2,7 @@ import { Deferred } from '../Deferred';
|
|
|
2
2
|
import { Rectangle } from '../Rectangle';
|
|
3
3
|
import { TextureAtlas, TextureAtlasNode } from './TextureAtlas';
|
|
4
4
|
import { Handler } from "../webgl/Handler";
|
|
5
|
-
import { HTMLImageElementExt } from "./ImagesCacheManager";
|
|
5
|
+
import type { HTMLImageElementExt } from "./ImagesCacheManager";
|
|
6
6
|
interface IChar {
|
|
7
7
|
id: number;
|
|
8
8
|
char: string;
|
|
@@ -2,7 +2,7 @@ import { BaseGeoImage } from "../layer/BaseGeoImage";
|
|
|
2
2
|
import { Framebuffer } from '../webgl/Framebuffer';
|
|
3
3
|
import { LonLat } from '../LonLat';
|
|
4
4
|
import { Planet } from "../scene/Planet";
|
|
5
|
-
import { WebGLBufferExt, WebGLTextureExt } from "../webgl/Handler";
|
|
5
|
+
import type { WebGLBufferExt, WebGLTextureExt } from "../webgl/Handler";
|
|
6
6
|
export declare class GeoImageCreator {
|
|
7
7
|
MAX_FRAMES: number;
|
|
8
8
|
protected _gridSize: number;
|
|
@@ -3,7 +3,8 @@ import { Lock, Key } from "../Lock";
|
|
|
3
3
|
import { Planet } from "../scene/Planet";
|
|
4
4
|
import { QueueArray } from "../QueueArray";
|
|
5
5
|
import { Segment } from "../segment/Segment";
|
|
6
|
-
import {
|
|
6
|
+
import { Handler } from "../webgl/Handler";
|
|
7
|
+
import type { WebGLBufferExt, WebGLTextureExt } from "../webgl/Handler";
|
|
7
8
|
interface INormalMapCreatorParams {
|
|
8
9
|
minTableSize?: number;
|
|
9
10
|
maxTableSize?: number;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ImageCanvas } from "../ImageCanvas";
|
|
2
2
|
import { Rectangle } from "../Rectangle";
|
|
3
|
-
import { ImagesCacheManager
|
|
4
|
-
import {
|
|
3
|
+
import { ImagesCacheManager } from "./ImagesCacheManager";
|
|
4
|
+
import type { HTMLImageElementExt, ImagesCacheManagerCallback } from "./ImagesCacheManager";
|
|
5
|
+
import { Handler } from "../webgl/Handler";
|
|
6
|
+
import type { WebGLTextureExt } from "../webgl/Handler";
|
|
5
7
|
/**
|
|
6
8
|
* Texture atlas stores images in one texture. Each image has its own
|
|
7
9
|
* atlas texture coordinates.
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
import { Extent } from "../Extent";
|
|
5
5
|
import { LonLat } from "../LonLat";
|
|
6
6
|
import { Vec2 } from "../math/Vec2";
|
|
7
|
-
import { NumberArray2 } from "../math/Vec2";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import type { NumberArray2 } from "../math/Vec2";
|
|
8
|
+
import { Vec3 } from "../math/Vec3";
|
|
9
|
+
import type { NumberArray3 } from "../math/Vec3";
|
|
10
|
+
import { Vec4 } from "../math/Vec4";
|
|
11
|
+
import type { NumberArray4 } from "../math/Vec4";
|
|
10
12
|
import { Ellipsoid } from "../ellipsoid/Ellipsoid";
|
|
11
13
|
export declare function getDefault(param?: any, def?: any): boolean;
|
|
12
14
|
export declare function isEmpty(v: any): boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { BaseFramebuffer
|
|
1
|
+
import { BaseFramebuffer } from "./BaseFramebuffer";
|
|
2
|
+
import type { IBaseFramebufferParams } from "./BaseFramebuffer";
|
|
2
3
|
import { Handler } from "./Handler";
|
|
3
|
-
import { TypedArray } from "../utils/shared";
|
|
4
|
+
import type { TypedArray } from "../utils/shared";
|
|
4
5
|
export interface ITargetParams {
|
|
5
6
|
internalFormat?: string;
|
|
6
7
|
format?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { BaseFramebuffer } from "./BaseFramebuffer";
|
|
2
2
|
import { Clock } from "../Clock";
|
|
3
|
-
import { EventsHandler } from "../Events";
|
|
4
|
-
import { TypedArray } from "../utils/shared";
|
|
5
|
-
import {
|
|
3
|
+
import type { EventsHandler } from "../Events";
|
|
4
|
+
import type { TypedArray } from "../utils/shared";
|
|
5
|
+
import { Vec2 } from "../math/Vec2";
|
|
6
|
+
import type { NumberArray2 } from "../math/Vec2";
|
|
6
7
|
import { ProgramController } from "./ProgramController";
|
|
7
8
|
import { Program } from "./Program";
|
|
8
9
|
import { Stack } from "../Stack";
|
|
@@ -45,6 +46,9 @@ export interface IDefaultTextureParams {
|
|
|
45
46
|
color?: string;
|
|
46
47
|
url?: string;
|
|
47
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* @typedef {"visibilitychange" | "resize"} HandlerEventType
|
|
51
|
+
*/
|
|
48
52
|
/**
|
|
49
53
|
* A WebGL handler for accessing low-level WebGL capabilities.
|
|
50
54
|
* @class
|
|
@@ -61,7 +65,7 @@ declare class Handler {
|
|
|
61
65
|
/**
|
|
62
66
|
* Events.
|
|
63
67
|
* @public
|
|
64
|
-
* @type {EventsHandler<
|
|
68
|
+
* @type {EventsHandler<Array<HandlerEventType>>}
|
|
65
69
|
*/
|
|
66
70
|
events: EventsHandler<["visibilitychange", "resize"]>;
|
|
67
71
|
/**
|
|
@@ -469,10 +473,10 @@ declare class Handler {
|
|
|
469
473
|
*/
|
|
470
474
|
protected _animationFrameCallback(): void;
|
|
471
475
|
/**
|
|
472
|
-
* Creates default texture object
|
|
476
|
+
* Creates default texture object.
|
|
473
477
|
* @public
|
|
474
|
-
* @param {IDefaultTextureParams | null} params - Texture parameters
|
|
475
|
-
* @param {(
|
|
478
|
+
* @param {IDefaultTextureParams | null} params - Texture parameters.
|
|
479
|
+
* @param {function(WebGLTextureExt): void} [success] - Creation callback.
|
|
476
480
|
*/
|
|
477
481
|
createDefaultTexture(params: IDefaultTextureParams | null, success: (texture: WebGLTextureExt) => void): void;
|
|
478
482
|
deleteTexture(texture: WebGLTextureExt | null | undefined): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { BaseFramebuffer
|
|
1
|
+
import { BaseFramebuffer } from "./BaseFramebuffer";
|
|
2
|
+
import type { IBaseFramebufferParams } from "./BaseFramebuffer";
|
|
2
3
|
import { Handler } from "./Handler";
|
|
3
4
|
interface IMultisampleParams extends IBaseFramebufferParams {
|
|
4
5
|
msaa?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProgramVariable } from "./variableHandlers";
|
|
2
|
-
import { WebGLBufferExt } from "./Handler";
|
|
1
|
+
import type { ProgramVariable } from "./variableHandlers";
|
|
2
|
+
import type { WebGLBufferExt } from "./Handler";
|
|
3
3
|
type WebGLProgramExt = WebGLProgram & {
|
|
4
4
|
[id: string]: WebGLUniformLocation;
|
|
5
5
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Handler
|
|
1
|
+
import { Handler } from "./Handler";
|
|
2
|
+
import type { WebGLBufferExt } from "./Handler";
|
|
2
3
|
import { Program } from "./Program";
|
|
3
4
|
/**
|
|
4
5
|
* This is shader program controller that used by handler object to access the shader
|