@openglobus/og 0.11.4 → 0.11.8
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/css/og.css +3 -2
- package/package.json +12 -14
- package/src/og/Clock.js +6 -10
- package/src/og/Events.js +5 -7
- package/src/og/Extent.js +73 -32
- package/src/og/Globe.js +8 -5
- package/src/og/ImageCanvas.js +18 -15
- package/src/og/LonLat.js +13 -10
- package/src/og/Popup.js +19 -17
- package/src/og/QueueArray.js +3 -4
- package/src/og/Rectangle.js +4 -6
- package/src/og/Stack.js +2 -4
- package/src/og/ajax.js +20 -14
- package/src/og/astro/earth.js +21 -15
- package/src/og/bv/Box.js +2 -3
- package/src/og/bv/Sphere.js +10 -7
- package/src/og/camera/Frustum.js +19 -12
- package/src/og/camera/PlanetCamera.js +9 -5
- package/src/og/control/CompassButton.js +1 -2
- package/src/og/control/Control.js +7 -9
- package/src/og/control/DebugInfo.js +0 -1
- package/src/og/control/KeyboardNavigation.js +9 -9
- package/src/og/control/LayerSwitcher.js +21 -20
- package/src/og/control/Lighting.js +74 -64
- package/src/og/control/MouseNavigation.js +21 -18
- package/src/og/control/MouseWheelZoomControl.js +257 -0
- package/src/og/control/SegmentBoundVisualization.js +5 -6
- package/src/og/control/ShowFps.js +12 -7
- package/src/og/control/SimpleNavigation.js +5 -7
- package/src/og/control/Sun.js +22 -12
- package/src/og/control/ToggleWireframe.js +3 -3
- package/src/og/control/TouchNavigation.js +43 -32
- package/src/og/control/ZoomControl.js +40 -24
- package/src/og/control/index.js +2 -0
- package/src/og/control/visibleExtent/Segment.js +1862 -0
- package/src/og/control/visibleExtent/VisibleExtent.js +80 -0
- package/src/og/control/visibleExtent/drawnode.js +751 -0
- package/src/og/ellipsoid/Ellipsoid.js +149 -57
- package/src/og/ellipsoid/wgs84.js +3 -3
- package/src/og/entity/BaseBillboard.js +72 -30
- package/src/og/entity/Billboard.js +9 -5
- package/src/og/entity/BillboardHandler.js +315 -62
- package/src/og/entity/Entity.js +39 -1
- package/src/og/entity/EntityCollection.js +47 -24
- package/src/og/entity/GeoObject.js +228 -0
- package/src/og/entity/GeoObjectHandler.js +910 -0
- package/src/og/entity/GeometryHandler.js +595 -123
- package/src/og/entity/Label.js +62 -30
- package/src/og/entity/LabelHandler.js +40 -242
- package/src/og/entity/LabelWorker.js +218 -0
- package/src/og/entity/Object3d.js +504 -0
- package/src/og/entity/PointCloud.js +76 -28
- package/src/og/entity/PointCloudHandler.js +5 -5
- package/src/og/entity/Ray.js +49 -16
- package/src/og/entity/Strip.js +72 -43
- package/src/og/entity/StripHandler.js +23 -23
- package/src/og/layer/BaseGeoImage.js +50 -19
- package/src/og/layer/CanvasTiles.js +16 -17
- package/src/og/layer/GeoImage.js +8 -16
- package/src/og/layer/GeoTexture2d.js +2 -10
- package/src/og/layer/GeoVideo.js +2 -10
- package/src/og/layer/KML.js +55 -33
- package/src/og/layer/Layer.js +24 -32
- package/src/og/layer/Material.js +1 -1
- package/src/og/layer/Vector.js +94 -48
- package/src/og/layer/WMS.js +33 -18
- package/src/og/layer/XYZ.js +4 -5
- package/src/og/light/LightSource.js +19 -12
- package/src/og/math/Mat3.js +24 -12
- package/src/og/math/Mat4.js +603 -603
- package/src/og/math/Plane.js +19 -18
- package/src/og/math/Ray.js +17 -12
- package/src/og/math/Vec2.js +24 -14
- package/src/og/math/Vec3.js +60 -30
- package/src/og/math/coder.js +7 -7
- package/src/og/proj/EPSG3857.js +3 -3
- package/src/og/proj/EPSG4326.js +3 -3
- package/src/og/proj/Proj.js +2 -4
- package/src/og/quadTree/Node.js +3 -3
- package/src/og/renderer/Renderer.js +106 -124
- package/src/og/renderer/RendererEvents.js +45 -23
- package/src/og/scene/BaseNode.js +2 -3
- package/src/og/scene/Planet.js +51 -90
- package/src/og/scene/RenderNode.js +15 -8
- package/src/og/segment/Segment.js +60 -156
- package/src/og/segment/Slice.js +45 -0
- package/src/og/shaders/drawnode.js +245 -342
- package/src/og/shaders/geoObject.js +211 -0
- package/src/og/shaders/pointCloud.js +41 -41
- package/src/og/shaders/shape.js +12 -18
- package/src/og/shaders/skybox.js +36 -36
- package/src/og/shaders/toneMapping.js +1 -0
- package/src/og/shapes/BaseShape.js +108 -36
- package/src/og/shapes/Icosphere.js +25 -10
- package/src/og/shapes/Sphere.js +8 -11
- package/src/og/utils/FontAtlas.js +6 -2
- package/src/og/utils/GeoImageCreator.js +5 -1
- package/src/og/utils/TextureAtlas.js +18 -20
- package/src/og/utils/VectorTileCreator.js +1 -3
- package/src/og/utils/shared.js +2 -2
- package/src/og/webgl/Handler.js +215 -162
- package/src/og/webgl/Multisample.js +44 -16
- package/src/og/webgl/Program.js +78 -33
- package/src/og/webgl/callbacks.js +3 -3
- package/types/Clock.d.ts +0 -94
- package/types/Deferred.d.ts +0 -6
- package/types/Events.d.ts +0 -77
- package/types/Extent.d.ts +0 -166
- package/types/Globe.d.ts +0 -82
- package/types/ImageCanvas.d.ts +0 -123
- package/types/Lock.d.ts +0 -12
- package/types/LonLat.d.ts +0 -108
- package/types/Popup.d.ts +0 -42
- package/types/QueueArray.d.ts +0 -19
- package/types/Rectangle.d.ts +0 -80
- package/types/Stack.d.ts +0 -19
- package/types/ajax.d.ts +0 -24
- package/types/arial.d.ts +0 -48
- package/types/astro/astro.d.ts +0 -38
- package/types/astro/earth.d.ts +0 -7
- package/types/astro/jd.d.ts +0 -254
- package/types/bv/Box.d.ts +0 -30
- package/types/bv/Sphere.d.ts +0 -38
- package/types/bv/index.d.ts +0 -3
- package/types/camera/Camera.d.ts +0 -312
- package/types/camera/Frustum.d.ts +0 -133
- package/types/camera/PlanetCamera.d.ts +0 -218
- package/types/camera/index.d.ts +0 -3
- package/types/cons.d.ts +0 -40
- package/types/control/CompassButton.d.ts +0 -17
- package/types/control/Control.d.ts +0 -104
- package/types/control/DebugInfo.d.ts +0 -15
- package/types/control/EarthCoordinates.d.ts +0 -47
- package/types/control/EarthNavigation.d.ts +0 -42
- package/types/control/GeoImageDragControl.d.ts +0 -6
- package/types/control/KeyboardNavigation.d.ts +0 -21
- package/types/control/LayerSwitcher.d.ts +0 -21
- package/types/control/Lighting.d.ts +0 -16
- package/types/control/MouseNavigation.d.ts +0 -47
- package/types/control/ScaleControl.d.ts +0 -22
- package/types/control/ShowFps.d.ts +0 -11
- package/types/control/SimpleNavigation.d.ts +0 -25
- package/types/control/Sun.d.ts +0 -50
- package/types/control/ToggleWireframe.d.ts +0 -12
- package/types/control/TouchNavigation.d.ts +0 -48
- package/types/control/ZoomControl.d.ts +0 -27
- package/types/control/index.d.ts +0 -17
- package/types/ellipsoid/Ellipsoid.d.ts +0 -146
- package/types/ellipsoid/index.d.ts +0 -3
- package/types/ellipsoid/wgs84.d.ts +0 -6
- package/types/entity/BaseBillboard.d.ts +0 -208
- package/types/entity/Billboard.d.ts +0 -94
- package/types/entity/BillboardHandler.d.ts +0 -78
- package/types/entity/Entity.d.ts +0 -333
- package/types/entity/EntityCollection.d.ts +0 -311
- package/types/entity/Geometry.d.ts +0 -74
- package/types/entity/GeometryHandler.d.ts +0 -76
- package/types/entity/Label.d.ts +0 -189
- package/types/entity/LabelHandler.d.ts +0 -29
- package/types/entity/PointCloud.d.ts +0 -174
- package/types/entity/PointCloudHandler.d.ts +0 -38
- package/types/entity/Polyline.d.ts +0 -306
- package/types/entity/PolylineHandler.d.ts +0 -18
- package/types/entity/Ray.d.ts +0 -124
- package/types/entity/RayHandler.d.ts +0 -67
- package/types/entity/ShapeHandler.d.ts +0 -22
- package/types/entity/Strip.d.ts +0 -119
- package/types/entity/StripHandler.d.ts +0 -38
- package/types/entity/index.d.ts +0 -8
- package/types/index.core.d.ts +0 -65
- package/types/index.d.ts +0 -45
- package/types/index.webgl.d.ts +0 -7
- package/types/input/KeyboardHandler.d.ts +0 -10
- package/types/input/MouseHandler.d.ts +0 -5
- package/types/input/TouchHandler.d.ts +0 -5
- package/types/input/input.d.ts +0 -34
- package/types/layer/BaseGeoImage.d.ts +0 -94
- package/types/layer/CanvasTiles.d.ts +0 -68
- package/types/layer/GeoImage.d.ts +0 -52
- package/types/layer/GeoTexture2d.d.ts +0 -8
- package/types/layer/GeoVideo.d.ts +0 -55
- package/types/layer/KML.d.ts +0 -63
- package/types/layer/Layer.d.ts +0 -325
- package/types/layer/Material.d.ts +0 -45
- package/types/layer/Vector.d.ts +0 -208
- package/types/layer/WMS.d.ts +0 -63
- package/types/layer/XYZ.d.ts +0 -120
- package/types/layer/index.d.ts +0 -10
- package/types/light/LightSource.d.ts +0 -178
- package/types/math/Line2.d.ts +0 -11
- package/types/math/Line3.d.ts +0 -10
- package/types/math/Mat3.d.ts +0 -65
- package/types/math/Mat4.d.ts +0 -176
- package/types/math/Plane.d.ts +0 -18
- package/types/math/Quat.d.ts +0 -379
- package/types/math/Ray.d.ts +0 -82
- package/types/math/Vec2.d.ts +0 -309
- package/types/math/Vec3.d.ts +0 -460
- package/types/math/Vec4.d.ts +0 -162
- package/types/math/coder.d.ts +0 -43
- package/types/math/index.d.ts +0 -11
- package/types/math.d.ts +0 -261
- package/types/mercator.d.ts +0 -92
- package/types/proj/EPSG3857.d.ts +0 -6
- package/types/proj/EPSG4326.d.ts +0 -6
- package/types/proj/Proj.d.ts +0 -42
- package/types/quadTree/EntityCollectionNode.d.ts +0 -34
- package/types/quadTree/Node.d.ts +0 -61
- package/types/quadTree/quadTree.d.ts +0 -40
- package/types/renderer/Renderer.d.ts +0 -298
- package/types/renderer/RendererEvents.d.ts +0 -233
- package/types/res/images.d.ts +0 -3
- package/types/scene/Axes.d.ts +0 -11
- package/types/scene/BaseNode.d.ts +0 -60
- package/types/scene/Planet.d.ts +0 -577
- package/types/scene/RenderNode.d.ts +0 -142
- package/types/scene/SkyBox.d.ts +0 -10
- package/types/scene/index.d.ts +0 -4
- package/types/segment/Segment.d.ts +0 -279
- package/types/segment/SegmentLonLat.d.ts +0 -16
- package/types/segment/segmentHelper.d.ts +0 -13
- package/types/shaders/billboard.d.ts +0 -3
- package/types/shaders/depth.d.ts +0 -2
- package/types/shaders/drawnode.d.ts +0 -7
- package/types/shaders/label.d.ts +0 -4
- package/types/shaders/pointCloud.d.ts +0 -2
- package/types/shaders/polyline.d.ts +0 -3
- package/types/shaders/ray.d.ts +0 -2
- package/types/shaders/screenFrame.d.ts +0 -2
- package/types/shaders/shape.d.ts +0 -4
- package/types/shaders/skybox.d.ts +0 -2
- package/types/shaders/toneMapping.d.ts +0 -2
- package/types/shapes/BaseShape.d.ts +0 -250
- package/types/shapes/Sphere.d.ts +0 -41
- package/types/terrain/BilTerrain.d.ts +0 -7
- package/types/terrain/EmptyTerrain.d.ts +0 -72
- package/types/terrain/Geoid.d.ts +0 -26
- package/types/terrain/GlobusTerrain.d.ts +0 -116
- package/types/terrain/MapboxTerrain.d.ts +0 -7
- package/types/terrain/index.d.ts +0 -5
- package/types/utils/FontAtlas.d.ts +0 -14
- package/types/utils/GeoImageCreator.d.ts +0 -30
- package/types/utils/ImagesCacheManager.d.ts +0 -10
- package/types/utils/Loader.d.ts +0 -25
- package/types/utils/NormalMapCreator.d.ts +0 -39
- package/types/utils/PlainSegmentWorker.d.ts +0 -10
- package/types/utils/TerrainWorker.d.ts +0 -9
- package/types/utils/TextureAtlas.d.ts +0 -111
- package/types/utils/VectorTileCreator.d.ts +0 -16
- package/types/utils/colorTable.d.ts +0 -143
- package/types/utils/earcut.d.ts +0 -6
- package/types/utils/shared.d.ts +0 -231
- package/types/webgl/Framebuffer.d.ts +0 -135
- package/types/webgl/Handler.d.ts +0 -388
- package/types/webgl/Multisample.d.ts +0 -89
- package/types/webgl/Program.d.ts +0 -155
- package/types/webgl/ProgramController.d.ts +0 -89
- package/types/webgl/callbacks.d.ts +0 -1
- package/types/webgl/index.d.ts +0 -6
- package/types/webgl/types.d.ts +0 -2
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An observable collection of og.Entity instances where each entity has a unique id.
|
|
3
|
-
* Entity collection provide handlers for an each type of entity like billboard, label or 3ds object.
|
|
4
|
-
* @constructor
|
|
5
|
-
* @param {Object} [options] - Entity options:
|
|
6
|
-
* @param {Array.<Entity>} [options.entities] - Entities array.
|
|
7
|
-
* @param {boolean} [options.visibility=true] - Entity visibility.
|
|
8
|
-
* @param {Array.<number>} [options.scaleByDistance] - Entity scale by distance parameters. (exactly 3 entries)
|
|
9
|
-
* First index - near distance to the entity, after entity becomes full scale.
|
|
10
|
-
* Second index - far distance to the entity, when entity becomes zero scale.
|
|
11
|
-
* Third index - far distance to the entity, when entity becomes invisible.
|
|
12
|
-
* @param {number} [options.opacity] - Entity global opacity.
|
|
13
|
-
* @param {boolean} [options.pickingEnabled=true] - Entity picking enable.
|
|
14
|
-
* @param {Number} [options.polygonOffsetFactor=0.0] - The scale factor for the variable depth offset. The default value is 0.
|
|
15
|
-
* @param {Number} [options.polygonOffsetUnits=0.0] - The multiplier by which an implementation-specific value is multiplied with to create a constant depth offset. The default value is 0.
|
|
16
|
-
* @fires og.EntityCollection#entitymove
|
|
17
|
-
* @fires og.EntityCollection#draw
|
|
18
|
-
* @fires og.EntityCollection#drawend
|
|
19
|
-
* @fires og.EntityCollection#add
|
|
20
|
-
* @fires og.EntityCollection#remove
|
|
21
|
-
* @fires og.EntityCollection#entityadd
|
|
22
|
-
* @fires og.EntityCollection#entityremove
|
|
23
|
-
* @fires og.EntityCollection#visibilitychange
|
|
24
|
-
* @fires og.EntityCollection#mousemove
|
|
25
|
-
* @fires og.EntityCollection#mouseenter
|
|
26
|
-
* @fires og.EntityCollection#mouseleave
|
|
27
|
-
* @fires og.EntityCollection#lclick
|
|
28
|
-
* @fires og.EntityCollection#rclick
|
|
29
|
-
* @fires og.EntityCollection#mclick
|
|
30
|
-
* @fires og.EntityCollection#ldblclick
|
|
31
|
-
* @fires og.EntityCollection#rdblclick
|
|
32
|
-
* @fires og.EntityCollection#mdblclick
|
|
33
|
-
* @fires og.EntityCollection#lup
|
|
34
|
-
* @fires og.EntityCollection#rup
|
|
35
|
-
* @fires og.EntityCollection#mup
|
|
36
|
-
* @fires og.EntityCollection#ldown
|
|
37
|
-
* @fires og.EntityCollection#rdown
|
|
38
|
-
* @fires og.EntityCollection#mdown
|
|
39
|
-
* @fires og.EntityCollection#lhold
|
|
40
|
-
* @fires og.EntityCollection#rhold
|
|
41
|
-
* @fires og.EntityCollection#mhold
|
|
42
|
-
* @fires og.EntityCollection#mousewheel
|
|
43
|
-
* @fires og.EntityCollection#touchmove
|
|
44
|
-
* @fires og.EntityCollection#touchstart
|
|
45
|
-
* @fires og.EntityCollection#touchend
|
|
46
|
-
* @fires og.EntityCollection#doubletouch
|
|
47
|
-
* @fires og.EntityCollection#touchleave
|
|
48
|
-
* @fires og.EntityCollection#touchenter
|
|
49
|
-
*/
|
|
50
|
-
export class EntityCollection {
|
|
51
|
-
static set _staticCounter(arg: any);
|
|
52
|
-
static get _staticCounter(): any;
|
|
53
|
-
constructor(options: any);
|
|
54
|
-
/**
|
|
55
|
-
* Unic identifier.
|
|
56
|
-
* @public
|
|
57
|
-
* @readonly
|
|
58
|
-
*/
|
|
59
|
-
public readonly id: number;
|
|
60
|
-
/**
|
|
61
|
-
* Render node collections array index.
|
|
62
|
-
* @protected
|
|
63
|
-
* @type {number}
|
|
64
|
-
*/
|
|
65
|
-
protected _renderNodeIndex: number;
|
|
66
|
-
/**
|
|
67
|
-
* Render node context.
|
|
68
|
-
* @public
|
|
69
|
-
* @type {RenderNode}
|
|
70
|
-
*/
|
|
71
|
-
public renderNode: any;
|
|
72
|
-
/**
|
|
73
|
-
* Visibility option.
|
|
74
|
-
* @protected
|
|
75
|
-
* @type {boolean}
|
|
76
|
-
*/
|
|
77
|
-
protected _visibility: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Specifies the scale factor for gl.polygonOffset function to calculate depth values, 0.0 is default.
|
|
80
|
-
* @public
|
|
81
|
-
* @type {Number}
|
|
82
|
-
*/
|
|
83
|
-
public polygonOffsetFactor: number;
|
|
84
|
-
/**
|
|
85
|
-
* Specifies the scale Units for gl.polygonOffset function to calculate depth values, 0.0 is default.
|
|
86
|
-
* @public
|
|
87
|
-
* @type {Number}
|
|
88
|
-
*/
|
|
89
|
-
public polygonOffsetUnits: number;
|
|
90
|
-
/**
|
|
91
|
-
* Billboards handler
|
|
92
|
-
* @public
|
|
93
|
-
* @type {BillboardHandler}
|
|
94
|
-
*/
|
|
95
|
-
public billboardHandler: BillboardHandler;
|
|
96
|
-
/**
|
|
97
|
-
* Labels handler
|
|
98
|
-
* @public
|
|
99
|
-
* @type {LabelHandler}
|
|
100
|
-
*/
|
|
101
|
-
public labelHandler: LabelHandler;
|
|
102
|
-
/**
|
|
103
|
-
* Shape handler
|
|
104
|
-
* @public
|
|
105
|
-
* @type {ShapeHandler}
|
|
106
|
-
*/
|
|
107
|
-
public shapeHandler: ShapeHandler;
|
|
108
|
-
/**
|
|
109
|
-
* Polyline handler
|
|
110
|
-
* @public
|
|
111
|
-
* @type {PolylineHandler}
|
|
112
|
-
*/
|
|
113
|
-
public polylineHandler: PolylineHandler;
|
|
114
|
-
/**
|
|
115
|
-
* Ray handler
|
|
116
|
-
* @public
|
|
117
|
-
* @type {RayHandler}
|
|
118
|
-
*/
|
|
119
|
-
public rayHandler: RayHandler;
|
|
120
|
-
/**
|
|
121
|
-
* PointCloud handler
|
|
122
|
-
* @public
|
|
123
|
-
* @type {PointCloudHandler}
|
|
124
|
-
*/
|
|
125
|
-
public pointCloudHandler: PointCloudHandler;
|
|
126
|
-
/**
|
|
127
|
-
* Strip handler
|
|
128
|
-
* @public
|
|
129
|
-
* @type {StripHandler}
|
|
130
|
-
*/
|
|
131
|
-
public stripHandler: StripHandler;
|
|
132
|
-
/**
|
|
133
|
-
* Entities array.
|
|
134
|
-
* @protected
|
|
135
|
-
* @type {Array.<Entity>}
|
|
136
|
-
*/
|
|
137
|
-
protected _entities: Array<any>;
|
|
138
|
-
/**
|
|
139
|
-
* First index - near distance to the entity, after entity becomes full scale.
|
|
140
|
-
* Second index - far distance to the entity, when entity becomes zero scale.
|
|
141
|
-
* Third index - far distance to the entity, when entity becomes invisible.
|
|
142
|
-
* @public
|
|
143
|
-
* @type {Array.<number>} - (exactly 3 entries)
|
|
144
|
-
*/
|
|
145
|
-
public scaleByDistance: Array<number>;
|
|
146
|
-
pickingScale: any;
|
|
147
|
-
/**
|
|
148
|
-
* Global opacity.
|
|
149
|
-
* @protected
|
|
150
|
-
* @type {number}
|
|
151
|
-
*/
|
|
152
|
-
protected _opacity: number;
|
|
153
|
-
/**
|
|
154
|
-
* Opacity state during the animated opacity.
|
|
155
|
-
* @protected
|
|
156
|
-
* @type {number}
|
|
157
|
-
*/
|
|
158
|
-
protected _fadingOpacity: number;
|
|
159
|
-
/**
|
|
160
|
-
* Entity collection events handler.
|
|
161
|
-
* @public
|
|
162
|
-
* @type {Events}
|
|
163
|
-
*/
|
|
164
|
-
public events: Events;
|
|
165
|
-
rendererEvents: Events;
|
|
166
|
-
setPolygonOffset(factor: any, units: any): void;
|
|
167
|
-
/**
|
|
168
|
-
* Sets collection visibility.
|
|
169
|
-
* @public
|
|
170
|
-
* @param {boolean} visibility - Visibility flag.
|
|
171
|
-
*/
|
|
172
|
-
public setVisibility(visibility: boolean): void;
|
|
173
|
-
/**
|
|
174
|
-
* Returns collection visibility.
|
|
175
|
-
* @public
|
|
176
|
-
* @returns {boolean} -
|
|
177
|
-
*/
|
|
178
|
-
public getVisibility(): boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Sets collection opacity.
|
|
181
|
-
* @public
|
|
182
|
-
* @param {number} opacity - Opacity.
|
|
183
|
-
*/
|
|
184
|
-
public setOpacity(opacity: number): void;
|
|
185
|
-
/**
|
|
186
|
-
* Sets collection picking ability.
|
|
187
|
-
* @public
|
|
188
|
-
* @param {boolean} enable - Picking enable flag.
|
|
189
|
-
*/
|
|
190
|
-
public setPickingEnabled(enable: boolean): void;
|
|
191
|
-
/**
|
|
192
|
-
* Gets collection opacity.
|
|
193
|
-
* @public
|
|
194
|
-
* @returns {number} -
|
|
195
|
-
*/
|
|
196
|
-
public getOpacity(): number;
|
|
197
|
-
/**
|
|
198
|
-
* Sets scale by distance parameters.
|
|
199
|
-
* @public
|
|
200
|
-
* @param {number} near - Full scale entity distance.
|
|
201
|
-
* @param {number} far - Zerol scale entity distance.
|
|
202
|
-
* @param {number} [farInvisible] - Entity visibility distance.
|
|
203
|
-
*/
|
|
204
|
-
public setScaleByDistance(near: number, far: number, farInvisible?: number): void;
|
|
205
|
-
_addRecursively(entity: any): void;
|
|
206
|
-
/**
|
|
207
|
-
* Adds entity to the collection and returns collection.
|
|
208
|
-
* @public
|
|
209
|
-
* @param {Entity} entity - Entity.
|
|
210
|
-
* @returns {EntityCollection} -
|
|
211
|
-
*/
|
|
212
|
-
public add(entity: any): EntityCollection;
|
|
213
|
-
/**
|
|
214
|
-
* Adds entities array to the collection and returns collection.
|
|
215
|
-
* @public
|
|
216
|
-
* @param {Array.<Entity>} entities - Entities array.
|
|
217
|
-
* @returns {EntityCollection} -
|
|
218
|
-
*/
|
|
219
|
-
public addEntities(entities: Array<any>): EntityCollection;
|
|
220
|
-
/**
|
|
221
|
-
* Returns true if the entity belongs this collection, otherwise returns false.
|
|
222
|
-
* @public
|
|
223
|
-
* @param {Entity} entity - Entity.
|
|
224
|
-
* @returns {boolean} -
|
|
225
|
-
*/
|
|
226
|
-
public belongs(entity: any): boolean;
|
|
227
|
-
_removeRecursively(entity: any): void;
|
|
228
|
-
/**
|
|
229
|
-
* Removes entity from this collection.
|
|
230
|
-
* @public
|
|
231
|
-
* @param {Entity} entity - Entity to remove.
|
|
232
|
-
*/
|
|
233
|
-
public removeEntity(entity: any): void;
|
|
234
|
-
_removeEntitySilent(entity: any): void;
|
|
235
|
-
/**
|
|
236
|
-
* Creates or refresh collected entities picking color.
|
|
237
|
-
* @public
|
|
238
|
-
*/
|
|
239
|
-
public createPickingColors(): void;
|
|
240
|
-
/**
|
|
241
|
-
* Refresh collected entities indexes from startIndex entitytes collection array position.
|
|
242
|
-
* @public
|
|
243
|
-
* @param {number} startIndex - Entities collection array index.
|
|
244
|
-
*/
|
|
245
|
-
public reindexEntitiesArray(startIndex: number): void;
|
|
246
|
-
/**
|
|
247
|
-
* Adds this collection to render node.
|
|
248
|
-
* @public
|
|
249
|
-
* @param {RenderNode} renderNode - Render node.
|
|
250
|
-
* @param {boolean} [isHidden] - Uses in vector layers that render in planet render specific function.
|
|
251
|
-
* @returns {EntityCollection} -
|
|
252
|
-
*/
|
|
253
|
-
public addTo(renderNode: any, isHidden?: boolean): EntityCollection;
|
|
254
|
-
/**
|
|
255
|
-
* This function is called in the RenderNode assign function.
|
|
256
|
-
* @param {RenderNode} renderNode
|
|
257
|
-
*/
|
|
258
|
-
bindRenderNode(renderNode: any): void;
|
|
259
|
-
/**
|
|
260
|
-
* Updates coordiantes all lonLat entities in collection after collecction attached to the planet node.
|
|
261
|
-
* @private
|
|
262
|
-
* @param {Ellipsoid} ellipsoid - Globe ellipsoid.
|
|
263
|
-
*/
|
|
264
|
-
private _updateGeodeticCoordinates;
|
|
265
|
-
/**
|
|
266
|
-
* Updates billboard texture atlas.
|
|
267
|
-
* @public
|
|
268
|
-
*/
|
|
269
|
-
public updateBillboardsTextureAtlas(): void;
|
|
270
|
-
/**
|
|
271
|
-
* Updates labels font atlas.
|
|
272
|
-
* @public
|
|
273
|
-
*/
|
|
274
|
-
public updateLabelsFontAtlas(): void;
|
|
275
|
-
/**
|
|
276
|
-
* Removes collection from render node.
|
|
277
|
-
* @public
|
|
278
|
-
*/
|
|
279
|
-
public remove(): void;
|
|
280
|
-
/**
|
|
281
|
-
* Gets entity array.
|
|
282
|
-
* @public
|
|
283
|
-
* @returns {Array.<Entity>} -
|
|
284
|
-
*/
|
|
285
|
-
public getEntities(): Array<any>;
|
|
286
|
-
/**
|
|
287
|
-
* Safety entities loop.
|
|
288
|
-
* @public
|
|
289
|
-
* @param {function} callback - Entity callback.
|
|
290
|
-
*/
|
|
291
|
-
public each(callback: Function): void;
|
|
292
|
-
/**
|
|
293
|
-
* Removes all entities from colection and clear handlers.
|
|
294
|
-
* @public
|
|
295
|
-
*/
|
|
296
|
-
public clear(): void;
|
|
297
|
-
/**
|
|
298
|
-
* Clears entity recursevely.
|
|
299
|
-
* @private
|
|
300
|
-
* @param {Entity} entity - Entity to clear.
|
|
301
|
-
*/
|
|
302
|
-
private _clearEntity;
|
|
303
|
-
}
|
|
304
|
-
import { BillboardHandler } from "./BillboardHandler.js";
|
|
305
|
-
import { LabelHandler } from "./LabelHandler.js";
|
|
306
|
-
import { ShapeHandler } from "./ShapeHandler.js";
|
|
307
|
-
import { PolylineHandler } from "./PolylineHandler.js";
|
|
308
|
-
import { RayHandler } from "./RayHandler.js";
|
|
309
|
-
import { PointCloudHandler } from "./PointCloudHandler.js";
|
|
310
|
-
import { StripHandler } from "./StripHandler.js";
|
|
311
|
-
import { Events } from "../Events.js";
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export class Geometry {
|
|
2
|
-
static set _staticCounter(arg: any);
|
|
3
|
-
static get _staticCounter(): any;
|
|
4
|
-
static getType(typeStr: any): any;
|
|
5
|
-
/**
|
|
6
|
-
* Returns geometry feature extent.
|
|
7
|
-
@static
|
|
8
|
-
@param {Object} geometryObj - GeoJSON style geometry feature.
|
|
9
|
-
@param {LonLat[]} outCoordinates - Geometry feature coordinates clone.
|
|
10
|
-
@returns {Extent} -
|
|
11
|
-
*/
|
|
12
|
-
static getExtent(geometryObj: any, outCoordinates: LonLat[]): Extent;
|
|
13
|
-
constructor(options: any);
|
|
14
|
-
_id: number;
|
|
15
|
-
/**
|
|
16
|
-
* Entity instance that holds this geometry.
|
|
17
|
-
* @protected
|
|
18
|
-
* @type {Entity}
|
|
19
|
-
*/
|
|
20
|
-
protected _entity: any;
|
|
21
|
-
_handler: any;
|
|
22
|
-
_handlerIndex: number;
|
|
23
|
-
_polyVerticesHighMerc: any[];
|
|
24
|
-
_polyVerticesLowMerc: any[];
|
|
25
|
-
_polyVerticesLength: number;
|
|
26
|
-
_polyIndexesLength: number;
|
|
27
|
-
_polyVerticesHandlerIndex: number;
|
|
28
|
-
_polyIndexesHandlerIndex: number;
|
|
29
|
-
_lineVerticesHighMerc: any[];
|
|
30
|
-
_lineVerticesLowMerc: any[];
|
|
31
|
-
_lineVerticesLength: number;
|
|
32
|
-
_lineOrdersLength: number;
|
|
33
|
-
_lineIndexesLength: number;
|
|
34
|
-
_lineColorsLength: number;
|
|
35
|
-
_lineThicknessLength: number;
|
|
36
|
-
_lineVerticesHandlerIndex: number;
|
|
37
|
-
_lineOrdersHandlerIndex: number;
|
|
38
|
-
_lineIndexesHandlerIndex: number;
|
|
39
|
-
_lineThicknessHandlerIndex: number;
|
|
40
|
-
_lineColorsHandlerIndex: number;
|
|
41
|
-
_type: any;
|
|
42
|
-
_coordinates: any[];
|
|
43
|
-
_extent: Extent;
|
|
44
|
-
_style: any;
|
|
45
|
-
_visibility: any;
|
|
46
|
-
_pickingReady: boolean;
|
|
47
|
-
setGeometry(geoJson: any): Geometry;
|
|
48
|
-
setFillColor(r: any, g: any, b: any, a: any): Geometry;
|
|
49
|
-
setFillColor4v(rgba: any): Geometry;
|
|
50
|
-
setStrokeColor(r: any, g: any, b: any, a: any): Geometry;
|
|
51
|
-
setLineColor(r: any, g: any, b: any, a: any): Geometry;
|
|
52
|
-
setStrokeColor4v(rgba: any): Geometry;
|
|
53
|
-
setLineColor4v(rgba: any): Geometry;
|
|
54
|
-
setStrokeOpacity(opacity: any): Geometry;
|
|
55
|
-
setLineOpacity(opacity: any): Geometry;
|
|
56
|
-
setStrokeWidth(width: any): Geometry;
|
|
57
|
-
bringToFront(): Geometry;
|
|
58
|
-
setLineWidth(width: any): Geometry;
|
|
59
|
-
setFillOpacity(opacity: any): Geometry;
|
|
60
|
-
setVisibility(visibility: any): Geometry;
|
|
61
|
-
getVisibility(): any;
|
|
62
|
-
remove(): void;
|
|
63
|
-
getExtent(): Extent;
|
|
64
|
-
getType(): any;
|
|
65
|
-
}
|
|
66
|
-
export namespace GeometryType {
|
|
67
|
-
const POINT: number;
|
|
68
|
-
const LINESTRING: number;
|
|
69
|
-
const POLYGON: number;
|
|
70
|
-
const MULTIPOLYGON: number;
|
|
71
|
-
const MULTILINESTRING: number;
|
|
72
|
-
}
|
|
73
|
-
import { Extent } from "../Extent.js";
|
|
74
|
-
import { LonLat } from "../LonLat.js";
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
export class GeometryHandler {
|
|
2
|
-
static set _staticCounter(arg: any);
|
|
3
|
-
static get _staticCounter(): any;
|
|
4
|
-
static appendLineData(pathArr: any, isClosed: any, color: any, pickingColor: any, thickness: any, strokeColor: any, strokeSize: any, outVerticesHigh: any, outVerticesLow: any, outOrders: any, outIndexes: any, outColors: any, outPickingColors: any, outThickness: any, outStrokeColors: any, outStrokes: any, outVerticesHigh2: any, outVerticesLow2: any): void;
|
|
5
|
-
constructor(layer: any);
|
|
6
|
-
__staticId: number;
|
|
7
|
-
_layer: any;
|
|
8
|
-
_handler: any;
|
|
9
|
-
_geometries: any[];
|
|
10
|
-
_updatedGeometryArr: any[];
|
|
11
|
-
_updatedGeometry: {};
|
|
12
|
-
_removeGeometryExtentArr: any[];
|
|
13
|
-
_removeGeometryExtents: {};
|
|
14
|
-
_polyVerticesHighMerc: any[];
|
|
15
|
-
_polyVerticesLowMerc: any[];
|
|
16
|
-
_polyColors: any[];
|
|
17
|
-
_polyPickingColors: any[];
|
|
18
|
-
_polyIndexes: any[];
|
|
19
|
-
_lineVerticesHighMerc: any[];
|
|
20
|
-
_lineVerticesLowMerc: any[];
|
|
21
|
-
_lineOrders: any[];
|
|
22
|
-
_lineIndexes: any[];
|
|
23
|
-
_lineColors: any[];
|
|
24
|
-
_linePickingColors: any[];
|
|
25
|
-
_lineThickness: any[];
|
|
26
|
-
_lineStrokes: any[];
|
|
27
|
-
_lineStrokeColors: any[];
|
|
28
|
-
_polyVerticesHighBufferMerc: any;
|
|
29
|
-
_polyVerticesLowBufferMerc: any;
|
|
30
|
-
_polyColorsBuffer: any;
|
|
31
|
-
_polyPickingColorsBuffer: any;
|
|
32
|
-
_polyIndexesBuffer: any;
|
|
33
|
-
_lineVerticesHighBufferMerc: any;
|
|
34
|
-
_lineVerticesLowBufferMerc: any;
|
|
35
|
-
_lineColorsBuffer: any;
|
|
36
|
-
_linePickingColorsBuffer: any;
|
|
37
|
-
_lineThicknessBuffer: any;
|
|
38
|
-
_lineStrokesBuffer: any;
|
|
39
|
-
_lineStrokeColorsBuffer: any;
|
|
40
|
-
_lineOrdersBuffer: any;
|
|
41
|
-
_lineIndexesBuffer: any;
|
|
42
|
-
_buffersUpdateCallbacks: (() => void)[];
|
|
43
|
-
_changedBuffers: any[];
|
|
44
|
-
assignHandler(handler: any): void;
|
|
45
|
-
/**
|
|
46
|
-
* @public
|
|
47
|
-
* @param {Geometry} geometry - Geometry object.
|
|
48
|
-
*/
|
|
49
|
-
public add(geometry: any): void;
|
|
50
|
-
remove(geometry: any): void;
|
|
51
|
-
_refreshRecursevely(geometry: any, treeNode: any): void;
|
|
52
|
-
_refreshRecursevelyExt(extent: any, treeNode: any): void;
|
|
53
|
-
_refreshPlanetNode(treeNode: any): void;
|
|
54
|
-
_updatePlanet(): void;
|
|
55
|
-
refresh(): void;
|
|
56
|
-
update(): void;
|
|
57
|
-
setGeometryVisibility(geometry: any): void;
|
|
58
|
-
setPolyColorArr(geometry: any, color: any): void;
|
|
59
|
-
setLineStrokeColorArr(geometry: any, color: any): void;
|
|
60
|
-
setLineColorArr(geometry: any, color: any): void;
|
|
61
|
-
setLineStrokeArr(geometry: any, width: any): void;
|
|
62
|
-
setLineThicknessArr(geometry: any, width: any): void;
|
|
63
|
-
bringToFront(geometry: any): void;
|
|
64
|
-
createPolyVerticesBuffer(): void;
|
|
65
|
-
createPolyIndexesBuffer(): void;
|
|
66
|
-
createPolyColorsBuffer(): void;
|
|
67
|
-
createPolyPickingColorsBuffer(): void;
|
|
68
|
-
createLineVerticesBuffer(): void;
|
|
69
|
-
createLineIndexesBuffer(): void;
|
|
70
|
-
createLineOrdersBuffer(): void;
|
|
71
|
-
createLineColorsBuffer(): void;
|
|
72
|
-
createLinePickingColorsBuffer(): void;
|
|
73
|
-
createLineThicknessBuffer(): void;
|
|
74
|
-
createLineStrokesBuffer(): void;
|
|
75
|
-
createLineStrokeColorsBuffer(): void;
|
|
76
|
-
}
|
package/types/entity/Label.d.ts
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Billboard text label.
|
|
3
|
-
* @class
|
|
4
|
-
* @extends {BaseBillboard}
|
|
5
|
-
* @param {Object} [options] - Label options:
|
|
6
|
-
* @param {Vec3|Array.<number>} [options.position] - Billboard spatial position.
|
|
7
|
-
* @param {number} [options.rotation] - Screen angle rotaion.
|
|
8
|
-
* @param {Vec4|string|Array.<number>} [options.color] - Billboard color.
|
|
9
|
-
* @param {Vec3|Array.<number>} [options.alignedAxis] - Billboard aligned vector.
|
|
10
|
-
* @param {Vec3|Array.<number>} [options.offset] - Billboard center screen offset.
|
|
11
|
-
* @param {boolean} [options.visibility] - Visibility.
|
|
12
|
-
* @param {string} [options.text] - Text string.
|
|
13
|
-
* @param {string} [options.face] - HTML5 font face.
|
|
14
|
-
* @param {number} [options.size] - Font size in pixels.
|
|
15
|
-
* @param {string} [options.style] - HTML5 font style. Example 'normal', 'italic'.
|
|
16
|
-
* @param {string} [options.weight] - HTML5 font weight. Example 'normal', 'bold'.
|
|
17
|
-
* @param {number} [options.outline] - Text outline size. 0 - no outline, 1 - maximum outline. Default 0.58.
|
|
18
|
-
* @param {Vec4|string|Array.<number>} [options.outlineColor] - Outline color.
|
|
19
|
-
* @param {Label.ALIGN} [options.align] - Text horizontal align: "left", "right" and "center".
|
|
20
|
-
*/
|
|
21
|
-
export class Label extends BaseBillboard {
|
|
22
|
-
/**
|
|
23
|
-
* Label text string.
|
|
24
|
-
* @private
|
|
25
|
-
* @type {string}
|
|
26
|
-
*/
|
|
27
|
-
private _text;
|
|
28
|
-
/**
|
|
29
|
-
* HTML5 font face.
|
|
30
|
-
* @private
|
|
31
|
-
* @type {string}
|
|
32
|
-
*/
|
|
33
|
-
private _face;
|
|
34
|
-
/**
|
|
35
|
-
* Font size in pixels.
|
|
36
|
-
* @private
|
|
37
|
-
* @type {number}
|
|
38
|
-
*/
|
|
39
|
-
private _size;
|
|
40
|
-
/**
|
|
41
|
-
* Label outline.
|
|
42
|
-
* @private
|
|
43
|
-
* @type {number}
|
|
44
|
-
*/
|
|
45
|
-
private _outline;
|
|
46
|
-
/**
|
|
47
|
-
* Label outline color.
|
|
48
|
-
* @private
|
|
49
|
-
* @type {Vec4}
|
|
50
|
-
*/
|
|
51
|
-
private _outlineColor;
|
|
52
|
-
/**
|
|
53
|
-
* Text horizontal align: "left", "right" and "center".
|
|
54
|
-
* @private
|
|
55
|
-
* @type {Label.ALIGN}
|
|
56
|
-
*/
|
|
57
|
-
private _align;
|
|
58
|
-
/**
|
|
59
|
-
* Label font atlas index.
|
|
60
|
-
* @private
|
|
61
|
-
* @type {number}
|
|
62
|
-
*/
|
|
63
|
-
private _fontIndex;
|
|
64
|
-
/**
|
|
65
|
-
* Font atlas pointer.
|
|
66
|
-
* @private
|
|
67
|
-
* @type {utils.FontAtlas}
|
|
68
|
-
*/
|
|
69
|
-
private _fontAtlas;
|
|
70
|
-
/**
|
|
71
|
-
* Sets lablel text.
|
|
72
|
-
* @public
|
|
73
|
-
* @param {string} text - Text string.
|
|
74
|
-
* It can't be bigger than maximum labelHandler _maxLetters value.
|
|
75
|
-
*/
|
|
76
|
-
public setText(text: string): void;
|
|
77
|
-
/**
|
|
78
|
-
* Gets current text string.
|
|
79
|
-
* @public
|
|
80
|
-
* @returns {string}
|
|
81
|
-
*/
|
|
82
|
-
public getText(): string;
|
|
83
|
-
/**
|
|
84
|
-
* Sets label text align. Could be center, left or right. Left is default.
|
|
85
|
-
* @public
|
|
86
|
-
* @param {Label.ALIGN} align - Text align.
|
|
87
|
-
*/
|
|
88
|
-
public setAlign(align: any): void;
|
|
89
|
-
/**
|
|
90
|
-
* Gets label text current alignment.
|
|
91
|
-
* @public
|
|
92
|
-
* @returns {Label.ALIGN}
|
|
93
|
-
*/
|
|
94
|
-
public getAlign(): any;
|
|
95
|
-
/**
|
|
96
|
-
* Sets font face family.
|
|
97
|
-
* @public
|
|
98
|
-
* @param {string} face - Font face family.
|
|
99
|
-
*/
|
|
100
|
-
public setFace(face: string): void;
|
|
101
|
-
/**
|
|
102
|
-
* Gets current font face.
|
|
103
|
-
* @public
|
|
104
|
-
* @returns {string}
|
|
105
|
-
*/
|
|
106
|
-
public getFace(): string;
|
|
107
|
-
/**
|
|
108
|
-
* Sets label font size in pixels.
|
|
109
|
-
* @public
|
|
110
|
-
* @param {number} size - Label size in pixels.
|
|
111
|
-
*/
|
|
112
|
-
public setSize(size: number): void;
|
|
113
|
-
/**
|
|
114
|
-
* Gets label size in pixels.
|
|
115
|
-
* @public
|
|
116
|
-
* @returns {number}
|
|
117
|
-
*/
|
|
118
|
-
public getSize(): number;
|
|
119
|
-
/**
|
|
120
|
-
* Sets text outline border size. Where 0 - is no outline and 1 - is the maximum outline size.
|
|
121
|
-
* @public
|
|
122
|
-
* @param {number} outline - Text outline size.
|
|
123
|
-
*/
|
|
124
|
-
public setOutline(outline: number): void;
|
|
125
|
-
/**
|
|
126
|
-
* Gets text current outline size.
|
|
127
|
-
* @public
|
|
128
|
-
* @returns {number}
|
|
129
|
-
*/
|
|
130
|
-
public getOutline(): number;
|
|
131
|
-
/**
|
|
132
|
-
* Sets text outline color.
|
|
133
|
-
* @public
|
|
134
|
-
* @param {number} r - Red.
|
|
135
|
-
* @param {number} g - Green.
|
|
136
|
-
* @param {number} b - Blue.
|
|
137
|
-
* @param {number} a - Alpha.
|
|
138
|
-
*/
|
|
139
|
-
public setOutlineColor(r: number, g: number, b: number, a: number): void;
|
|
140
|
-
/**
|
|
141
|
-
* Sets text outline color.
|
|
142
|
-
* @public
|
|
143
|
-
* @param {Vec4} rgba - Color vector.
|
|
144
|
-
*/
|
|
145
|
-
public setOutlineColor4v(rgba: Vec4): void;
|
|
146
|
-
/**
|
|
147
|
-
* Sets text outline color HTML string.
|
|
148
|
-
* @public
|
|
149
|
-
* @param {string} color - HTML string color.
|
|
150
|
-
*/
|
|
151
|
-
public setOutlineColorHTML(color: string): void;
|
|
152
|
-
/**
|
|
153
|
-
* Gets outline color vector.
|
|
154
|
-
* @public
|
|
155
|
-
* @returns {Vec4}
|
|
156
|
-
*/
|
|
157
|
-
public getOutlineColor(): Vec4;
|
|
158
|
-
/**
|
|
159
|
-
* Sets outline opacity. Actually outline color alpha value.
|
|
160
|
-
* @public
|
|
161
|
-
* @param {number} opacity - Outline opacity.
|
|
162
|
-
*/
|
|
163
|
-
public setOutlineOpacity(opacity: number): void;
|
|
164
|
-
/**
|
|
165
|
-
* Gets outline opacity value.
|
|
166
|
-
* @public
|
|
167
|
-
* @returns {number}
|
|
168
|
-
*/
|
|
169
|
-
public getOutlineOpacity(): number;
|
|
170
|
-
/**
|
|
171
|
-
* Updates label parameters.
|
|
172
|
-
* @public
|
|
173
|
-
*/
|
|
174
|
-
public update(): Promise<void>;
|
|
175
|
-
_applyFontIndex(fontIndex: any): void;
|
|
176
|
-
/**
|
|
177
|
-
* Assigns font atlas and update.
|
|
178
|
-
* @public
|
|
179
|
-
* @param {utils.FontAtlas} fontAtlas - Font atlas.
|
|
180
|
-
*/
|
|
181
|
-
public assignFontAtlas(fontAtlas: any): void;
|
|
182
|
-
}
|
|
183
|
-
export namespace ALIGN {
|
|
184
|
-
const RIGHT: number;
|
|
185
|
-
const LEFT: number;
|
|
186
|
-
const CENTER: number;
|
|
187
|
-
}
|
|
188
|
-
import { BaseBillboard } from "./BaseBillboard.js";
|
|
189
|
-
import { Vec4 } from "../math/Vec4.js";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export class LabelHandler extends BillboardHandler {
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param {*} entityCollection
|
|
5
|
-
* @param {*} maxLetters
|
|
6
|
-
*/
|
|
7
|
-
constructor(entityCollection: any, maxLetters?: any);
|
|
8
|
-
_gliphParamBuffer: any;
|
|
9
|
-
_fontIndexBuffer: any;
|
|
10
|
-
_noOutlineBuffer: any;
|
|
11
|
-
_outlineBuffer: any;
|
|
12
|
-
_outlineColorBuffer: any;
|
|
13
|
-
_gliphParamArr: Float32Array;
|
|
14
|
-
_fontIndexArr: Float32Array;
|
|
15
|
-
_noOutlineArr: Float32Array;
|
|
16
|
-
_outlineArr: Float32Array;
|
|
17
|
-
_outlineColorArr: Float32Array;
|
|
18
|
-
_maxLetters: any;
|
|
19
|
-
assignFontAtlas(label: any): void;
|
|
20
|
-
setText(index: any, text: any, fontIndex: any, align: any): void;
|
|
21
|
-
setOutlineColorArr(index: any, rgba: any): void;
|
|
22
|
-
setOutlineArr(index: any, outline: any): void;
|
|
23
|
-
setFontIndexArr(index: any, fontIndex: any): void;
|
|
24
|
-
createFontIndexBuffer(): void;
|
|
25
|
-
createOutlineBuffer(): void;
|
|
26
|
-
createOutlineColorBuffer(): void;
|
|
27
|
-
setMaxLetters(c: any): void;
|
|
28
|
-
}
|
|
29
|
-
import { BillboardHandler } from "./BillboardHandler.js";
|