@itwin/core-orbitgt 4.0.0-dev.6 → 4.0.0-dev.60
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/CHANGELOG.md +11 -1
- package/lib/cjs/core-orbitgt.d.ts +26 -26
- package/lib/cjs/core-orbitgt.js +62 -58
- package/lib/cjs/core-orbitgt.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/AttributeMask.d.ts +30 -30
- package/lib/cjs/pointcloud/format/opc/AttributeMask.js +47 -47
- package/lib/cjs/pointcloud/format/opc/AttributeMask.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/AttributeReader.d.ts +63 -63
- package/lib/cjs/pointcloud/format/opc/AttributeReader.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/AttributeReader.js +24 -24
- package/lib/cjs/pointcloud/format/opc/AttributeReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/BlockRecord.d.ts +54 -54
- package/lib/cjs/pointcloud/format/opc/BlockRecord.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/BlockRecord.js +84 -84
- package/lib/cjs/pointcloud/format/opc/BlockRecord.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/ContainerFile.d.ts +85 -85
- package/lib/cjs/pointcloud/format/opc/ContainerFile.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/ContainerFile.js +199 -199
- package/lib/cjs/pointcloud/format/opc/ContainerFile.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.d.ts +55 -55
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js +75 -75
- package/lib/cjs/pointcloud/format/opc/ContainerFilePart.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.d.ts +75 -75
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.js +169 -169
- package/lib/cjs/pointcloud/format/opc/DirectoryReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.d.ts +59 -59
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js +89 -89
- package/lib/cjs/pointcloud/format/opc/DirectoryRecord.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.d.ts +106 -106
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js +197 -197
- package/lib/cjs/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/FileAccess.d.ts +39 -39
- package/lib/cjs/pointcloud/format/opc/FileAccess.js +48 -48
- package/lib/cjs/pointcloud/format/opc/FileAccess.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/FileReader.d.ts +118 -118
- package/lib/cjs/pointcloud/format/opc/FileReader.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/FileReader.js +248 -248
- package/lib/cjs/pointcloud/format/opc/FileReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/FileRecord.d.ts +89 -89
- package/lib/cjs/pointcloud/format/opc/FileRecord.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/FileRecord.js +125 -125
- package/lib/cjs/pointcloud/format/opc/FileRecord.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/GeometryReader.d.ts +79 -79
- package/lib/cjs/pointcloud/format/opc/GeometryReader.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/GeometryReader.js +163 -163
- package/lib/cjs/pointcloud/format/opc/GeometryReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.d.ts +53 -53
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.js +107 -107
- package/lib/cjs/pointcloud/format/opc/GeometryRecord.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/OPCReader.d.ts +157 -157
- package/lib/cjs/pointcloud/format/opc/OPCReader.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/OPCReader.js +319 -319
- package/lib/cjs/pointcloud/format/opc/OPCReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/PointReader.d.ts +72 -72
- package/lib/cjs/pointcloud/format/opc/PointReader.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/PointReader.js +152 -152
- package/lib/cjs/pointcloud/format/opc/PointReader.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.d.ts +63 -63
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js +92 -92
- package/lib/cjs/pointcloud/format/opc/TileReadBuffer.js.map +1 -1
- package/lib/cjs/pointcloud/format/opc/TileRecord.d.ts +88 -88
- package/lib/cjs/pointcloud/format/opc/TileRecord.d.ts.map +1 -1
- package/lib/cjs/pointcloud/format/opc/TileRecord.js +161 -161
- package/lib/cjs/pointcloud/format/opc/TileRecord.js.map +1 -1
- package/lib/cjs/pointcloud/model/AttributeTypes.d.ts +37 -37
- package/lib/cjs/pointcloud/model/AttributeTypes.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/AttributeTypes.js +64 -64
- package/lib/cjs/pointcloud/model/AttributeTypes.js.map +1 -1
- package/lib/cjs/pointcloud/model/AttributeValue.d.ts +247 -247
- package/lib/cjs/pointcloud/model/AttributeValue.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/AttributeValue.js +508 -508
- package/lib/cjs/pointcloud/model/AttributeValue.js.map +1 -1
- package/lib/cjs/pointcloud/model/BlockIndex.d.ts +49 -49
- package/lib/cjs/pointcloud/model/BlockIndex.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/BlockIndex.js +48 -48
- package/lib/cjs/pointcloud/model/BlockIndex.js.map +1 -1
- package/lib/cjs/pointcloud/model/CloudPoint.d.ts +210 -210
- package/lib/cjs/pointcloud/model/CloudPoint.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/CloudPoint.js +318 -318
- package/lib/cjs/pointcloud/model/CloudPoint.js.map +1 -1
- package/lib/cjs/pointcloud/model/Grid.d.ts +91 -91
- package/lib/cjs/pointcloud/model/Grid.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/Grid.js +129 -129
- package/lib/cjs/pointcloud/model/Grid.js.map +1 -1
- package/lib/cjs/pointcloud/model/GridIndex.d.ts +66 -66
- package/lib/cjs/pointcloud/model/GridIndex.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/GridIndex.js +93 -93
- package/lib/cjs/pointcloud/model/GridIndex.js.map +1 -1
- package/lib/cjs/pointcloud/model/PointAttribute.d.ts +208 -208
- package/lib/cjs/pointcloud/model/PointAttribute.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/PointAttribute.js +374 -374
- package/lib/cjs/pointcloud/model/PointAttribute.js.map +1 -1
- package/lib/cjs/pointcloud/model/PointCloudReader.d.ts +156 -156
- package/lib/cjs/pointcloud/model/PointCloudReader.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/PointCloudReader.js +189 -189
- package/lib/cjs/pointcloud/model/PointCloudReader.js.map +1 -1
- package/lib/cjs/pointcloud/model/PointData.d.ts +17 -17
- package/lib/cjs/pointcloud/model/PointData.js +24 -24
- package/lib/cjs/pointcloud/model/PointData.js.map +1 -1
- package/lib/cjs/pointcloud/model/PointDataRaw.d.ts +34 -34
- package/lib/cjs/pointcloud/model/PointDataRaw.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/PointDataRaw.js +69 -69
- package/lib/cjs/pointcloud/model/PointDataRaw.js.map +1 -1
- package/lib/cjs/pointcloud/model/ReadRequest.d.ts +175 -175
- package/lib/cjs/pointcloud/model/ReadRequest.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/ReadRequest.js +239 -239
- package/lib/cjs/pointcloud/model/ReadRequest.js.map +1 -1
- package/lib/cjs/pointcloud/model/StandardAttributes.d.ts +40 -40
- package/lib/cjs/pointcloud/model/StandardAttributes.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/StandardAttributes.js +47 -47
- package/lib/cjs/pointcloud/model/StandardAttributes.js.map +1 -1
- package/lib/cjs/pointcloud/model/TileIndex.d.ts +47 -47
- package/lib/cjs/pointcloud/model/TileIndex.d.ts.map +1 -1
- package/lib/cjs/pointcloud/model/TileIndex.js +47 -47
- package/lib/cjs/pointcloud/model/TileIndex.js.map +1 -1
- package/lib/cjs/pointcloud/render/AViewRequest.d.ts +38 -38
- package/lib/cjs/pointcloud/render/AViewRequest.d.ts.map +1 -1
- package/lib/cjs/pointcloud/render/AViewRequest.js +24 -24
- package/lib/cjs/pointcloud/render/AViewRequest.js.map +1 -1
- package/lib/cjs/pointcloud/render/Block.d.ts +67 -67
- package/lib/cjs/pointcloud/render/Block.js +119 -119
- package/lib/cjs/pointcloud/render/Block.js.map +1 -1
- package/lib/cjs/pointcloud/render/DataManager.d.ts +136 -136
- package/lib/cjs/pointcloud/render/DataManager.d.ts.map +1 -1
- package/lib/cjs/pointcloud/render/DataManager.js +342 -342
- package/lib/cjs/pointcloud/render/DataManager.js.map +1 -1
- package/lib/cjs/pointcloud/render/FrameData.d.ts +30 -30
- package/lib/cjs/pointcloud/render/FrameData.js +39 -39
- package/lib/cjs/pointcloud/render/FrameData.js.map +1 -1
- package/lib/cjs/pointcloud/render/Level.d.ts +90 -90
- package/lib/cjs/pointcloud/render/Level.d.ts.map +1 -1
- package/lib/cjs/pointcloud/render/Level.js +119 -119
- package/lib/cjs/pointcloud/render/Level.js.map +1 -1
- package/lib/cjs/pointcloud/render/TileLoadSorter.d.ts +60 -60
- package/lib/cjs/pointcloud/render/TileLoadSorter.d.ts.map +1 -1
- package/lib/cjs/pointcloud/render/TileLoadSorter.js +99 -99
- package/lib/cjs/pointcloud/render/TileLoadSorter.js.map +1 -1
- package/lib/cjs/pointcloud/render/ViewTree.d.ts +113 -113
- package/lib/cjs/pointcloud/render/ViewTree.d.ts.map +1 -1
- package/lib/cjs/pointcloud/render/ViewTree.js +363 -363
- package/lib/cjs/pointcloud/render/ViewTree.js.map +1 -1
- package/lib/cjs/spatial/crs/CRSEngine.d.ts +55 -55
- package/lib/cjs/spatial/crs/CRSEngine.js +93 -93
- package/lib/cjs/spatial/crs/CRSEngine.js.map +1 -1
- package/lib/cjs/spatial/crs/CRSManager.d.ts +49 -49
- package/lib/cjs/spatial/crs/CRSManager.js +109 -109
- package/lib/cjs/spatial/crs/CRSManager.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Axis.d.ts +77 -77
- package/lib/cjs/spatial/ecrs/Axis.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/Axis.js +93 -93
- package/lib/cjs/spatial/ecrs/Axis.js.map +1 -1
- package/lib/cjs/spatial/ecrs/CRS.d.ts +447 -447
- package/lib/cjs/spatial/ecrs/CRS.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/CRS.js +930 -930
- package/lib/cjs/spatial/ecrs/CRS.js.map +1 -1
- package/lib/cjs/spatial/ecrs/CoordinateSystem.d.ts +142 -142
- package/lib/cjs/spatial/ecrs/CoordinateSystem.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/CoordinateSystem.js +326 -326
- package/lib/cjs/spatial/ecrs/CoordinateSystem.js.map +1 -1
- package/lib/cjs/spatial/ecrs/DataFileUnit.d.ts +10 -10
- package/lib/cjs/spatial/ecrs/DataFileUnit.js +104 -104
- package/lib/cjs/spatial/ecrs/DataFileUnit.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Datum.d.ts +111 -111
- package/lib/cjs/spatial/ecrs/Datum.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/Datum.js +166 -166
- package/lib/cjs/spatial/ecrs/Datum.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Ellipsoid.d.ts +188 -188
- package/lib/cjs/spatial/ecrs/Ellipsoid.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/Ellipsoid.js +336 -336
- package/lib/cjs/spatial/ecrs/Ellipsoid.js.map +1 -1
- package/lib/cjs/spatial/ecrs/OnlineEngine.d.ts +48 -48
- package/lib/cjs/spatial/ecrs/OnlineEngine.js +102 -102
- package/lib/cjs/spatial/ecrs/OnlineEngine.js.map +1 -1
- package/lib/cjs/spatial/ecrs/OnlineRegistry.d.ts +37 -37
- package/lib/cjs/spatial/ecrs/OnlineRegistry.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/OnlineRegistry.js +76 -76
- package/lib/cjs/spatial/ecrs/OnlineRegistry.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Operation.d.ts +191 -191
- package/lib/cjs/spatial/ecrs/Operation.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/Operation.js +345 -345
- package/lib/cjs/spatial/ecrs/Operation.js.map +1 -1
- package/lib/cjs/spatial/ecrs/OperationMethod.d.ts +71 -71
- package/lib/cjs/spatial/ecrs/OperationMethod.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/OperationMethod.js +75 -75
- package/lib/cjs/spatial/ecrs/OperationMethod.js.map +1 -1
- package/lib/cjs/spatial/ecrs/ParameterValue.d.ts +49 -49
- package/lib/cjs/spatial/ecrs/ParameterValue.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/ParameterValue.js +65 -65
- package/lib/cjs/spatial/ecrs/ParameterValue.js.map +1 -1
- package/lib/cjs/spatial/ecrs/ParameterValueList.d.ts +72 -72
- package/lib/cjs/spatial/ecrs/ParameterValueList.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/ParameterValueList.js +120 -120
- package/lib/cjs/spatial/ecrs/ParameterValueList.js.map +1 -1
- package/lib/cjs/spatial/ecrs/PrimeMeridian.d.ts +78 -78
- package/lib/cjs/spatial/ecrs/PrimeMeridian.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/PrimeMeridian.js +108 -108
- package/lib/cjs/spatial/ecrs/PrimeMeridian.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Registry.d.ts +109 -109
- package/lib/cjs/spatial/ecrs/Registry.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/Registry.js +207 -207
- package/lib/cjs/spatial/ecrs/Registry.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Transform.d.ts +77 -77
- package/lib/cjs/spatial/ecrs/Transform.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/Transform.js +396 -396
- package/lib/cjs/spatial/ecrs/Transform.js.map +1 -1
- package/lib/cjs/spatial/ecrs/Unit.d.ts +170 -170
- package/lib/cjs/spatial/ecrs/Unit.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/Unit.js +336 -336
- package/lib/cjs/spatial/ecrs/Unit.js.map +1 -1
- package/lib/cjs/spatial/ecrs/VerticalModel.d.ts +69 -69
- package/lib/cjs/spatial/ecrs/VerticalModel.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/VerticalModel.js +88 -88
- package/lib/cjs/spatial/ecrs/VerticalModel.js.map +1 -1
- package/lib/cjs/spatial/ecrs/WellKnownText.d.ts +153 -153
- package/lib/cjs/spatial/ecrs/WellKnownText.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/WellKnownText.js +494 -494
- package/lib/cjs/spatial/ecrs/WellKnownText.js.map +1 -1
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.d.ts +69 -69
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.js +128 -128
- package/lib/cjs/spatial/ecrs/WellKnownTextNode.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.d.ts +101 -101
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js +162 -162
- package/lib/cjs/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts +79 -79
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js +125 -125
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +47 -47
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js +73 -73
- package/lib/cjs/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.d.ts +72 -72
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js +129 -129
- package/lib/cjs/spatial/ecrs/projection/LambertConical1SP.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.d.ts +120 -120
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js +179 -179
- package/lib/cjs/spatial/ecrs/projection/LambertConical2SP.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.d.ts +73 -73
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js +112 -112
- package/lib/cjs/spatial/ecrs/projection/Mercator1SP.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.d.ts +96 -96
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js +173 -173
- package/lib/cjs/spatial/ecrs/projection/ObliqueMercator.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.d.ts +123 -123
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js +208 -208
- package/lib/cjs/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.d.ts +108 -108
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js +183 -183
- package/lib/cjs/spatial/ecrs/projection/TransverseMercator.js.map +1 -1
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.d.ts +90 -90
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -1
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.js +130 -130
- package/lib/cjs/spatial/ecrs/transformation/PositionVector.js.map +1 -1
- package/lib/cjs/spatial/geom/Bounds.d.ts +33 -33
- package/lib/cjs/spatial/geom/Bounds.d.ts.map +1 -1
- package/lib/cjs/spatial/geom/Bounds.js +156 -156
- package/lib/cjs/spatial/geom/Bounds.js.map +1 -1
- package/lib/cjs/spatial/geom/Coordinate.d.ts +61 -61
- package/lib/cjs/spatial/geom/Coordinate.d.ts.map +1 -1
- package/lib/cjs/spatial/geom/Coordinate.js +186 -186
- package/lib/cjs/spatial/geom/Coordinate.js.map +1 -1
- package/lib/cjs/spatial/geom/Line.d.ts +225 -225
- package/lib/cjs/spatial/geom/Line.d.ts.map +1 -1
- package/lib/cjs/spatial/geom/Line.js +432 -432
- package/lib/cjs/spatial/geom/Line.js.map +1 -1
- package/lib/cjs/spatial/geom/Transform.d.ts +340 -340
- package/lib/cjs/spatial/geom/Transform.d.ts.map +1 -1
- package/lib/cjs/spatial/geom/Transform.js +748 -748
- package/lib/cjs/spatial/geom/Transform.js.map +1 -1
- package/lib/cjs/system/buffer/ABuffer.d.ts +51 -51
- package/lib/cjs/system/buffer/ABuffer.d.ts.map +1 -1
- package/lib/cjs/system/buffer/ABuffer.js +90 -90
- package/lib/cjs/system/buffer/ABuffer.js.map +1 -1
- package/lib/cjs/system/buffer/Float32Buffer.d.ts +46 -46
- package/lib/cjs/system/buffer/Float32Buffer.d.ts.map +1 -1
- package/lib/cjs/system/buffer/Float32Buffer.js +60 -60
- package/lib/cjs/system/buffer/Float32Buffer.js.map +1 -1
- package/lib/cjs/system/buffer/LittleEndian.d.ts +149 -149
- package/lib/cjs/system/buffer/LittleEndian.d.ts.map +1 -1
- package/lib/cjs/system/buffer/LittleEndian.js +303 -303
- package/lib/cjs/system/buffer/LittleEndian.js.map +1 -1
- package/lib/cjs/system/buffer/Uint16Buffer.d.ts +49 -49
- package/lib/cjs/system/buffer/Uint16Buffer.d.ts.map +1 -1
- package/lib/cjs/system/buffer/Uint16Buffer.js +65 -65
- package/lib/cjs/system/buffer/Uint16Buffer.js.map +1 -1
- package/lib/cjs/system/buffer/Uint8Buffer.d.ts +49 -49
- package/lib/cjs/system/buffer/Uint8Buffer.d.ts.map +1 -1
- package/lib/cjs/system/buffer/Uint8Buffer.js +65 -65
- package/lib/cjs/system/buffer/Uint8Buffer.js.map +1 -1
- package/lib/cjs/system/collection/AList.d.ts +30 -30
- package/lib/cjs/system/collection/AList.d.ts.map +1 -1
- package/lib/cjs/system/collection/AList.js +70 -70
- package/lib/cjs/system/collection/AList.js.map +1 -1
- package/lib/cjs/system/collection/IntMap.d.ts +18 -18
- package/lib/cjs/system/collection/IntMap.d.ts.map +1 -1
- package/lib/cjs/system/collection/IntMap.js +35 -35
- package/lib/cjs/system/collection/IntMap.js.map +1 -1
- package/lib/cjs/system/collection/StringMap.d.ts +26 -26
- package/lib/cjs/system/collection/StringMap.d.ts.map +1 -1
- package/lib/cjs/system/collection/StringMap.js +63 -63
- package/lib/cjs/system/collection/StringMap.js.map +1 -1
- package/lib/cjs/system/io/ABufferInStream.d.ts +29 -29
- package/lib/cjs/system/io/ABufferInStream.d.ts.map +1 -1
- package/lib/cjs/system/io/ABufferInStream.js +46 -46
- package/lib/cjs/system/io/ABufferInStream.js.map +1 -1
- package/lib/cjs/system/io/InStream.d.ts +23 -23
- package/lib/cjs/system/io/InStream.d.ts.map +1 -1
- package/lib/cjs/system/io/InStream.js +34 -34
- package/lib/cjs/system/io/InStream.js.map +1 -1
- package/lib/cjs/system/io/OutStream.d.ts +23 -23
- package/lib/cjs/system/io/OutStream.d.ts.map +1 -1
- package/lib/cjs/system/io/OutStream.js +33 -33
- package/lib/cjs/system/io/OutStream.js.map +1 -1
- package/lib/cjs/system/runtime/ALong.d.ts +329 -329
- package/lib/cjs/system/runtime/ALong.d.ts.map +1 -1
- package/lib/cjs/system/runtime/ALong.js +687 -687
- package/lib/cjs/system/runtime/ALong.js.map +1 -1
- package/lib/cjs/system/runtime/ASystem.d.ts +14 -14
- package/lib/cjs/system/runtime/ASystem.js +31 -31
- package/lib/cjs/system/runtime/ASystem.js.map +1 -1
- package/lib/cjs/system/runtime/Downloader.d.ts +17 -17
- package/lib/cjs/system/runtime/Downloader.js +38 -38
- package/lib/cjs/system/runtime/Downloader.js.map +1 -1
- package/lib/cjs/system/runtime/DownloaderNode.d.ts +18 -18
- package/lib/cjs/system/runtime/DownloaderNode.js +129 -129
- package/lib/cjs/system/runtime/DownloaderNode.js.map +1 -1
- package/lib/cjs/system/runtime/DownloaderXhr.d.ts +18 -18
- package/lib/cjs/system/runtime/DownloaderXhr.js +131 -131
- package/lib/cjs/system/runtime/DownloaderXhr.js.map +1 -1
- package/lib/cjs/system/runtime/Message.d.ts +16 -16
- package/lib/cjs/system/runtime/Message.js +39 -39
- package/lib/cjs/system/runtime/Message.js.map +1 -1
- package/lib/cjs/system/runtime/Numbers.d.ts +34 -34
- package/lib/cjs/system/runtime/Numbers.d.ts.map +1 -1
- package/lib/cjs/system/runtime/Numbers.js +87 -87
- package/lib/cjs/system/runtime/Numbers.js.map +1 -1
- package/lib/cjs/system/runtime/Strings.d.ts +49 -49
- package/lib/cjs/system/runtime/Strings.d.ts.map +1 -1
- package/lib/cjs/system/runtime/Strings.js +188 -188
- package/lib/cjs/system/runtime/Strings.js.map +1 -1
- package/lib/cjs/system/runtime/iComparator.d.ts +12 -12
- package/lib/cjs/system/runtime/iComparator.d.ts.map +1 -1
- package/lib/cjs/system/runtime/iComparator.js +9 -9
- package/lib/cjs/system/runtime/iComparator.js.map +1 -1
- package/lib/cjs/system/storage/CacheList.d.ts +39 -39
- package/lib/cjs/system/storage/CacheList.d.ts.map +1 -1
- package/lib/cjs/system/storage/CacheList.js +80 -80
- package/lib/cjs/system/storage/CacheList.js.map +1 -1
- package/lib/cjs/system/storage/CachedItem.d.ts +21 -21
- package/lib/cjs/system/storage/CachedItem.d.ts.map +1 -1
- package/lib/cjs/system/storage/CachedItem.js +25 -25
- package/lib/cjs/system/storage/CachedItem.js.map +1 -1
- package/lib/cjs/system/storage/ContentLoader.d.ts +64 -64
- package/lib/cjs/system/storage/ContentLoader.d.ts.map +1 -1
- package/lib/cjs/system/storage/ContentLoader.js +95 -95
- package/lib/cjs/system/storage/ContentLoader.js.map +1 -1
- package/lib/cjs/system/storage/FileContent.d.ts +19 -19
- package/lib/cjs/system/storage/FileContent.js +24 -24
- package/lib/cjs/system/storage/FileContent.js.map +1 -1
- package/lib/cjs/system/storage/FileRange.d.ts +20 -20
- package/lib/cjs/system/storage/FileRange.d.ts.map +1 -1
- package/lib/cjs/system/storage/FileRange.js +24 -24
- package/lib/cjs/system/storage/FileRange.js.map +1 -1
- package/lib/cjs/system/storage/FileStorage.d.ts +44 -44
- package/lib/cjs/system/storage/FileStorage.d.ts.map +1 -1
- package/lib/cjs/system/storage/FileStorage.js +62 -62
- package/lib/cjs/system/storage/FileStorage.js.map +1 -1
- package/lib/cjs/system/storage/NodeFS.d.ts +41 -41
- package/lib/cjs/system/storage/NodeFS.d.ts.map +1 -1
- package/lib/cjs/system/storage/NodeFS.js +79 -79
- package/lib/cjs/system/storage/NodeFS.js.map +1 -1
- package/lib/cjs/system/storage/PageCachedFile.d.ts +54 -54
- package/lib/cjs/system/storage/PageCachedFile.d.ts.map +1 -1
- package/lib/cjs/system/storage/PageCachedFile.js +165 -165
- package/lib/cjs/system/storage/PageCachedFile.js.map +1 -1
- package/lib/cjs/system/storage/UrlFS.d.ts +53 -53
- package/lib/cjs/system/storage/UrlFS.d.ts.map +1 -1
- package/lib/cjs/system/storage/UrlFS.js +114 -114
- package/lib/cjs/system/storage/UrlFS.js.map +1 -1
- package/lib/esm/core-orbitgt.d.ts +26 -26
- package/lib/esm/core-orbitgt.js +31 -31
- package/lib/esm/core-orbitgt.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/AttributeMask.d.ts +30 -30
- package/lib/esm/pointcloud/format/opc/AttributeMask.js +43 -43
- package/lib/esm/pointcloud/format/opc/AttributeMask.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts +63 -63
- package/lib/esm/pointcloud/format/opc/AttributeReader.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/AttributeReader.js +20 -20
- package/lib/esm/pointcloud/format/opc/AttributeReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts +54 -54
- package/lib/esm/pointcloud/format/opc/BlockRecord.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/BlockRecord.js +81 -80
- package/lib/esm/pointcloud/format/opc/BlockRecord.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts +85 -85
- package/lib/esm/pointcloud/format/opc/ContainerFile.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/ContainerFile.js +196 -195
- package/lib/esm/pointcloud/format/opc/ContainerFile.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.d.ts +55 -55
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.js +71 -71
- package/lib/esm/pointcloud/format/opc/ContainerFilePart.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts +75 -75
- package/lib/esm/pointcloud/format/opc/DirectoryReader.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/DirectoryReader.js +165 -165
- package/lib/esm/pointcloud/format/opc/DirectoryReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts +59 -59
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.js +85 -85
- package/lib/esm/pointcloud/format/opc/DirectoryRecord.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts +106 -106
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js +193 -193
- package/lib/esm/pointcloud/format/opc/EmbeddedAttributeReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/FileAccess.d.ts +39 -39
- package/lib/esm/pointcloud/format/opc/FileAccess.js +44 -44
- package/lib/esm/pointcloud/format/opc/FileAccess.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/FileReader.d.ts +118 -118
- package/lib/esm/pointcloud/format/opc/FileReader.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/FileReader.js +245 -244
- package/lib/esm/pointcloud/format/opc/FileReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/FileRecord.d.ts +89 -89
- package/lib/esm/pointcloud/format/opc/FileRecord.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/FileRecord.js +121 -121
- package/lib/esm/pointcloud/format/opc/FileRecord.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts +79 -79
- package/lib/esm/pointcloud/format/opc/GeometryReader.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/GeometryReader.js +160 -159
- package/lib/esm/pointcloud/format/opc/GeometryReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/GeometryRecord.d.ts +53 -53
- package/lib/esm/pointcloud/format/opc/GeometryRecord.js +103 -103
- package/lib/esm/pointcloud/format/opc/GeometryRecord.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/OPCReader.d.ts +157 -157
- package/lib/esm/pointcloud/format/opc/OPCReader.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/OPCReader.js +315 -315
- package/lib/esm/pointcloud/format/opc/OPCReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/PointReader.d.ts +72 -72
- package/lib/esm/pointcloud/format/opc/PointReader.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/PointReader.js +148 -148
- package/lib/esm/pointcloud/format/opc/PointReader.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts +63 -63
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.js +88 -88
- package/lib/esm/pointcloud/format/opc/TileReadBuffer.js.map +1 -1
- package/lib/esm/pointcloud/format/opc/TileRecord.d.ts +88 -88
- package/lib/esm/pointcloud/format/opc/TileRecord.d.ts.map +1 -1
- package/lib/esm/pointcloud/format/opc/TileRecord.js +158 -157
- package/lib/esm/pointcloud/format/opc/TileRecord.js.map +1 -1
- package/lib/esm/pointcloud/model/AttributeTypes.d.ts +37 -37
- package/lib/esm/pointcloud/model/AttributeTypes.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/AttributeTypes.js +61 -60
- package/lib/esm/pointcloud/model/AttributeTypes.js.map +1 -1
- package/lib/esm/pointcloud/model/AttributeValue.d.ts +247 -247
- package/lib/esm/pointcloud/model/AttributeValue.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/AttributeValue.js +505 -504
- package/lib/esm/pointcloud/model/AttributeValue.js.map +1 -1
- package/lib/esm/pointcloud/model/BlockIndex.d.ts +49 -49
- package/lib/esm/pointcloud/model/BlockIndex.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/BlockIndex.js +44 -44
- package/lib/esm/pointcloud/model/BlockIndex.js.map +1 -1
- package/lib/esm/pointcloud/model/CloudPoint.d.ts +210 -210
- package/lib/esm/pointcloud/model/CloudPoint.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/CloudPoint.js +315 -314
- package/lib/esm/pointcloud/model/CloudPoint.js.map +1 -1
- package/lib/esm/pointcloud/model/Grid.d.ts +91 -91
- package/lib/esm/pointcloud/model/Grid.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/Grid.js +125 -125
- package/lib/esm/pointcloud/model/Grid.js.map +1 -1
- package/lib/esm/pointcloud/model/GridIndex.d.ts +66 -66
- package/lib/esm/pointcloud/model/GridIndex.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/GridIndex.js +89 -89
- package/lib/esm/pointcloud/model/GridIndex.js.map +1 -1
- package/lib/esm/pointcloud/model/PointAttribute.d.ts +208 -208
- package/lib/esm/pointcloud/model/PointAttribute.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/PointAttribute.js +370 -370
- package/lib/esm/pointcloud/model/PointAttribute.js.map +1 -1
- package/lib/esm/pointcloud/model/PointCloudReader.d.ts +156 -156
- package/lib/esm/pointcloud/model/PointCloudReader.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/PointCloudReader.js +185 -185
- package/lib/esm/pointcloud/model/PointCloudReader.js.map +1 -1
- package/lib/esm/pointcloud/model/PointData.d.ts +17 -17
- package/lib/esm/pointcloud/model/PointData.js +20 -20
- package/lib/esm/pointcloud/model/PointData.js.map +1 -1
- package/lib/esm/pointcloud/model/PointDataRaw.d.ts +34 -34
- package/lib/esm/pointcloud/model/PointDataRaw.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/PointDataRaw.js +66 -65
- package/lib/esm/pointcloud/model/PointDataRaw.js.map +1 -1
- package/lib/esm/pointcloud/model/ReadRequest.d.ts +175 -175
- package/lib/esm/pointcloud/model/ReadRequest.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/ReadRequest.js +236 -235
- package/lib/esm/pointcloud/model/ReadRequest.js.map +1 -1
- package/lib/esm/pointcloud/model/StandardAttributes.d.ts +40 -40
- package/lib/esm/pointcloud/model/StandardAttributes.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/StandardAttributes.js +44 -43
- package/lib/esm/pointcloud/model/StandardAttributes.js.map +1 -1
- package/lib/esm/pointcloud/model/TileIndex.d.ts +47 -47
- package/lib/esm/pointcloud/model/TileIndex.d.ts.map +1 -1
- package/lib/esm/pointcloud/model/TileIndex.js +43 -43
- package/lib/esm/pointcloud/model/TileIndex.js.map +1 -1
- package/lib/esm/pointcloud/render/AViewRequest.d.ts +38 -38
- package/lib/esm/pointcloud/render/AViewRequest.d.ts.map +1 -1
- package/lib/esm/pointcloud/render/AViewRequest.js +20 -20
- package/lib/esm/pointcloud/render/AViewRequest.js.map +1 -1
- package/lib/esm/pointcloud/render/Block.d.ts +67 -67
- package/lib/esm/pointcloud/render/Block.js +115 -115
- package/lib/esm/pointcloud/render/Block.js.map +1 -1
- package/lib/esm/pointcloud/render/DataManager.d.ts +136 -136
- package/lib/esm/pointcloud/render/DataManager.d.ts.map +1 -1
- package/lib/esm/pointcloud/render/DataManager.js +339 -338
- package/lib/esm/pointcloud/render/DataManager.js.map +1 -1
- package/lib/esm/pointcloud/render/FrameData.d.ts +30 -30
- package/lib/esm/pointcloud/render/FrameData.js +35 -35
- package/lib/esm/pointcloud/render/FrameData.js.map +1 -1
- package/lib/esm/pointcloud/render/Level.d.ts +90 -90
- package/lib/esm/pointcloud/render/Level.d.ts.map +1 -1
- package/lib/esm/pointcloud/render/Level.js +115 -115
- package/lib/esm/pointcloud/render/Level.js.map +1 -1
- package/lib/esm/pointcloud/render/TileLoadSorter.d.ts +60 -60
- package/lib/esm/pointcloud/render/TileLoadSorter.d.ts.map +1 -1
- package/lib/esm/pointcloud/render/TileLoadSorter.js +96 -95
- package/lib/esm/pointcloud/render/TileLoadSorter.js.map +1 -1
- package/lib/esm/pointcloud/render/ViewTree.d.ts +113 -113
- package/lib/esm/pointcloud/render/ViewTree.d.ts.map +1 -1
- package/lib/esm/pointcloud/render/ViewTree.js +360 -359
- package/lib/esm/pointcloud/render/ViewTree.js.map +1 -1
- package/lib/esm/spatial/crs/CRSEngine.d.ts +55 -55
- package/lib/esm/spatial/crs/CRSEngine.js +89 -89
- package/lib/esm/spatial/crs/CRSEngine.js.map +1 -1
- package/lib/esm/spatial/crs/CRSManager.d.ts +49 -49
- package/lib/esm/spatial/crs/CRSManager.js +106 -105
- package/lib/esm/spatial/crs/CRSManager.js.map +1 -1
- package/lib/esm/spatial/ecrs/Axis.d.ts +77 -77
- package/lib/esm/spatial/ecrs/Axis.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/Axis.js +89 -89
- package/lib/esm/spatial/ecrs/Axis.js.map +1 -1
- package/lib/esm/spatial/ecrs/CRS.d.ts +447 -447
- package/lib/esm/spatial/ecrs/CRS.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/CRS.js +927 -926
- package/lib/esm/spatial/ecrs/CRS.js.map +1 -1
- package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts +142 -142
- package/lib/esm/spatial/ecrs/CoordinateSystem.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/CoordinateSystem.js +323 -322
- package/lib/esm/spatial/ecrs/CoordinateSystem.js.map +1 -1
- package/lib/esm/spatial/ecrs/DataFileUnit.d.ts +10 -10
- package/lib/esm/spatial/ecrs/DataFileUnit.js +101 -100
- package/lib/esm/spatial/ecrs/DataFileUnit.js.map +1 -1
- package/lib/esm/spatial/ecrs/Datum.d.ts +111 -111
- package/lib/esm/spatial/ecrs/Datum.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/Datum.js +163 -162
- package/lib/esm/spatial/ecrs/Datum.js.map +1 -1
- package/lib/esm/spatial/ecrs/Ellipsoid.d.ts +188 -188
- package/lib/esm/spatial/ecrs/Ellipsoid.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/Ellipsoid.js +332 -332
- package/lib/esm/spatial/ecrs/Ellipsoid.js.map +1 -1
- package/lib/esm/spatial/ecrs/OnlineEngine.d.ts +48 -48
- package/lib/esm/spatial/ecrs/OnlineEngine.js +98 -98
- package/lib/esm/spatial/ecrs/OnlineEngine.js.map +1 -1
- package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts +37 -37
- package/lib/esm/spatial/ecrs/OnlineRegistry.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/OnlineRegistry.js +73 -72
- package/lib/esm/spatial/ecrs/OnlineRegistry.js.map +1 -1
- package/lib/esm/spatial/ecrs/Operation.d.ts +191 -191
- package/lib/esm/spatial/ecrs/Operation.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/Operation.js +342 -341
- package/lib/esm/spatial/ecrs/Operation.js.map +1 -1
- package/lib/esm/spatial/ecrs/OperationMethod.d.ts +71 -71
- package/lib/esm/spatial/ecrs/OperationMethod.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/OperationMethod.js +71 -71
- package/lib/esm/spatial/ecrs/OperationMethod.js.map +1 -1
- package/lib/esm/spatial/ecrs/ParameterValue.d.ts +49 -49
- package/lib/esm/spatial/ecrs/ParameterValue.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/ParameterValue.js +61 -61
- package/lib/esm/spatial/ecrs/ParameterValue.js.map +1 -1
- package/lib/esm/spatial/ecrs/ParameterValueList.d.ts +72 -72
- package/lib/esm/spatial/ecrs/ParameterValueList.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/ParameterValueList.js +116 -116
- package/lib/esm/spatial/ecrs/ParameterValueList.js.map +1 -1
- package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts +78 -78
- package/lib/esm/spatial/ecrs/PrimeMeridian.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/PrimeMeridian.js +104 -104
- package/lib/esm/spatial/ecrs/PrimeMeridian.js.map +1 -1
- package/lib/esm/spatial/ecrs/Registry.d.ts +109 -109
- package/lib/esm/spatial/ecrs/Registry.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/Registry.js +204 -203
- package/lib/esm/spatial/ecrs/Registry.js.map +1 -1
- package/lib/esm/spatial/ecrs/Transform.d.ts +77 -77
- package/lib/esm/spatial/ecrs/Transform.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/Transform.js +393 -392
- package/lib/esm/spatial/ecrs/Transform.js.map +1 -1
- package/lib/esm/spatial/ecrs/Unit.d.ts +170 -170
- package/lib/esm/spatial/ecrs/Unit.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/Unit.js +333 -332
- package/lib/esm/spatial/ecrs/Unit.js.map +1 -1
- package/lib/esm/spatial/ecrs/VerticalModel.d.ts +69 -69
- package/lib/esm/spatial/ecrs/VerticalModel.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/VerticalModel.js +84 -84
- package/lib/esm/spatial/ecrs/VerticalModel.js.map +1 -1
- package/lib/esm/spatial/ecrs/WellKnownText.d.ts +153 -153
- package/lib/esm/spatial/ecrs/WellKnownText.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/WellKnownText.js +491 -490
- package/lib/esm/spatial/ecrs/WellKnownText.js.map +1 -1
- package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts +69 -69
- package/lib/esm/spatial/ecrs/WellKnownTextNode.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/WellKnownTextNode.js +124 -124
- package/lib/esm/spatial/ecrs/WellKnownTextNode.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts +101 -101
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js +159 -158
- package/lib/esm/spatial/ecrs/projection/HotineObliqueMercator.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts +79 -79
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js +122 -121
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConic.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts +47 -47
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js +70 -69
- package/lib/esm/spatial/ecrs/projection/KrovakObliqueConformalConicEN.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts +72 -72
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js +126 -125
- package/lib/esm/spatial/ecrs/projection/LambertConical1SP.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts +120 -120
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js +176 -175
- package/lib/esm/spatial/ecrs/projection/LambertConical2SP.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts +73 -73
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.js +109 -108
- package/lib/esm/spatial/ecrs/projection/Mercator1SP.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts +96 -96
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js +170 -169
- package/lib/esm/spatial/ecrs/projection/ObliqueMercator.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts +123 -123
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js +205 -204
- package/lib/esm/spatial/ecrs/projection/ObliqueStereographic.js.map +1 -1
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts +108 -108
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.js +180 -179
- package/lib/esm/spatial/ecrs/projection/TransverseMercator.js.map +1 -1
- package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts +90 -90
- package/lib/esm/spatial/ecrs/transformation/PositionVector.d.ts.map +1 -1
- package/lib/esm/spatial/ecrs/transformation/PositionVector.js +127 -126
- package/lib/esm/spatial/ecrs/transformation/PositionVector.js.map +1 -1
- package/lib/esm/spatial/geom/Bounds.d.ts +33 -33
- package/lib/esm/spatial/geom/Bounds.d.ts.map +1 -1
- package/lib/esm/spatial/geom/Bounds.js +152 -152
- package/lib/esm/spatial/geom/Bounds.js.map +1 -1
- package/lib/esm/spatial/geom/Coordinate.d.ts +61 -61
- package/lib/esm/spatial/geom/Coordinate.d.ts.map +1 -1
- package/lib/esm/spatial/geom/Coordinate.js +182 -182
- package/lib/esm/spatial/geom/Coordinate.js.map +1 -1
- package/lib/esm/spatial/geom/Line.d.ts +225 -225
- package/lib/esm/spatial/geom/Line.d.ts.map +1 -1
- package/lib/esm/spatial/geom/Line.js +428 -428
- package/lib/esm/spatial/geom/Line.js.map +1 -1
- package/lib/esm/spatial/geom/Transform.d.ts +340 -340
- package/lib/esm/spatial/geom/Transform.d.ts.map +1 -1
- package/lib/esm/spatial/geom/Transform.js +744 -744
- package/lib/esm/spatial/geom/Transform.js.map +1 -1
- package/lib/esm/system/buffer/ABuffer.d.ts +51 -51
- package/lib/esm/system/buffer/ABuffer.d.ts.map +1 -1
- package/lib/esm/system/buffer/ABuffer.js +86 -86
- package/lib/esm/system/buffer/ABuffer.js.map +1 -1
- package/lib/esm/system/buffer/Float32Buffer.d.ts +46 -46
- package/lib/esm/system/buffer/Float32Buffer.d.ts.map +1 -1
- package/lib/esm/system/buffer/Float32Buffer.js +57 -56
- package/lib/esm/system/buffer/Float32Buffer.js.map +1 -1
- package/lib/esm/system/buffer/LittleEndian.d.ts +149 -149
- package/lib/esm/system/buffer/LittleEndian.d.ts.map +1 -1
- package/lib/esm/system/buffer/LittleEndian.js +299 -299
- package/lib/esm/system/buffer/LittleEndian.js.map +1 -1
- package/lib/esm/system/buffer/Uint16Buffer.d.ts +49 -49
- package/lib/esm/system/buffer/Uint16Buffer.d.ts.map +1 -1
- package/lib/esm/system/buffer/Uint16Buffer.js +62 -61
- package/lib/esm/system/buffer/Uint16Buffer.js.map +1 -1
- package/lib/esm/system/buffer/Uint8Buffer.d.ts +49 -49
- package/lib/esm/system/buffer/Uint8Buffer.d.ts.map +1 -1
- package/lib/esm/system/buffer/Uint8Buffer.js +62 -61
- package/lib/esm/system/buffer/Uint8Buffer.js.map +1 -1
- package/lib/esm/system/collection/AList.d.ts +30 -30
- package/lib/esm/system/collection/AList.d.ts.map +1 -1
- package/lib/esm/system/collection/AList.js +66 -66
- package/lib/esm/system/collection/AList.js.map +1 -1
- package/lib/esm/system/collection/IntMap.d.ts +18 -18
- package/lib/esm/system/collection/IntMap.d.ts.map +1 -1
- package/lib/esm/system/collection/IntMap.js +31 -31
- package/lib/esm/system/collection/IntMap.js.map +1 -1
- package/lib/esm/system/collection/StringMap.d.ts +26 -26
- package/lib/esm/system/collection/StringMap.d.ts.map +1 -1
- package/lib/esm/system/collection/StringMap.js +59 -59
- package/lib/esm/system/collection/StringMap.js.map +1 -1
- package/lib/esm/system/io/ABufferInStream.d.ts +29 -29
- package/lib/esm/system/io/ABufferInStream.d.ts.map +1 -1
- package/lib/esm/system/io/ABufferInStream.js +42 -42
- package/lib/esm/system/io/ABufferInStream.js.map +1 -1
- package/lib/esm/system/io/InStream.d.ts +23 -23
- package/lib/esm/system/io/InStream.d.ts.map +1 -1
- package/lib/esm/system/io/InStream.js +30 -30
- package/lib/esm/system/io/InStream.js.map +1 -1
- package/lib/esm/system/io/OutStream.d.ts +23 -23
- package/lib/esm/system/io/OutStream.d.ts.map +1 -1
- package/lib/esm/system/io/OutStream.js +29 -29
- package/lib/esm/system/io/OutStream.js.map +1 -1
- package/lib/esm/system/runtime/ALong.d.ts +329 -329
- package/lib/esm/system/runtime/ALong.d.ts.map +1 -1
- package/lib/esm/system/runtime/ALong.js +684 -683
- package/lib/esm/system/runtime/ALong.js.map +1 -1
- package/lib/esm/system/runtime/ASystem.d.ts +14 -14
- package/lib/esm/system/runtime/ASystem.js +28 -27
- package/lib/esm/system/runtime/ASystem.js.map +1 -1
- package/lib/esm/system/runtime/Downloader.d.ts +17 -17
- package/lib/esm/system/runtime/Downloader.js +35 -34
- package/lib/esm/system/runtime/Downloader.js.map +1 -1
- package/lib/esm/system/runtime/DownloaderNode.d.ts +18 -18
- package/lib/esm/system/runtime/DownloaderNode.js +125 -125
- package/lib/esm/system/runtime/DownloaderNode.js.map +1 -1
- package/lib/esm/system/runtime/DownloaderXhr.d.ts +18 -18
- package/lib/esm/system/runtime/DownloaderXhr.js +127 -127
- package/lib/esm/system/runtime/DownloaderXhr.js.map +1 -1
- package/lib/esm/system/runtime/Message.d.ts +16 -16
- package/lib/esm/system/runtime/Message.js +36 -35
- package/lib/esm/system/runtime/Message.js.map +1 -1
- package/lib/esm/system/runtime/Numbers.d.ts +34 -34
- package/lib/esm/system/runtime/Numbers.d.ts.map +1 -1
- package/lib/esm/system/runtime/Numbers.js +84 -83
- package/lib/esm/system/runtime/Numbers.js.map +1 -1
- package/lib/esm/system/runtime/Strings.d.ts +49 -49
- package/lib/esm/system/runtime/Strings.d.ts.map +1 -1
- package/lib/esm/system/runtime/Strings.js +185 -184
- package/lib/esm/system/runtime/Strings.js.map +1 -1
- package/lib/esm/system/runtime/iComparator.d.ts +12 -12
- package/lib/esm/system/runtime/iComparator.d.ts.map +1 -1
- package/lib/esm/system/runtime/iComparator.js +8 -8
- package/lib/esm/system/runtime/iComparator.js.map +1 -1
- package/lib/esm/system/storage/CacheList.d.ts +39 -39
- package/lib/esm/system/storage/CacheList.d.ts.map +1 -1
- package/lib/esm/system/storage/CacheList.js +76 -76
- package/lib/esm/system/storage/CacheList.js.map +1 -1
- package/lib/esm/system/storage/CachedItem.d.ts +21 -21
- package/lib/esm/system/storage/CachedItem.d.ts.map +1 -1
- package/lib/esm/system/storage/CachedItem.js +21 -21
- package/lib/esm/system/storage/CachedItem.js.map +1 -1
- package/lib/esm/system/storage/ContentLoader.d.ts +64 -64
- package/lib/esm/system/storage/ContentLoader.d.ts.map +1 -1
- package/lib/esm/system/storage/ContentLoader.js +92 -91
- package/lib/esm/system/storage/ContentLoader.js.map +1 -1
- package/lib/esm/system/storage/FileContent.d.ts +19 -19
- package/lib/esm/system/storage/FileContent.js +20 -20
- package/lib/esm/system/storage/FileContent.js.map +1 -1
- package/lib/esm/system/storage/FileRange.d.ts +20 -20
- package/lib/esm/system/storage/FileRange.d.ts.map +1 -1
- package/lib/esm/system/storage/FileRange.js +20 -20
- package/lib/esm/system/storage/FileRange.js.map +1 -1
- package/lib/esm/system/storage/FileStorage.d.ts +44 -44
- package/lib/esm/system/storage/FileStorage.d.ts.map +1 -1
- package/lib/esm/system/storage/FileStorage.js +58 -58
- package/lib/esm/system/storage/FileStorage.js.map +1 -1
- package/lib/esm/system/storage/NodeFS.d.ts +41 -41
- package/lib/esm/system/storage/NodeFS.d.ts.map +1 -1
- package/lib/esm/system/storage/NodeFS.js +75 -75
- package/lib/esm/system/storage/NodeFS.js.map +1 -1
- package/lib/esm/system/storage/PageCachedFile.d.ts +54 -54
- package/lib/esm/system/storage/PageCachedFile.d.ts.map +1 -1
- package/lib/esm/system/storage/PageCachedFile.js +161 -161
- package/lib/esm/system/storage/PageCachedFile.js.map +1 -1
- package/lib/esm/system/storage/UrlFS.d.ts +53 -53
- package/lib/esm/system/storage/UrlFS.d.ts.map +1 -1
- package/lib/esm/system/storage/UrlFS.js +110 -110
- package/lib/esm/system/storage/UrlFS.js.map +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataManager.js","sourceRoot":"","sources":["../../../../src/pointcloud/render/DataManager.ts"],"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AAS,CAAC,UAAU,GAAG,UAAU,EAAE;gBAChD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;gBAC/B,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;gBAClC,SAAS,EAAE,CAAC;aACZ;SACD;QACD,UAAU;QACV,IAAI,SAAS,GAAG,CAAC;YAAE,iBAAO,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,EAAE,4BAA4B,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAC;IAC3G,CAAC;;AA5VF,kCA6VC;AA5VA,8BAA8B;AACN,kBAAM,GAAW,aAAa,CAAC;AAEvD,wDAAwD;AAChC,iCAAqB,GAAU,GAAG,GAAG,IAAI,CAAC;AAClE,4DAA4D;AACpC,iCAAqB,GAAY,CAAC,GAAG,IAAI,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module OrbitGT\r\n */\r\n\r\n//package orbitgt.pointcloud.render;\r\n\r\ntype int8 = number;\r\ntype int16 = number;\r\ntype int32 = number;\r\ntype float32 = number;\r\ntype float64 = number;\r\n\r\nimport { Bounds } from \"../../spatial/geom/Bounds\";\r\nimport { Transform } from \"../../spatial/geom/Transform\";\r\nimport { AList } from \"../../system/collection/AList\";\r\nimport { StringMap } from \"../../system/collection/StringMap\";\r\nimport { ALong } from \"../../system/runtime/ALong\";\r\nimport { ASystem } from \"../../system/runtime/ASystem\";\r\nimport { Message } from \"../../system/runtime/Message\";\r\nimport { ContentLoader } from \"../../system/storage/ContentLoader\";\r\nimport { BlockIndex } from \"../model/BlockIndex\";\r\nimport { Grid } from \"../model/Grid\";\r\nimport { PointCloudReader } from \"../model/PointCloudReader\";\r\nimport { PointData } from \"../model/PointData\";\r\nimport { TileIndex } from \"../model/TileIndex\";\r\nimport { Block } from \"./Block\";\r\nimport { FrameData } from \"./FrameData\";\r\nimport { Level } from \"./Level\";\r\nimport { ViewTree } from \"./ViewTree\";\r\n\r\n/**\r\n * Class DataManager manages the (shared) data model part of the rendering in multiple layers (see the CLOUD-461 issue).\r\n *\r\n * @version 1.0 December 2017\r\n */\r\n/** @internal */\r\nexport class DataManager {\r\n\t/** The name of this module */\r\n\tprivate static readonly MODULE: string = \"DataManager\";\r\n\r\n\t/** The maximum size of a single file-content request */\r\n\tprivate static readonly MAX_FILE_CONTENT_SIZE: int32 = 128 * 1024;\r\n\t/** The expire time to unload unused point data (seconds) */\r\n\tprivate static readonly POINT_DATA_EXIRE_TIME: float64 = 5 * 60.0;\r\n\r\n\t/** The reader of the pointcloud */\r\n\tprivate _pointCloudReader: PointCloudReader;\r\n\t/*** The CRS of the pointcloud */\r\n\tprivate _pointCloudCRS: string;\r\n\t/** The data format to read */\r\n\tprivate _dataFormat: int32;\r\n\r\n\t/** The spatial index */\r\n\tprivate _fileTileIndex: ViewTree;\r\n\t/** The data pool */\r\n\tprivate _dataPool: StringMap<PointData>;\r\n\t/** The set of levels we requested (index) */\r\n\tprivate _levelsLoading: StringMap<Level>;\r\n\t/** The set of levels we received (index) */\r\n\tprivate _levelsLoaded: StringMap<Level>;\r\n\t/** The set of blocks we requested (key) */\r\n\tprivate _blocksLoading: StringMap<BlockIndex>;\r\n\t/** The set of blocks we received (key) */\r\n\tprivate _blocksLoaded: StringMap<BlockIndex>;\r\n\t/** The set of tiles we requested (key) */\r\n\tprivate _tilesLoading: StringMap<TileIndex>;\r\n\t/** The set of tiles we received (key) */\r\n\tprivate _tilesLoaded: StringMap<TileIndex>;\r\n\t/** Is new data being loaded? */\r\n\tprivate _loadingData: boolean;\r\n\t/** The time when the data loading stopped */\r\n\tprivate _loadedDataTime: float64;\r\n\t/** The total size of data that has been loaded */\r\n\tprivate _dataLoadSize: ALong;\r\n\r\n\t/** The last garbage collection time */\r\n\tprivate _lastGarbageCollectTime: float64;\r\n\r\n\t/**\r\n\t * Create a new data model (to be shared between different views).\r\n\t * @param pointCloudReader the reader of the pointcloud file.\r\n\t * @param pointCloudCRS the CRS of the point cloud.\r\n\t * @param dataFormat the requested data format to load point data (PointDataRaw.TYPE for example).\r\n\t */\r\n\tpublic constructor(pointCloudReader: PointCloudReader, pointCloudCRS: string, dataFormat: int32) {\r\n\t\t/* Store the parameters */\r\n\t\tthis._pointCloudReader = pointCloudReader;\r\n\t\tthis._pointCloudCRS = pointCloudCRS;\r\n\t\tthis._dataFormat = dataFormat;\r\n\t\t/* Initialize */\r\n\t\tif (this._pointCloudCRS == null) this._pointCloudCRS = this._pointCloudReader.getFileCRS();\r\n\t\t/* Clear */\r\n\t\tthis._fileTileIndex = this.createSpatialIndex();\r\n\t\tthis._dataPool = new StringMap<PointData>();\r\n\t\tthis._levelsLoading = new StringMap<Level>();\r\n\t\tthis._levelsLoaded = new StringMap<Level>();\r\n\t\tthis._blocksLoading = new StringMap<BlockIndex>();\r\n\t\tthis._blocksLoaded = new StringMap<BlockIndex>();\r\n\t\tthis._tilesLoading = new StringMap<TileIndex>();\r\n\t\tthis._tilesLoaded = new StringMap<TileIndex>();\r\n\t\tthis._loadingData = false;\r\n\t\tthis._loadedDataTime = 0.0;\r\n\t\tthis._dataLoadSize = ALong.ZERO;\r\n\t\tthis._lastGarbageCollectTime = 0.0;\r\n\t\t/* Log */\r\n\t\tMessage.print(DataManager.MODULE, \"Pointcloud CRS is \" + this._pointCloudCRS);\r\n\t}\r\n\r\n\t/**\r\n\t * Close the data model.\r\n\t */\r\n\tpublic close(): void {\r\n\t\tif (this._pointCloudReader != null) {\r\n\t\t\tthis._pointCloudReader.close();\r\n\t\t\tthis._pointCloudReader = null;\r\n\t\t}\r\n\t\tthis._fileTileIndex = null;\r\n\t\tthis._dataPool.clear();\r\n\t\tthis._levelsLoading.clear();\r\n\t\tthis._levelsLoaded.clear();\r\n\t\tthis._blocksLoading.clear();\r\n\t\tthis._blocksLoaded.clear();\r\n\t\tthis._tilesLoading.clear();\r\n\t\tthis._tilesLoaded.clear();\r\n\t}\r\n\r\n\t/**\r\n\t * Create a spatial index of a pointcloud.\r\n\t * @return the spatial index.\r\n\t */\r\n\tprivate createSpatialIndex(): ViewTree {\r\n\t\t/* Create the levels */\r\n\t\tMessage.print(DataManager.MODULE, \"Creating pointcloud spatial index\");\r\n\t\tlet levels: Array<Level> = new Array<Level>(this._pointCloudReader.getLevelCount());\r\n\t\tfor (let i: number = 0; i < levels.length; i++) {\r\n\t\t\t/* Get the grids */\r\n\t\t\tlet blockGrid: Grid = this._pointCloudReader.getLevelBlockGrid(i);\r\n\t\t\tlet tileGrid: Grid = this._pointCloudReader.getLevelTileGrid(i);\r\n\t\t\t/* Get the blocks */\r\n\t\t\tlet blockIndexes: Array<BlockIndex> = this._pointCloudReader.peekBlockIndexes(i);\r\n\t\t\tlet blockList: Array<Block> = new Array<Block>(blockIndexes.length);\r\n\t\t\tfor (let j: number = 0; j < blockList.length; j++) blockList[j] = new Block(blockIndexes[j]);\r\n\t\t\t/* Create the level */\r\n\t\t\tlevels[i] = new Level(i, blockGrid, tileGrid, blockList);\r\n\t\t\tMessage.print(DataManager.MODULE, \"Level \" + i + \" has \" + blockList.length + \" blocks\");\r\n\t\t}\r\n\t\t/* Get the data bounds */\r\n\t\tlet dataBounds: Bounds = this._pointCloudReader.getFileBounds();\r\n\t\tMessage.print(DataManager.MODULE, \"The data bounds are \" + dataBounds);\r\n\t\t/* Return a new spatial index */\r\n\t\treturn new ViewTree(this, levels, dataBounds);\r\n\t}\r\n\r\n\t/**\r\n\t * Get the pointcloud reader.\r\n\t * @return the pointcloud reader.\r\n\t */\r\n\tpublic getPointCloudReader(): PointCloudReader {\r\n\t\treturn this._pointCloudReader;\r\n\t}\r\n\r\n\t/**\r\n\t * Get the pointcloud CRS.\r\n\t * @return the pointcloud CRS.\r\n\t */\r\n\tpublic getPointCloudCRS(): string {\r\n\t\treturn this._pointCloudCRS;\r\n\t}\r\n\r\n\t/**\r\n\t * Get the bounds of the data.\r\n\t * @return the bounds of the data.\r\n\t */\r\n\tpublic getPointCloudBounds(): Bounds {\r\n\t\treturn this._pointCloudReader.getFileBounds();\r\n\t}\r\n\r\n\t/**\r\n\t * Get the spatial index.\r\n\t * @return the spatial index.\r\n\t */\r\n\tpublic getViewTree(): ViewTree {\r\n\t\treturn this._fileTileIndex;\r\n\t}\r\n\r\n\t/**\r\n\t * Check if a tile has been loaded to the data pool.\r\n\t * @param tileIndex the index of the tile.\r\n\t * @return the point data if loaded, null otherwise.\r\n\t */\r\n\tpublic isTileLoaded(tileIndex: TileIndex): PointData {\r\n\t\treturn this._dataPool.get(tileIndex.key);\r\n\t}\r\n\r\n\t/**\r\n\t * Is the model loading data?\r\n\t * @return true when loading data.\r\n\t */\r\n\tpublic isLoadingData(): boolean {\r\n\t\treturn this._loadingData;\r\n\t}\r\n\r\n\t/**\r\n\t * Get the size of the loaded data.\r\n\t * @return the size of the loaded data.\r\n\t */\r\n\tpublic getDataLoadSize(): ALong {\r\n\t\treturn this._dataLoadSize;\r\n\t}\r\n\r\n\t/**\r\n\t * Filter the list of blocks and tiles that should be loaded.\r\n\t * @param levelsToLoad the list of levels to load.\r\n\t * @param blocksToLoad the list of blocks to load.\r\n\t * @param tilesToLoad the list of tiles to load.\r\n\t * @param levelList the filtered list of levels to load.\r\n\t * @param blockList the filtered list of blocks to load.\r\n\t * @param tileList the filtered list of tiles to load.\r\n\t */\r\n\tpublic filterLoadList(levelsToLoad: AList<Level>, blocksToLoad: AList<BlockIndex>, tilesToLoad: AList<TileIndex>, levelList: AList<Level>, blockList: AList<BlockIndex>, tileList: AList<TileIndex>): void {\r\n\t\t/* Filter the levels to load */\r\n\t\tfor (let i: number = 0; i < levelsToLoad.size(); i++) {\r\n\t\t\t/* Do not request the same level twice */\r\n\t\t\tlet level: Level = levelsToLoad.get(i);\r\n\t\t\tif (this._levelsLoading.contains(level.getKey())) continue;\r\n\t\t\tif (this._levelsLoaded.contains(level.getKey())) continue;\r\n\t\t\t/* Add the level */\r\n\t\t\tlevelList.add(level);\r\n\t\t}\r\n\t\tlevelsToLoad.clear();\r\n\t\t/* Filter the blocks to load */\r\n\t\tfor (let i: number = 0; i < blocksToLoad.size(); i++) {\r\n\t\t\t/* Do not request the same block twice */\r\n\t\t\tlet blockIndex: BlockIndex = blocksToLoad.get(i);\r\n\t\t\tif (this._blocksLoading.contains(blockIndex.key)) continue;\r\n\t\t\tif (this._blocksLoaded.contains(blockIndex.key)) continue;\r\n\t\t\t/* Add the block */\r\n\t\t\tblockList.add(blockIndex);\r\n\t\t}\r\n\t\tblocksToLoad.clear();\r\n\t\t/* Filter the tiles to load */\r\n\t\tfor (let i: number = 0; i < tilesToLoad.size(); i++) {\r\n\t\t\t/* Do not request the same tile twice */\r\n\t\t\tlet tileIndex: TileIndex = tilesToLoad.get(i);\r\n\t\t\tif (this._tilesLoading.contains(tileIndex.key)) continue;\r\n\t\t\tif (this._tilesLoaded.contains(tileIndex.key)) continue;\r\n\t\t\t/* Add the tile */\r\n\t\t\ttileList.add(tileIndex);\r\n\t\t}\r\n\t\ttilesToLoad.clear();\r\n\t}\r\n\r\n\t/**\r\n\t * Load blocks and tiles.\r\n\t * @param layer the layer requesting the load.\r\n\t * @param levelList the filtered list of levels to load.\r\n\t * @param blockList the filtered list of blocks to load.\r\n\t * @param tileList the filtered list of tiles to load.\r\n\t * @return the data model.\r\n\t */\r\n\tpublic async loadData(frameData: FrameData): Promise<FrameData> {\r\n\t\t/* No data to load? */\r\n\t\tif (frameData.hasMissingData() == false) return frameData;\r\n\t\t/* Do not make overlapping load requests */\r\n\t\tif (this._loadingData) return frameData;\r\n\t\tthis._loadingData = true;\r\n\t\t/* Log */\r\n\t\tlet levelList: AList<Level> = frameData.levelsToLoad;\r\n\t\tlet blockList: AList<BlockIndex> = frameData.blocksToLoad;\r\n\t\tlet tileList: AList<TileIndex> = frameData.tilesToLoad;\r\n\t\t//\t\tMessage.print(MODULE,\"Loading \"+levelList.size()+\" levels, \"+blockList.size()+\" blocks and \"+tileList.size()+\" tiles\");\r\n\t\t//\t\tMessage.print(MODULE,\"Already loaded \"+this._blocksLoaded.size()+\" blocks\");\r\n\t\t//\t\tMessage.print(MODULE,\"Already loading \"+this._blocksLoading.size()+\" blocks\");\r\n\t\t//\t\tMessage.print(MODULE,\"Already loaded \"+this._tilesLoaded.size()+\" tiles\");\r\n\t\t//\t\tMessage.print(MODULE,\"Already loading \"+this._tilesLoading.size()+\" tiles\");\r\n\t\t/* Define the content we are going to need */\r\n\t\tlet loadTime: float64 = ASystem.time();\r\n\t\tlet fileContents: ContentLoader = new ContentLoader(this._pointCloudReader.getFileStorage(), this._pointCloudReader.getFileName());\r\n\t\t/* Prepare the loading of the levels */\r\n\t\tfor (let i: number = 0; i < levelList.size(); i++) {\r\n\t\t\t/* Prepare to load the block */\r\n\t\t\tlet level: Level = levelList.get(i);\r\n\t\t\tthis._levelsLoading.set(level.getKey(), level);\r\n\t\t\tthis._pointCloudReader.readBlockIndexes(level.getIndex(), fileContents);\r\n\t\t\tMessage.print(DataManager.MODULE, \"Loading level \" + level.getIndex());\r\n\t\t}\r\n\t\t/* Prepare the loading of the blocks */\r\n\t\tfor (let i: number = 0; i < blockList.size(); i++) {\r\n\t\t\t/* Prepare to load the block */\r\n\t\t\tlet blockIndex: BlockIndex = blockList.get(i);\r\n\t\t\tthis._blocksLoading.set(blockIndex.key, blockIndex);\r\n\t\t\tthis._pointCloudReader.readTileIndexes(blockIndex, fileContents);\r\n\t\t}\r\n\t\t/* Prepare the loading of the tiles */\r\n\t\tlet loadTileCount: int32 = 0;\r\n\t\tfor (let i: number = 0; i < tileList.size(); i++) {\r\n\t\t\t/* Prepare to load the tile */\r\n\t\t\tlet tileIndex: TileIndex = tileList.get(i);\r\n\t\t\tthis._tilesLoading.set(tileIndex.key, tileIndex);\r\n\t\t\tthis._pointCloudReader.readPointData(tileIndex, this._dataFormat, loadTime, fileContents);\r\n\t\t\tloadTileCount++;\r\n\t\t\t/* Do not load too many tiles at once */\r\n\t\t\tif (fileContents.getTotalRequestSize() > DataManager.MAX_FILE_CONTENT_SIZE) {\r\n\t\t\t\t/* Stop loading tiles */\r\n\t\t\t\tMessage.print(DataManager.MODULE, \"Limited pointcloud content load request to \" + fileContents.getTotalRequestSize() + \" bytes\");\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t/* Log */\r\n\t\tMessage.print(DataManager.MODULE, \"Loading of \" + blockList.size() + \" blocks, \" + loadTileCount + \"/\" + tileList.size() + \" tiles, \" + fileContents.getTotalRequestSize() + \" bytes\");\r\n\t\t/* Load the data */\r\n\t\tthis._dataLoadSize = this._dataLoadSize.addInt(fileContents.getTotalRequestSize());\r\n\t\tfileContents = await fileContents.load();\r\n\t\t//Message.print(MODULE,\"Creating \"+blockList.size()+\" blocks and \"+tileList.size()+\" tiles\");\r\n\t\t/* Load the levels */\r\n\t\tfor (let i: number = 0; i < levelList.size(); i++) {\r\n\t\t\t/* Load the block list */\r\n\t\t\tlet level: Level = levelList.get(i);\r\n\t\t\tthis._levelsLoaded.set(level.getKey(), level);\r\n\t\t\tthis._levelsLoading.remove(level.getKey());\r\n\t\t\tlet blockIndexes: Array<BlockIndex> = this._pointCloudReader.readBlockIndexes(level.getIndex(), fileContents);\r\n\t\t\t/* Add the blocks */\r\n\t\t\tthis._fileTileIndex.setLevelBlocks(level, blockIndexes);\r\n\t\t}\r\n\t\t/* Load the blocks */\r\n\t\tfor (let i: number = 0; i < blockList.size(); i++) {\r\n\t\t\t/* Load the block */\r\n\t\t\tlet blockIndex: BlockIndex = blockList.get(i);\r\n\t\t\tthis._blocksLoaded.set(blockIndex.key, blockIndex);\r\n\t\t\tthis._blocksLoading.remove(blockIndex.key);\r\n\t\t\tlet tileIndexes: Array<TileIndex> = this._pointCloudReader.readTileIndexes(blockIndex, fileContents);\r\n\t\t\t/* Add the block */\r\n\t\t\tthis._fileTileIndex.setBlockTiles(blockIndex, tileIndexes);\r\n\t\t}\r\n\t\t/* Load the tiles */\r\n\t\tlet newTiles: AList<TileIndex> = new AList<TileIndex>();\r\n\t\tfor (let i: number = 0; i < loadTileCount; i++) {\r\n\t\t\t/* Get the next tile */\r\n\t\t\tlet tileIndex: TileIndex = tileList.get(i);\r\n\t\t\tnewTiles.add(tileIndex);\r\n\t\t\t/* Load the tile */\r\n\t\t\tthis._tilesLoaded.set(tileIndex.key, tileIndex);\r\n\t\t\tthis._tilesLoading.remove(tileIndex.key);\r\n\t\t\tlet pointData: PointData = this._pointCloudReader.readPointData(tileIndex, this._dataFormat, loadTime, fileContents);\r\n\t\t\t/* Add the tile */\r\n\t\t\tthis._dataPool.set(tileIndex.key, pointData);\r\n\t\t}\r\n\t\t/* We stopped loading */\r\n\t\tthis._loadingData = false;\r\n\t\tthis._loadedDataTime = ASystem.time();\r\n\t\t/* Log */\r\n\t\tMessage.print(DataManager.MODULE, \"Created \" + blockList.size() + \" blocks and \" + loadTileCount + \" tiles\");\r\n\t\t/* Return the frame data */\r\n\t\treturn frameData;\r\n\t}\r\n\r\n\t/**\r\n\t * Do a garbage collect (this method can be called often, it throttles itself to once per minute).\r\n\t * @param time the current time.\r\n\t */\r\n\tpublic doGarbageCollect(time: float64): void {\r\n\t\t/* First call? */\r\n\t\tif (this._lastGarbageCollectTime == 0.0) this._lastGarbageCollectTime = time;\r\n\t\t/* Throttle to one per minute */\r\n\t\tif (time < this._lastGarbageCollectTime + 60.0) return;\r\n\t\tthis._lastGarbageCollectTime = time;\r\n\t\t/* Define the expire time */\r\n\t\tlet expireTime: float64 = (time - DataManager.POINT_DATA_EXIRE_TIME);\r\n\t\t/* Check all loaded tiles */\r\n\t\tlet dropCount: int32 = 0;\r\n\t\tlet dataKeys: AList<string> = this._dataPool.keys();\r\n\t\tfor (let i: number = 0; i < dataKeys.size(); i++) {\r\n\t\t\t/* Get the next tile */\r\n\t\t\tlet tileKey: string = dataKeys.get(i);\r\n\t\t\tlet pointData: PointData = this._dataPool.get(tileKey);\r\n\t\t\t/* Expired? */\r\n\t\t\tif (pointData.tileIndex.accessTime < expireTime) {\r\n\t\t\t\tthis._dataPool.remove(tileKey);\r\n\t\t\t\tthis._tilesLoaded.remove(tileKey);\r\n\t\t\t\tdropCount++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t/* Log? */\r\n\t\tif (dropCount > 0) Message.print(DataManager.MODULE, \"Dropped the point data of \" + dropCount + \" tiles\");\r\n\t}\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"DataManager.js","sourceRoot":"","sources":["../../../../src/pointcloud/render/DataManager.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAYH,yDAAsD;AACtD,iEAA8D;AAC9D,sDAAmD;AACnD,0DAAuD;AACvD,0DAAuD;AACvD,sEAAmE;AAMnE,mCAAgC;AAEhC,mCAAgC;AAChC,yCAAsC;AAEtC;;;;GAIG;AACH,gBAAgB;AAChB,MAAa,WAAW;IA0CvB;;;;;OAKG;IACH,YAAmB,gBAAkC,EAAE,aAAqB,EAAE,UAAiB;QAC9F,0BAA0B;QAC1B,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;QAC1C,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;QACpC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,gBAAgB;QAChB,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI;YAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,CAAC;QAC3F,WAAW;QACX,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,IAAI,qBAAS,EAAa,CAAC;QAC5C,IAAI,CAAC,cAAc,GAAG,IAAI,qBAAS,EAAS,CAAC;QAC7C,IAAI,CAAC,aAAa,GAAG,IAAI,qBAAS,EAAS,CAAC;QAC5C,IAAI,CAAC,cAAc,GAAG,IAAI,qB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CAAC;QACzB,IAAI,QAAQ,GAAkB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACpD,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE;YACjD,uBAAuB;YACvB,IAAI,OAAO,GAAW,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACtC,IAAI,SAAS,GAAc,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YACvD,cAAc;YACd,IAAI,SAAS,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,EAAE;gBAChD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;gBAC/B,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;gBAClC,SAAS,EAAE,CAAC;aACZ;SACD;QACD,UAAU;QACV,IAAI,SAAS,GAAG,CAAC;YAAE,iBAAO,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,EAAE,4BAA4B,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAC;IAC3G,CAAC;;AA3VD,8BAA8B;AACN,kBAAM,GAAW,aAAa,CAAC;AAEvD,wDAAwD;AAChC,iCAAqB,GAAU,GAAG,GAAG,IAAI,CAAC;AAClE,4DAA4D;AACpC,iCAAqB,GAAY,CAAC,GAAG,IAAI,CAAC;AAPtD,kCAAW","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module OrbitGT\n */\n\n//package orbitgt.pointcloud.render;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\nimport { Bounds } from \"../../spatial/geom/Bounds\";\nimport { Transform } from \"../../spatial/geom/Transform\";\nimport { AList } from \"../../system/collection/AList\";\nimport { StringMap } from \"../../system/collection/StringMap\";\nimport { ALong } from \"../../system/runtime/ALong\";\nimport { ASystem } from \"../../system/runtime/ASystem\";\nimport { Message } from \"../../system/runtime/Message\";\nimport { ContentLoader } from \"../../system/storage/ContentLoader\";\nimport { BlockIndex } from \"../model/BlockIndex\";\nimport { Grid } from \"../model/Grid\";\nimport { PointCloudReader } from \"../model/PointCloudReader\";\nimport { PointData } from \"../model/PointData\";\nimport { TileIndex } from \"../model/TileIndex\";\nimport { Block } from \"./Block\";\nimport { FrameData } from \"./FrameData\";\nimport { Level } from \"./Level\";\nimport { ViewTree } from \"./ViewTree\";\n\n/**\n * Class DataManager manages the (shared) data model part of the rendering in multiple layers (see the CLOUD-461 issue).\n *\n * @version 1.0 December 2017\n */\n/** @internal */\nexport class DataManager {\n\t/** The name of this module */\n\tprivate static readonly MODULE: string = \"DataManager\";\n\n\t/** The maximum size of a single file-content request */\n\tprivate static readonly MAX_FILE_CONTENT_SIZE: int32 = 128 * 1024;\n\t/** The expire time to unload unused point data (seconds) */\n\tprivate static readonly POINT_DATA_EXIRE_TIME: float64 = 5 * 60.0;\n\n\t/** The reader of the pointcloud */\n\tprivate _pointCloudReader: PointCloudReader;\n\t/*** The CRS of the pointcloud */\n\tprivate _pointCloudCRS: string;\n\t/** The data format to read */\n\tprivate _dataFormat: int32;\n\n\t/** The spatial index */\n\tprivate _fileTileIndex: ViewTree;\n\t/** The data pool */\n\tprivate _dataPool: StringMap<PointData>;\n\t/** The set of levels we requested (index) */\n\tprivate _levelsLoading: StringMap<Level>;\n\t/** The set of levels we received (index) */\n\tprivate _levelsLoaded: StringMap<Level>;\n\t/** The set of blocks we requested (key) */\n\tprivate _blocksLoading: StringMap<BlockIndex>;\n\t/** The set of blocks we received (key) */\n\tprivate _blocksLoaded: StringMap<BlockIndex>;\n\t/** The set of tiles we requested (key) */\n\tprivate _tilesLoading: StringMap<TileIndex>;\n\t/** The set of tiles we received (key) */\n\tprivate _tilesLoaded: StringMap<TileIndex>;\n\t/** Is new data being loaded? */\n\tprivate _loadingData: boolean;\n\t/** The time when the data loading stopped */\n\tprivate _loadedDataTime: float64;\n\t/** The total size of data that has been loaded */\n\tprivate _dataLoadSize: ALong;\n\n\t/** The last garbage collection time */\n\tprivate _lastGarbageCollectTime: float64;\n\n\t/**\n\t * Create a new data model (to be shared between different views).\n\t * @param pointCloudReader the reader of the pointcloud file.\n\t * @param pointCloudCRS the CRS of the point cloud.\n\t * @param dataFormat the requested data format to load point data (PointDataRaw.TYPE for example).\n\t */\n\tpublic constructor(pointCloudReader: PointCloudReader, pointCloudCRS: string, dataFormat: int32) {\n\t\t/* Store the parameters */\n\t\tthis._pointCloudReader = pointCloudReader;\n\t\tthis._pointCloudCRS = pointCloudCRS;\n\t\tthis._dataFormat = dataFormat;\n\t\t/* Initialize */\n\t\tif (this._pointCloudCRS == null) this._pointCloudCRS = this._pointCloudReader.getFileCRS();\n\t\t/* Clear */\n\t\tthis._fileTileIndex = this.createSpatialIndex();\n\t\tthis._dataPool = new StringMap<PointData>();\n\t\tthis._levelsLoading = new StringMap<Level>();\n\t\tthis._levelsLoaded = new StringMap<Level>();\n\t\tthis._blocksLoading = new StringMap<BlockIndex>();\n\t\tthis._blocksLoaded = new StringMap<BlockIndex>();\n\t\tthis._tilesLoading = new StringMap<TileIndex>();\n\t\tthis._tilesLoaded = new StringMap<TileIndex>();\n\t\tthis._loadingData = false;\n\t\tthis._loadedDataTime = 0.0;\n\t\tthis._dataLoadSize = ALong.ZERO;\n\t\tthis._lastGarbageCollectTime = 0.0;\n\t\t/* Log */\n\t\tMessage.print(DataManager.MODULE, \"Pointcloud CRS is \" + this._pointCloudCRS);\n\t}\n\n\t/**\n\t * Close the data model.\n\t */\n\tpublic close(): void {\n\t\tif (this._pointCloudReader != null) {\n\t\t\tthis._pointCloudReader.close();\n\t\t\tthis._pointCloudReader = null;\n\t\t}\n\t\tthis._fileTileIndex = null;\n\t\tthis._dataPool.clear();\n\t\tthis._levelsLoading.clear();\n\t\tthis._levelsLoaded.clear();\n\t\tthis._blocksLoading.clear();\n\t\tthis._blocksLoaded.clear();\n\t\tthis._tilesLoading.clear();\n\t\tthis._tilesLoaded.clear();\n\t}\n\n\t/**\n\t * Create a spatial index of a pointcloud.\n\t * @return the spatial index.\n\t */\n\tprivate createSpatialIndex(): ViewTree {\n\t\t/* Create the levels */\n\t\tMessage.print(DataManager.MODULE, \"Creating pointcloud spatial index\");\n\t\tlet levels: Array<Level> = new Array<Level>(this._pointCloudReader.getLevelCount());\n\t\tfor (let i: number = 0; i < levels.length; i++) {\n\t\t\t/* Get the grids */\n\t\t\tlet blockGrid: Grid = this._pointCloudReader.getLevelBlockGrid(i);\n\t\t\tlet tileGrid: Grid = this._pointCloudReader.getLevelTileGrid(i);\n\t\t\t/* Get the blocks */\n\t\t\tlet blockIndexes: Array<BlockIndex> = this._pointCloudReader.peekBlockIndexes(i);\n\t\t\tlet blockList: Array<Block> = new Array<Block>(blockIndexes.length);\n\t\t\tfor (let j: number = 0; j < blockList.length; j++) blockList[j] = new Block(blockIndexes[j]);\n\t\t\t/* Create the level */\n\t\t\tlevels[i] = new Level(i, blockGrid, tileGrid, blockList);\n\t\t\tMessage.print(DataManager.MODULE, \"Level \" + i + \" has \" + blockList.length + \" blocks\");\n\t\t}\n\t\t/* Get the data bounds */\n\t\tlet dataBounds: Bounds = this._pointCloudReader.getFileBounds();\n\t\tMessage.print(DataManager.MODULE, \"The data bounds are \" + dataBounds);\n\t\t/* Return a new spatial index */\n\t\treturn new ViewTree(this, levels, dataBounds);\n\t}\n\n\t/**\n\t * Get the pointcloud reader.\n\t * @return the pointcloud reader.\n\t */\n\tpublic getPointCloudReader(): PointCloudReader {\n\t\treturn this._pointCloudReader;\n\t}\n\n\t/**\n\t * Get the pointcloud CRS.\n\t * @return the pointcloud CRS.\n\t */\n\tpublic getPointCloudCRS(): string {\n\t\treturn this._pointCloudCRS;\n\t}\n\n\t/**\n\t * Get the bounds of the data.\n\t * @return the bounds of the data.\n\t */\n\tpublic getPointCloudBounds(): Bounds {\n\t\treturn this._pointCloudReader.getFileBounds();\n\t}\n\n\t/**\n\t * Get the spatial index.\n\t * @return the spatial index.\n\t */\n\tpublic getViewTree(): ViewTree {\n\t\treturn this._fileTileIndex;\n\t}\n\n\t/**\n\t * Check if a tile has been loaded to the data pool.\n\t * @param tileIndex the index of the tile.\n\t * @return the point data if loaded, null otherwise.\n\t */\n\tpublic isTileLoaded(tileIndex: TileIndex): PointData {\n\t\treturn this._dataPool.get(tileIndex.key);\n\t}\n\n\t/**\n\t * Is the model loading data?\n\t * @return true when loading data.\n\t */\n\tpublic isLoadingData(): boolean {\n\t\treturn this._loadingData;\n\t}\n\n\t/**\n\t * Get the size of the loaded data.\n\t * @return the size of the loaded data.\n\t */\n\tpublic getDataLoadSize(): ALong {\n\t\treturn this._dataLoadSize;\n\t}\n\n\t/**\n\t * Filter the list of blocks and tiles that should be loaded.\n\t * @param levelsToLoad the list of levels to load.\n\t * @param blocksToLoad the list of blocks to load.\n\t * @param tilesToLoad the list of tiles to load.\n\t * @param levelList the filtered list of levels to load.\n\t * @param blockList the filtered list of blocks to load.\n\t * @param tileList the filtered list of tiles to load.\n\t */\n\tpublic filterLoadList(levelsToLoad: AList<Level>, blocksToLoad: AList<BlockIndex>, tilesToLoad: AList<TileIndex>, levelList: AList<Level>, blockList: AList<BlockIndex>, tileList: AList<TileIndex>): void {\n\t\t/* Filter the levels to load */\n\t\tfor (let i: number = 0; i < levelsToLoad.size(); i++) {\n\t\t\t/* Do not request the same level twice */\n\t\t\tlet level: Level = levelsToLoad.get(i);\n\t\t\tif (this._levelsLoading.contains(level.getKey())) continue;\n\t\t\tif (this._levelsLoaded.contains(level.getKey())) continue;\n\t\t\t/* Add the level */\n\t\t\tlevelList.add(level);\n\t\t}\n\t\tlevelsToLoad.clear();\n\t\t/* Filter the blocks to load */\n\t\tfor (let i: number = 0; i < blocksToLoad.size(); i++) {\n\t\t\t/* Do not request the same block twice */\n\t\t\tlet blockIndex: BlockIndex = blocksToLoad.get(i);\n\t\t\tif (this._blocksLoading.contains(blockIndex.key)) continue;\n\t\t\tif (this._blocksLoaded.contains(blockIndex.key)) continue;\n\t\t\t/* Add the block */\n\t\t\tblockList.add(blockIndex);\n\t\t}\n\t\tblocksToLoad.clear();\n\t\t/* Filter the tiles to load */\n\t\tfor (let i: number = 0; i < tilesToLoad.size(); i++) {\n\t\t\t/* Do not request the same tile twice */\n\t\t\tlet tileIndex: TileIndex = tilesToLoad.get(i);\n\t\t\tif (this._tilesLoading.contains(tileIndex.key)) continue;\n\t\t\tif (this._tilesLoaded.contains(tileIndex.key)) continue;\n\t\t\t/* Add the tile */\n\t\t\ttileList.add(tileIndex);\n\t\t}\n\t\ttilesToLoad.clear();\n\t}\n\n\t/**\n\t * Load blocks and tiles.\n\t * @param layer the layer requesting the load.\n\t * @param levelList the filtered list of levels to load.\n\t * @param blockList the filtered list of blocks to load.\n\t * @param tileList the filtered list of tiles to load.\n\t * @return the data model.\n\t */\n\tpublic async loadData(frameData: FrameData): Promise<FrameData> {\n\t\t/* No data to load? */\n\t\tif (frameData.hasMissingData() == false) return frameData;\n\t\t/* Do not make overlapping load requests */\n\t\tif (this._loadingData) return frameData;\n\t\tthis._loadingData = true;\n\t\t/* Log */\n\t\tlet levelList: AList<Level> = frameData.levelsToLoad;\n\t\tlet blockList: AList<BlockIndex> = frameData.blocksToLoad;\n\t\tlet tileList: AList<TileIndex> = frameData.tilesToLoad;\n\t\t//\t\tMessage.print(MODULE,\"Loading \"+levelList.size()+\" levels, \"+blockList.size()+\" blocks and \"+tileList.size()+\" tiles\");\n\t\t//\t\tMessage.print(MODULE,\"Already loaded \"+this._blocksLoaded.size()+\" blocks\");\n\t\t//\t\tMessage.print(MODULE,\"Already loading \"+this._blocksLoading.size()+\" blocks\");\n\t\t//\t\tMessage.print(MODULE,\"Already loaded \"+this._tilesLoaded.size()+\" tiles\");\n\t\t//\t\tMessage.print(MODULE,\"Already loading \"+this._tilesLoading.size()+\" tiles\");\n\t\t/* Define the content we are going to need */\n\t\tlet loadTime: float64 = ASystem.time();\n\t\tlet fileContents: ContentLoader = new ContentLoader(this._pointCloudReader.getFileStorage(), this._pointCloudReader.getFileName());\n\t\t/* Prepare the loading of the levels */\n\t\tfor (let i: number = 0; i < levelList.size(); i++) {\n\t\t\t/* Prepare to load the block */\n\t\t\tlet level: Level = levelList.get(i);\n\t\t\tthis._levelsLoading.set(level.getKey(), level);\n\t\t\tthis._pointCloudReader.readBlockIndexes(level.getIndex(), fileContents);\n\t\t\tMessage.print(DataManager.MODULE, \"Loading level \" + level.getIndex());\n\t\t}\n\t\t/* Prepare the loading of the blocks */\n\t\tfor (let i: number = 0; i < blockList.size(); i++) {\n\t\t\t/* Prepare to load the block */\n\t\t\tlet blockIndex: BlockIndex = blockList.get(i);\n\t\t\tthis._blocksLoading.set(blockIndex.key, blockIndex);\n\t\t\tthis._pointCloudReader.readTileIndexes(blockIndex, fileContents);\n\t\t}\n\t\t/* Prepare the loading of the tiles */\n\t\tlet loadTileCount: int32 = 0;\n\t\tfor (let i: number = 0; i < tileList.size(); i++) {\n\t\t\t/* Prepare to load the tile */\n\t\t\tlet tileIndex: TileIndex = tileList.get(i);\n\t\t\tthis._tilesLoading.set(tileIndex.key, tileIndex);\n\t\t\tthis._pointCloudReader.readPointData(tileIndex, this._dataFormat, loadTime, fileContents);\n\t\t\tloadTileCount++;\n\t\t\t/* Do not load too many tiles at once */\n\t\t\tif (fileContents.getTotalRequestSize() > DataManager.MAX_FILE_CONTENT_SIZE) {\n\t\t\t\t/* Stop loading tiles */\n\t\t\t\tMessage.print(DataManager.MODULE, \"Limited pointcloud content load request to \" + fileContents.getTotalRequestSize() + \" bytes\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t/* Log */\n\t\tMessage.print(DataManager.MODULE, \"Loading of \" + blockList.size() + \" blocks, \" + loadTileCount + \"/\" + tileList.size() + \" tiles, \" + fileContents.getTotalRequestSize() + \" bytes\");\n\t\t/* Load the data */\n\t\tthis._dataLoadSize = this._dataLoadSize.addInt(fileContents.getTotalRequestSize());\n\t\tfileContents = await fileContents.load();\n\t\t//Message.print(MODULE,\"Creating \"+blockList.size()+\" blocks and \"+tileList.size()+\" tiles\");\n\t\t/* Load the levels */\n\t\tfor (let i: number = 0; i < levelList.size(); i++) {\n\t\t\t/* Load the block list */\n\t\t\tlet level: Level = levelList.get(i);\n\t\t\tthis._levelsLoaded.set(level.getKey(), level);\n\t\t\tthis._levelsLoading.remove(level.getKey());\n\t\t\tlet blockIndexes: Array<BlockIndex> = this._pointCloudReader.readBlockIndexes(level.getIndex(), fileContents);\n\t\t\t/* Add the blocks */\n\t\t\tthis._fileTileIndex.setLevelBlocks(level, blockIndexes);\n\t\t}\n\t\t/* Load the blocks */\n\t\tfor (let i: number = 0; i < blockList.size(); i++) {\n\t\t\t/* Load the block */\n\t\t\tlet blockIndex: BlockIndex = blockList.get(i);\n\t\t\tthis._blocksLoaded.set(blockIndex.key, blockIndex);\n\t\t\tthis._blocksLoading.remove(blockIndex.key);\n\t\t\tlet tileIndexes: Array<TileIndex> = this._pointCloudReader.readTileIndexes(blockIndex, fileContents);\n\t\t\t/* Add the block */\n\t\t\tthis._fileTileIndex.setBlockTiles(blockIndex, tileIndexes);\n\t\t}\n\t\t/* Load the tiles */\n\t\tlet newTiles: AList<TileIndex> = new AList<TileIndex>();\n\t\tfor (let i: number = 0; i < loadTileCount; i++) {\n\t\t\t/* Get the next tile */\n\t\t\tlet tileIndex: TileIndex = tileList.get(i);\n\t\t\tnewTiles.add(tileIndex);\n\t\t\t/* Load the tile */\n\t\t\tthis._tilesLoaded.set(tileIndex.key, tileIndex);\n\t\t\tthis._tilesLoading.remove(tileIndex.key);\n\t\t\tlet pointData: PointData = this._pointCloudReader.readPointData(tileIndex, this._dataFormat, loadTime, fileContents);\n\t\t\t/* Add the tile */\n\t\t\tthis._dataPool.set(tileIndex.key, pointData);\n\t\t}\n\t\t/* We stopped loading */\n\t\tthis._loadingData = false;\n\t\tthis._loadedDataTime = ASystem.time();\n\t\t/* Log */\n\t\tMessage.print(DataManager.MODULE, \"Created \" + blockList.size() + \" blocks and \" + loadTileCount + \" tiles\");\n\t\t/* Return the frame data */\n\t\treturn frameData;\n\t}\n\n\t/**\n\t * Do a garbage collect (this method can be called often, it throttles itself to once per minute).\n\t * @param time the current time.\n\t */\n\tpublic doGarbageCollect(time: float64): void {\n\t\t/* First call? */\n\t\tif (this._lastGarbageCollectTime == 0.0) this._lastGarbageCollectTime = time;\n\t\t/* Throttle to one per minute */\n\t\tif (time < this._lastGarbageCollectTime + 60.0) return;\n\t\tthis._lastGarbageCollectTime = time;\n\t\t/* Define the expire time */\n\t\tlet expireTime: float64 = (time - DataManager.POINT_DATA_EXIRE_TIME);\n\t\t/* Check all loaded tiles */\n\t\tlet dropCount: int32 = 0;\n\t\tlet dataKeys: AList<string> = this._dataPool.keys();\n\t\tfor (let i: number = 0; i < dataKeys.size(); i++) {\n\t\t\t/* Get the next tile */\n\t\t\tlet tileKey: string = dataKeys.get(i);\n\t\t\tlet pointData: PointData = this._dataPool.get(tileKey);\n\t\t\t/* Expired? */\n\t\t\tif (pointData.tileIndex.accessTime < expireTime) {\n\t\t\t\tthis._dataPool.remove(tileKey);\n\t\t\t\tthis._tilesLoaded.remove(tileKey);\n\t\t\t\tdropCount++;\n\t\t\t}\n\t\t}\n\t\t/* Log? */\n\t\tif (dropCount > 0) Message.print(DataManager.MODULE, \"Dropped the point data of \" + dropCount + \" tiles\");\n\t}\n}\n"]}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module OrbitGT
|
|
3
|
-
*/
|
|
4
|
-
import { AList } from "../../system/collection/AList";
|
|
5
|
-
import { BlockIndex } from "../model/BlockIndex";
|
|
6
|
-
import { PointData } from "../model/PointData";
|
|
7
|
-
import { TileIndex } from "../model/TileIndex";
|
|
8
|
-
import { Level } from "./Level";
|
|
9
|
-
/**
|
|
10
|
-
* Class FrameData bundles the data needed to render a certain view, some data is available, some data needs to be loaded.
|
|
11
|
-
*/
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare class FrameData {
|
|
14
|
-
/** The list of tiles that have been loaded and need to be rendered */
|
|
15
|
-
tilesToRender: AList<PointData>;
|
|
16
|
-
/** The levels of which the block indexes need to be loaded */
|
|
17
|
-
levelsToLoad: AList<Level>;
|
|
18
|
-
/** The blocks of which the tile indexes need to be loaded */
|
|
19
|
-
blocksToLoad: AList<BlockIndex>;
|
|
20
|
-
/** The tiles of which the points need to be loaded */
|
|
21
|
-
tilesToLoad: AList<TileIndex>;
|
|
22
|
-
/**
|
|
23
|
-
* Create a new frame data holder.
|
|
24
|
-
*/
|
|
25
|
-
constructor();
|
|
26
|
-
/**
|
|
27
|
-
* Is frame data missing? (so a data load is needed).
|
|
28
|
-
*/
|
|
29
|
-
hasMissingData(): boolean;
|
|
30
|
-
}
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
import { AList } from "../../system/collection/AList";
|
|
5
|
+
import { BlockIndex } from "../model/BlockIndex";
|
|
6
|
+
import { PointData } from "../model/PointData";
|
|
7
|
+
import { TileIndex } from "../model/TileIndex";
|
|
8
|
+
import { Level } from "./Level";
|
|
9
|
+
/**
|
|
10
|
+
* Class FrameData bundles the data needed to render a certain view, some data is available, some data needs to be loaded.
|
|
11
|
+
*/
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare class FrameData {
|
|
14
|
+
/** The list of tiles that have been loaded and need to be rendered */
|
|
15
|
+
tilesToRender: AList<PointData>;
|
|
16
|
+
/** The levels of which the block indexes need to be loaded */
|
|
17
|
+
levelsToLoad: AList<Level>;
|
|
18
|
+
/** The blocks of which the tile indexes need to be loaded */
|
|
19
|
+
blocksToLoad: AList<BlockIndex>;
|
|
20
|
+
/** The tiles of which the points need to be loaded */
|
|
21
|
+
tilesToLoad: AList<TileIndex>;
|
|
22
|
+
/**
|
|
23
|
+
* Create a new frame data holder.
|
|
24
|
+
*/
|
|
25
|
+
constructor();
|
|
26
|
+
/**
|
|
27
|
+
* Is frame data missing? (so a data load is needed).
|
|
28
|
+
*/
|
|
29
|
+
hasMissingData(): boolean;
|
|
30
|
+
}
|
|
31
31
|
//# sourceMappingURL=FrameData.d.ts.map
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module OrbitGT
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.FrameData = void 0;
|
|
11
|
-
const AList_1 = require("../../system/collection/AList");
|
|
12
|
-
/**
|
|
13
|
-
* Class FrameData bundles the data needed to render a certain view, some data is available, some data needs to be loaded.
|
|
14
|
-
*/
|
|
15
|
-
/** @internal */
|
|
16
|
-
class FrameData {
|
|
17
|
-
/**
|
|
18
|
-
* Create a new frame data holder.
|
|
19
|
-
*/
|
|
20
|
-
constructor() {
|
|
21
|
-
this.tilesToRender = new AList_1.AList();
|
|
22
|
-
this.levelsToLoad = new AList_1.AList();
|
|
23
|
-
this.blocksToLoad = new AList_1.AList();
|
|
24
|
-
this.tilesToLoad = new AList_1.AList();
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Is frame data missing? (so a data load is needed).
|
|
28
|
-
*/
|
|
29
|
-
hasMissingData() {
|
|
30
|
-
if (this.levelsToLoad.size() > 0)
|
|
31
|
-
return true;
|
|
32
|
-
if (this.blocksToLoad.size() > 0)
|
|
33
|
-
return true;
|
|
34
|
-
if (this.tilesToLoad.size() > 0)
|
|
35
|
-
return true;
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.FrameData = FrameData;
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module OrbitGT
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.FrameData = void 0;
|
|
11
|
+
const AList_1 = require("../../system/collection/AList");
|
|
12
|
+
/**
|
|
13
|
+
* Class FrameData bundles the data needed to render a certain view, some data is available, some data needs to be loaded.
|
|
14
|
+
*/
|
|
15
|
+
/** @internal */
|
|
16
|
+
class FrameData {
|
|
17
|
+
/**
|
|
18
|
+
* Create a new frame data holder.
|
|
19
|
+
*/
|
|
20
|
+
constructor() {
|
|
21
|
+
this.tilesToRender = new AList_1.AList();
|
|
22
|
+
this.levelsToLoad = new AList_1.AList();
|
|
23
|
+
this.blocksToLoad = new AList_1.AList();
|
|
24
|
+
this.tilesToLoad = new AList_1.AList();
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Is frame data missing? (so a data load is needed).
|
|
28
|
+
*/
|
|
29
|
+
hasMissingData() {
|
|
30
|
+
if (this.levelsToLoad.size() > 0)
|
|
31
|
+
return true;
|
|
32
|
+
if (this.blocksToLoad.size() > 0)
|
|
33
|
+
return true;
|
|
34
|
+
if (this.tilesToLoad.size() > 0)
|
|
35
|
+
return true;
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.FrameData = FrameData;
|
|
40
40
|
//# sourceMappingURL=FrameData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrameData.js","sourceRoot":"","sources":["../../../../src/pointcloud/render/FrameData.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAWH,yDAAsD;AAMtD;;GAEG;AACH,gBAAgB;AAChB,MAAa,SAAS;IAUlB;;OAEG;IACH;QACI,IAAI,CAAC,aAAa,GAAG,IAAI,aAAK,EAAa,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,aAAK,EAAS,CAAC;QACvC,IAAI,CAAC,YAAY,GAAG,IAAI,aAAK,EAAc,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,IAAI,aAAK,EAAa,CAAC;IAC9C,CAAC;IAED;;OAEG;IACI,cAAc;QACjB,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC;QAC9C,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC;QAC9C,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC;QAC7C,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AA7BD,8BA6BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\
|
|
1
|
+
{"version":3,"file":"FrameData.js","sourceRoot":"","sources":["../../../../src/pointcloud/render/FrameData.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAWH,yDAAsD;AAMtD;;GAEG;AACH,gBAAgB;AAChB,MAAa,SAAS;IAUlB;;OAEG;IACH;QACI,IAAI,CAAC,aAAa,GAAG,IAAI,aAAK,EAAa,CAAC;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,aAAK,EAAS,CAAC;QACvC,IAAI,CAAC,YAAY,GAAG,IAAI,aAAK,EAAc,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,IAAI,aAAK,EAAa,CAAC;IAC9C,CAAC;IAED;;OAEG;IACI,cAAc;QACjB,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC;QAC9C,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC;QAC9C,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC;QAC7C,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AA7BD,8BA6BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module OrbitGT\n */\n\n//package orbitgt.pointcloud.render;\n\ntype int8 = number;\ntype int16 = number;\ntype int32 = number;\ntype float32 = number;\ntype float64 = number;\n\n\nimport { AList } from \"../../system/collection/AList\";\nimport { BlockIndex } from \"../model/BlockIndex\";\nimport { PointData } from \"../model/PointData\";\nimport { TileIndex } from \"../model/TileIndex\";\nimport { Level } from \"./Level\";\n\n/**\n * Class FrameData bundles the data needed to render a certain view, some data is available, some data needs to be loaded.\n */\n/** @internal */\nexport class FrameData {\n /** The list of tiles that have been loaded and need to be rendered */\n public tilesToRender: AList<PointData>;\n /** The levels of which the block indexes need to be loaded */\n public levelsToLoad: AList<Level>;\n /** The blocks of which the tile indexes need to be loaded */\n public blocksToLoad: AList<BlockIndex>;\n /** The tiles of which the points need to be loaded */\n public tilesToLoad: AList<TileIndex>;\n\n /**\n * Create a new frame data holder.\n */\n public constructor() {\n this.tilesToRender = new AList<PointData>();\n this.levelsToLoad = new AList<Level>();\n this.blocksToLoad = new AList<BlockIndex>();\n this.tilesToLoad = new AList<TileIndex>();\n }\n\n /**\n * Is frame data missing? (so a data load is needed).\n */\n public hasMissingData(): boolean {\n if (this.levelsToLoad.size() > 0) return true;\n if (this.blocksToLoad.size() > 0) return true;\n if (this.tilesToLoad.size() > 0) return true;\n return false;\n }\n}\n"]}
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module OrbitGT
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { BlockIndex } from "../model/BlockIndex";
|
|
6
|
-
import { Grid } from "../model/Grid";
|
|
7
|
-
import { GridIndex } from "../model/GridIndex";
|
|
8
|
-
import { Block } from "./Block";
|
|
9
|
-
/**
|
|
10
|
-
* Class Level defines a resolution level of a pointcloud.
|
|
11
|
-
*
|
|
12
|
-
* @version 1.0 November 2015
|
|
13
|
-
*/
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare class Level {
|
|
16
|
-
/** The index of the level */
|
|
17
|
-
private _index;
|
|
18
|
-
/** The unique key of the level */
|
|
19
|
-
private _key;
|
|
20
|
-
/** The grid of the blocks */
|
|
21
|
-
private _blockGrid;
|
|
22
|
-
/** The grid of the tiles */
|
|
23
|
-
private _tileGrid;
|
|
24
|
-
/** The list of blocks */
|
|
25
|
-
private _blockList;
|
|
26
|
-
/** The map of blocks */
|
|
27
|
-
private _blockMap;
|
|
28
|
-
/**
|
|
29
|
-
* Create a new level.
|
|
30
|
-
* @param index the index of the level.
|
|
31
|
-
* @param blockGrid the grid of the blocks.
|
|
32
|
-
* @param tileGrid the grid of the tiles.
|
|
33
|
-
* @param blockList the list of blocks.
|
|
34
|
-
*/
|
|
35
|
-
constructor(index: int32, blockGrid: Grid, tileGrid: Grid, blockList: Array<Block>);
|
|
36
|
-
/**
|
|
37
|
-
* Set the block list.
|
|
38
|
-
* @param blockList the list of blocks.
|
|
39
|
-
*/
|
|
40
|
-
setBlockList(blockList: Array<Block>): void;
|
|
41
|
-
/**
|
|
42
|
-
* Get the index of the level.
|
|
43
|
-
* @return the index of the level.
|
|
44
|
-
*/
|
|
45
|
-
getIndex(): int32;
|
|
46
|
-
/**
|
|
47
|
-
* Get the unique key of the level.
|
|
48
|
-
* @return the unique key of the level.
|
|
49
|
-
*/
|
|
50
|
-
getKey(): string;
|
|
51
|
-
/**
|
|
52
|
-
* Get the block grid.
|
|
53
|
-
* @return the block grid.
|
|
54
|
-
*/
|
|
55
|
-
getBlockGrid(): Grid;
|
|
56
|
-
/**
|
|
57
|
-
* Get the tile grid.
|
|
58
|
-
* @return the tile grid.
|
|
59
|
-
*/
|
|
60
|
-
getTileGrid(): Grid;
|
|
61
|
-
/**
|
|
62
|
-
* List all blocks.
|
|
63
|
-
* @return all blocks.
|
|
64
|
-
*/
|
|
65
|
-
getBlocks(): Array<Block>;
|
|
66
|
-
/**
|
|
67
|
-
* Get the number of blocks.
|
|
68
|
-
* @return the number of blocks.
|
|
69
|
-
*/
|
|
70
|
-
getBlockCount(): int32;
|
|
71
|
-
/**
|
|
72
|
-
* Find a block.
|
|
73
|
-
* @param blockIndex the index of the block to find.
|
|
74
|
-
* @return the block.
|
|
75
|
-
*/
|
|
76
|
-
findBlock(blockIndex: BlockIndex): Block;
|
|
77
|
-
/**
|
|
78
|
-
* Find a block index.
|
|
79
|
-
* @param blockIndex the index of the block to find.
|
|
80
|
-
* @return the block (can be null).
|
|
81
|
-
*/
|
|
82
|
-
findBlockGridIndex(blockIndex: GridIndex): Block;
|
|
83
|
-
/**
|
|
84
|
-
* Find the block for a tile.
|
|
85
|
-
* @param tileGridIndex the grid index of the tile.
|
|
86
|
-
* @return the block (can be null).
|
|
87
|
-
*/
|
|
88
|
-
findBlockForTile(tileGridIndex: GridIndex): Block;
|
|
89
|
-
}
|
|
90
|
-
export {};
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module OrbitGT
|
|
3
|
+
*/
|
|
4
|
+
type int32 = number;
|
|
5
|
+
import { BlockIndex } from "../model/BlockIndex";
|
|
6
|
+
import { Grid } from "../model/Grid";
|
|
7
|
+
import { GridIndex } from "../model/GridIndex";
|
|
8
|
+
import { Block } from "./Block";
|
|
9
|
+
/**
|
|
10
|
+
* Class Level defines a resolution level of a pointcloud.
|
|
11
|
+
*
|
|
12
|
+
* @version 1.0 November 2015
|
|
13
|
+
*/
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare class Level {
|
|
16
|
+
/** The index of the level */
|
|
17
|
+
private _index;
|
|
18
|
+
/** The unique key of the level */
|
|
19
|
+
private _key;
|
|
20
|
+
/** The grid of the blocks */
|
|
21
|
+
private _blockGrid;
|
|
22
|
+
/** The grid of the tiles */
|
|
23
|
+
private _tileGrid;
|
|
24
|
+
/** The list of blocks */
|
|
25
|
+
private _blockList;
|
|
26
|
+
/** The map of blocks */
|
|
27
|
+
private _blockMap;
|
|
28
|
+
/**
|
|
29
|
+
* Create a new level.
|
|
30
|
+
* @param index the index of the level.
|
|
31
|
+
* @param blockGrid the grid of the blocks.
|
|
32
|
+
* @param tileGrid the grid of the tiles.
|
|
33
|
+
* @param blockList the list of blocks.
|
|
34
|
+
*/
|
|
35
|
+
constructor(index: int32, blockGrid: Grid, tileGrid: Grid, blockList: Array<Block>);
|
|
36
|
+
/**
|
|
37
|
+
* Set the block list.
|
|
38
|
+
* @param blockList the list of blocks.
|
|
39
|
+
*/
|
|
40
|
+
setBlockList(blockList: Array<Block>): void;
|
|
41
|
+
/**
|
|
42
|
+
* Get the index of the level.
|
|
43
|
+
* @return the index of the level.
|
|
44
|
+
*/
|
|
45
|
+
getIndex(): int32;
|
|
46
|
+
/**
|
|
47
|
+
* Get the unique key of the level.
|
|
48
|
+
* @return the unique key of the level.
|
|
49
|
+
*/
|
|
50
|
+
getKey(): string;
|
|
51
|
+
/**
|
|
52
|
+
* Get the block grid.
|
|
53
|
+
* @return the block grid.
|
|
54
|
+
*/
|
|
55
|
+
getBlockGrid(): Grid;
|
|
56
|
+
/**
|
|
57
|
+
* Get the tile grid.
|
|
58
|
+
* @return the tile grid.
|
|
59
|
+
*/
|
|
60
|
+
getTileGrid(): Grid;
|
|
61
|
+
/**
|
|
62
|
+
* List all blocks.
|
|
63
|
+
* @return all blocks.
|
|
64
|
+
*/
|
|
65
|
+
getBlocks(): Array<Block>;
|
|
66
|
+
/**
|
|
67
|
+
* Get the number of blocks.
|
|
68
|
+
* @return the number of blocks.
|
|
69
|
+
*/
|
|
70
|
+
getBlockCount(): int32;
|
|
71
|
+
/**
|
|
72
|
+
* Find a block.
|
|
73
|
+
* @param blockIndex the index of the block to find.
|
|
74
|
+
* @return the block.
|
|
75
|
+
*/
|
|
76
|
+
findBlock(blockIndex: BlockIndex): Block;
|
|
77
|
+
/**
|
|
78
|
+
* Find a block index.
|
|
79
|
+
* @param blockIndex the index of the block to find.
|
|
80
|
+
* @return the block (can be null).
|
|
81
|
+
*/
|
|
82
|
+
findBlockGridIndex(blockIndex: GridIndex): Block;
|
|
83
|
+
/**
|
|
84
|
+
* Find the block for a tile.
|
|
85
|
+
* @param tileGridIndex the grid index of the tile.
|
|
86
|
+
* @return the block (can be null).
|
|
87
|
+
*/
|
|
88
|
+
findBlockForTile(tileGridIndex: GridIndex): Block;
|
|
89
|
+
}
|
|
90
|
+
export {};
|
|
91
91
|
//# sourceMappingURL=Level.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Level.d.ts","sourceRoot":"","sources":["../../../../src/pointcloud/render/Level.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,
|
|
1
|
+
{"version":3,"file":"Level.d.ts","sourceRoot":"","sources":["../../../../src/pointcloud/render/Level.ts"],"names":[],"mappings":"AAIA;;GAEG;AAMH,KAAK,KAAK,GAAG,MAAM,CAAC;AAMpB,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;GAIG;AACH,gBAAgB;AAChB,qBAAa,KAAK;IACjB,6BAA6B;IAC7B,OAAO,CAAC,MAAM,CAAQ;IACtB,kCAAkC;IAClC,OAAO,CAAC,IAAI,CAAS;IACrB,6BAA6B;IAC7B,OAAO,CAAC,UAAU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