gps-plus-slam-app-framework 1.0.0 → 1.0.7
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/LICENSE +4 -4
- package/README.md +249 -108
- package/dist/accuracy-circles-CsxE_7x1.d.ts +43 -0
- package/dist/{app-selectors-DyMzxCEC.d.ts → app-selectors-BeU0_ab8.d.ts} +14 -15
- package/dist/ar/camera-blit-capture.d.ts +1 -1
- package/dist/ar/capture-failure-tracker.d.ts +1 -1
- package/dist/ar/chromium-camera-access-workaround.d.ts +1 -1
- package/dist/ar/depth-sampler.d.ts +2 -2
- package/dist/ar/depth-sampler.js +1 -1
- package/dist/ar/frame-loop.d.ts +2 -0
- package/dist/ar/frame-loop.js +40 -0
- package/dist/ar/image-capture.d.ts +1 -1
- package/dist/ar/image-capture.js +1 -1
- package/dist/ar/index.d.ts +12 -12
- package/dist/ar/index.js +3 -3
- package/dist/ar/replay-scene.d.ts +1 -1
- package/dist/ar/scene-node-names.d.ts +1 -1
- package/dist/ar/webxr-session.d.ts +4 -4
- package/dist/ar/webxr-session.js +151 -56
- package/dist/ar/xr-camera-texture.d.ts +1 -1
- package/dist/ar/xr-error-handler.d.ts +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +2 -0
- package/dist/create-slam-app-store-CNsZ3rcX.d.ts +371 -0
- package/dist/{depth-sampler-BNCtnEoP.d.ts → depth-sampler-xg8vna6c.d.ts} +1 -1
- package/dist/file-system-DTApEv_Q.d.ts +114 -0
- package/dist/frame-loop-QJIxLin0.d.ts +42 -0
- package/dist/frustum-visibility-BHnFrSKQ.d.ts +58 -0
- package/dist/{fused-path-DtqCSqJh.d.ts → fused-path-CB4DwWOG.d.ts} +1 -1
- package/dist/geo/h3-proximity.d.ts +2 -0
- package/dist/{ref-points/h3-ref-point.js → geo/h3-proximity.js} +16 -12
- package/dist/geo/index.d.ts +2 -0
- package/dist/geo/index.js +2 -0
- package/dist/{geo-types-Xx-LVcnw.d.ts → geo-types-CTuF23gG.d.ts} +16 -1
- package/dist/{gps-Ddzr2KlX.d.ts → gps-DXoQb9Kf.d.ts} +1 -1
- package/dist/gps-anchor-CnWY61XK.d.ts +48 -0
- package/dist/gps-anchor-DjC_3MoT.js +257 -0
- package/dist/gps-ar-pose-sampler-DsM1Kb2N.d.ts +43 -0
- package/dist/{recording-coordinator-DzflP07_.d.ts → gps-event-coordinator-DBx9I1YX.d.ts} +7 -6
- package/dist/gps-event-markers-BGr-iLvi.d.ts +103 -0
- package/dist/{h3-ref-point-CFhayNSZ.d.ts → h3-proximity-BhfgNbdW.d.ts} +16 -12
- package/dist/{image-capture-2pKjYUS6.d.ts → image-capture-DZLxHDN9.d.ts} +1 -1
- package/dist/index-gzWJMVpo.d.ts +2 -0
- package/dist/index-pOjUCKEP.d.ts +24 -0
- package/dist/index.d.ts +59 -56
- package/dist/index.js +22 -21
- package/dist/{leaflet-map-overlay-CvfQXTye.d.ts → leaflet-map-overlay-Cew7XAoO.d.ts} +32 -17
- package/dist/licensing/index.d.ts +1 -1
- package/dist/licensing/index.js +1 -1
- package/dist/{logger-B81iwxx0.d.ts → logger-C9vugiQb.d.ts} +7 -1
- package/dist/map-data-sih4g64v.d.ts +49 -0
- package/dist/map-overlay-draw-B3R1c9Xp.d.ts +42 -0
- package/dist/{null-storage-backend-CsWvQwN8.d.ts → null-storage-backend-BKOS7JpL.d.ts} +4 -2
- package/dist/{opfs-storage-ChOzF_Wp.d.ts → opfs-storage-DOPkzgeT.d.ts} +54 -51
- package/dist/opfs-storage-backend-Cj_7PWoq.d.ts +13 -0
- package/dist/{permission-checker-jO2ziCWC.d.ts → permission-checker-DPJl_RU6.d.ts} +41 -1
- package/dist/persistence-middleware-BkHIqvaA.d.ts +55 -0
- package/dist/{recording-replayer-oOzPITrd.d.ts → recording-replayer-CmCIIZ02.d.ts} +2 -2
- package/dist/recording-slice-d6OtCrza.d.ts +28 -0
- package/dist/{replay-engine-DuX316ae.d.ts → replay-engine-BGBRQyXs.d.ts} +4 -1
- package/dist/{replay-scene-DtUm6bsr.d.ts → replay-scene-DpAGcAKY.d.ts} +3 -3
- package/dist/sensors/gps-error-handler.d.ts +1 -1
- package/dist/sensors/gps.d.ts +1 -1
- package/dist/sensors/gps.js +2 -2
- package/dist/sensors/index.d.ts +3 -3
- package/dist/sensors/index.js +1 -1
- package/dist/sensors/permission-checker.d.ts +2 -2
- package/dist/sensors/permission-checker.js +79 -1
- package/dist/state/app-selectors.d.ts +2 -2
- package/dist/state/app-selectors.js +33 -3
- package/dist/state/combined-root-state.d.ts +2 -0
- package/dist/state/combined-root-state.js +1 -0
- package/dist/state/create-slam-app-store.d.ts +2 -0
- package/dist/state/create-slam-app-store.js +75 -0
- package/dist/state/gps-ar-pose-sampler.d.ts +4 -0
- package/dist/state/gps-ar-pose-sampler.js +19 -0
- package/dist/state/{recording-coordinator.d.ts → gps-event-coordinator.d.ts} +1 -1
- package/dist/state/{recording-coordinator.js → gps-event-coordinator.js} +3 -4
- package/dist/state/index.d.ts +17 -17
- package/dist/state/index.js +10 -8
- package/dist/state/persistence-middleware.d.ts +2 -2
- package/dist/state/persistence-middleware.js +39 -11
- package/dist/state/recording-options.d.ts +1 -1
- package/dist/state/recording-replayer.d.ts +3 -2
- package/dist/state/recording-replayer.js +2 -2
- package/dist/state/recording-slice.d.ts +2 -0
- package/dist/state/{recorder-slice.js → recording-slice.js} +7 -15
- package/dist/state/replay-engine.d.ts +1 -1
- package/dist/state/replay-engine.js +3 -3
- package/dist/state/store-subscribers.d.ts +2 -2
- package/dist/state/store-subscribers.js +38 -20
- package/dist/state/subscribe-to-selector.d.ts +1 -1
- package/dist/state/tracking-quality.d.ts +2 -0
- package/dist/state/tracking-quality.js +723 -0
- package/dist/state/tracking-slice.d.ts +2 -0
- package/dist/state/tracking-slice.js +147 -0
- package/dist/storage/file-system-utils.d.ts +1 -1
- package/dist/storage/file-system.d.ts +2 -2
- package/dist/storage/file-system.js +154 -94
- package/dist/storage/index.d.ts +9 -11
- package/dist/storage/index.js +5 -7
- package/dist/storage/null-storage-backend.d.ts +1 -1
- package/dist/storage/null-storage-backend.js +7 -0
- package/dist/storage/opfs-storage-backend.d.ts +1 -1
- package/dist/storage/opfs-storage-backend.js +7 -1
- package/dist/storage/opfs-storage.d.ts +2 -2
- package/dist/storage/opfs-storage.js +69 -85
- package/dist/storage/storage-backend.d.ts +2 -2
- package/dist/storage/zip-export.d.ts +2 -2
- package/dist/storage/zip-export.js +55 -62
- package/dist/storage/zip-reader.d.ts +2 -2
- package/dist/storage/zip-reader.js +32 -5
- package/dist/storage-backend-CT0Il_AB.d.ts +28 -0
- package/dist/{store-subscribers-CuoIzB5T.d.ts → store-subscribers-Dce_CoJF.d.ts} +31 -7
- package/dist/{subscribe-to-selector-UTZ0KkAc.d.ts → subscribe-to-selector-DIHm3BRZ.d.ts} +1 -1
- package/dist/test-utils/browser-mocks.d.ts +1 -1
- package/dist/test-utils/zip-round-trip-helpers.d.ts +7 -1
- package/dist/test-utils/zip-round-trip-helpers.js +6 -5
- package/dist/tracking-slice-utCNND8t.d.ts +86 -0
- package/dist/types/ar-types.d.ts +1 -1
- package/dist/types/geo-types.d.ts +2 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/concurrency.d.ts +1 -1
- package/dist/utils/failure-tracker.d.ts +1 -1
- package/dist/utils/format-file-size.d.ts +1 -1
- package/dist/utils/fused-path.d.ts +1 -1
- package/dist/utils/index.d.ts +6 -6
- package/dist/utils/list-formatter.d.ts +1 -1
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils/logger.js +68 -8
- package/dist/visualization/accuracy-circles.d.ts +2 -0
- package/dist/visualization/accuracy-circles.js +57 -0
- package/dist/visualization/alignment-lerper.d.ts +1 -1
- package/dist/visualization/camera-follower.d.ts +1 -1
- package/dist/visualization/css3d-renderer-manager.d.ts +1 -1
- package/dist/visualization/frustum-visibility.d.ts +2 -0
- package/dist/visualization/frustum-visibility.js +139 -0
- package/dist/visualization/gps-anchor.d.ts +2 -0
- package/dist/visualization/gps-anchor.js +2 -0
- package/dist/visualization/gps-compass-cubes.d.ts +1 -1
- package/dist/visualization/gps-event-markers.d.ts +2 -2
- package/dist/visualization/gps-event-markers.js +69 -2
- package/dist/visualization/index.d.ts +17 -12
- package/dist/visualization/index.js +6 -2
- package/dist/visualization/leaflet-map-overlay.d.ts +1 -1
- package/dist/visualization/leaflet-map-overlay.js +56 -98
- package/dist/visualization/lerp-utils.d.ts +1 -1
- package/dist/visualization/map-data.d.ts +2 -0
- package/dist/visualization/map-data.js +33 -0
- package/dist/visualization/map-overlay-draw.d.ts +2 -0
- package/dist/visualization/map-overlay-draw.js +107 -0
- package/dist/visualization/map-overlay.d.ts +1 -1
- package/dist/visualization/three-dispose.d.ts +1 -1
- package/dist/visualization/vis-colors.d.ts +1 -1
- package/dist/{webxr-session-COlSrXdL.d.ts → webxr-session-DB5cIZnN.d.ts} +53 -12
- package/dist/{zip-export-Rtpi75JJ.d.ts → zip-export-QO4iLIi7.d.ts} +58 -7
- package/dist/{zip-reader-D7pkpX8K.d.ts → zip-reader-D1105idz.d.ts} +38 -1
- package/package.json +29 -18
- package/dist/ar/tracking-state.d.ts +0 -2
- package/dist/ar/tracking-state.js +0 -164
- package/dist/community-license-key-ChZLCJyO.d.ts +0 -21
- package/dist/file-system-BsQgYCU3.d.ts +0 -128
- package/dist/gps-event-markers-DpEy2qRd.d.ts +0 -67
- package/dist/licensing/community-license-key.d.ts +0 -2
- package/dist/licensing/community-license-key.js +0 -21
- package/dist/opfs-storage-backend-CVcmfJHN.d.ts +0 -11
- package/dist/persistence-middleware-DrptY02i.d.ts +0 -31
- package/dist/recorder-slice-fcwAXrsh.d.ts +0 -35
- package/dist/ref-point-importer-B_wn5ABk.d.ts +0 -62
- package/dist/ref-point-loader-Pt1smgHS.d.ts +0 -117
- package/dist/ref-points/h3-ref-point.d.ts +0 -2
- package/dist/ref-points/index.d.ts +0 -2
- package/dist/ref-points/index.js +0 -2
- package/dist/ref-points-slice-tC-Wd6XJ.d.ts +0 -48
- package/dist/reference-points-CFWy8_wj.d.ts +0 -68
- package/dist/routing-slice-BlHTM8eh.d.ts +0 -23
- package/dist/state/recorder-slice.d.ts +0 -2
- package/dist/state/ref-points-slice.d.ts +0 -2
- package/dist/state/ref-points-slice.js +0 -44
- package/dist/state/routing-slice.d.ts +0 -2
- package/dist/state/routing-slice.js +0 -13
- package/dist/state/store.d.ts +0 -9
- package/dist/state/store.js +0 -71
- package/dist/storage/ref-point-importer.d.ts +0 -2
- package/dist/storage/ref-point-importer.js +0 -163
- package/dist/storage/ref-point-loader.d.ts +0 -2
- package/dist/storage/ref-point-loader.js +0 -248
- package/dist/storage/ref-point-recovery.d.ts +0 -28
- package/dist/storage/ref-point-recovery.js +0 -159
- package/dist/storage-backend-BcEItnFr.d.ts +0 -20
- package/dist/store-C7PKOj8S.d.ts +0 -96
- package/dist/tracking-state-B9QfuZCg.d.ts +0 -101
- package/dist/visualization/reference-points.d.ts +0 -2
- package/dist/visualization/reference-points.js +0 -160
- /package/dist/{alignment-lerper-D9BeDwZX.d.ts → alignment-lerper-L1RbWHQ4.d.ts} +0 -0
- /package/dist/{ar-types-B-ORgk6Z.d.ts → ar-types-Ck8LEq8k.d.ts} +0 -0
- /package/dist/{camera-blit-capture-DHuyrrxr.d.ts → camera-blit-capture-C1V9I1Z6.d.ts} +0 -0
- /package/dist/{camera-follower-BMqPddxx.d.ts → camera-follower-1k8mnw5J.d.ts} +0 -0
- /package/dist/{capture-failure-tracker-2Q6oI2uQ.d.ts → capture-failure-tracker-JKb1ST8E.d.ts} +0 -0
- /package/dist/{chromium-camera-access-workaround-CU5zSKNr.d.ts → chromium-camera-access-workaround-NvChXsi8.d.ts} +0 -0
- /package/dist/{concurrency-p6gB30fT.d.ts → concurrency-CMw8pSaG.d.ts} +0 -0
- /package/dist/{css3d-renderer-manager-rgLMVAvd.d.ts → css3d-renderer-manager-CkjCb2HW.d.ts} +0 -0
- /package/dist/{failure-tracker-1sQ_Cgyw.d.ts → failure-tracker-DnHXOIRa.d.ts} +0 -0
- /package/dist/{file-system-utils-5cWO8Xyv.d.ts → file-system-utils-CtKiiw27.d.ts} +0 -0
- /package/dist/{format-file-size-onGq0k1Q.d.ts → format-file-size-BTS5H62-.d.ts} +0 -0
- /package/dist/{gps-compass-cubes-C-6JEnpR.d.ts → gps-compass-cubes-CsLtFv4B.d.ts} +0 -0
- /package/dist/{gps-error-handler-VPuNOuf8.d.ts → gps-error-handler-Dg3ziRVY.d.ts} +0 -0
- /package/dist/{lerp-utils-87NWjUOD.d.ts → lerp-utils-B8MM8zCR.d.ts} +0 -0
- /package/dist/{list-formatter-DKQQVLcl.d.ts → list-formatter-CNqi-E2j.d.ts} +0 -0
- /package/dist/{map-overlay-DuiZuCTx.d.ts → map-overlay-DAmreyA3.d.ts} +0 -0
- /package/dist/{recording-options-BYUFX8iU.d.ts → recording-options-Dq6IsKAv.d.ts} +0 -0
- /package/dist/{scene-node-names-DPsaE2z3.d.ts → scene-node-names-6LBjPmwz.d.ts} +0 -0
- /package/dist/{three-dispose-CCBHjE_a.d.ts → three-dispose-C2drkp6f.d.ts} +0 -0
- /package/dist/{vis-colors-Qi2vlRGt.d.ts → vis-colors-CHQhjal3.d.ts} +0 -0
- /package/dist/{xr-camera-texture-BbukNE79.d.ts → xr-camera-texture-BU5YvKAM.d.ts} +0 -0
- /package/dist/{xr-error-handler-DTHfmvrl.d.ts → xr-error-handler-CDY5QxGb.d.ts} +0 -0
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { createLogger } from "../utils/logger.js";
|
|
2
|
-
import { disposeMeshArray } from "./three-dispose.js";
|
|
3
|
-
import { getScene } from "../ar/webxr-session.js";
|
|
4
|
-
import { VIS_COLORS } from "./vis-colors.js";
|
|
5
|
-
import * as THREE from "three";
|
|
6
|
-
import { calcRelativeCoordsInMeters } from "gps-plus-slam-js";
|
|
7
|
-
//#region ../src/visualization/reference-points.ts
|
|
8
|
-
/**
|
|
9
|
-
* Reference Point Visualizer
|
|
10
|
-
*
|
|
11
|
-
* Creates and manages Three.js meshes for visualizing reference points
|
|
12
|
-
* in GPS-aligned 3D space.
|
|
13
|
-
*
|
|
14
|
-
* ARCHITECTURE NOTE:
|
|
15
|
-
* - Prior reference points (green) are added to scene root (GPS world space)
|
|
16
|
-
* - Current session points (red) are also in GPS world space
|
|
17
|
-
* - Spheres stay in GPS coordinates, independent of alignment matrix
|
|
18
|
-
*/
|
|
19
|
-
const log = createLogger("RefPointVisualizer");
|
|
20
|
-
/** Sphere radius in meters (10cm) */
|
|
21
|
-
const REF_POINT_RADIUS = .1;
|
|
22
|
-
/**
|
|
23
|
-
* Manager for reference point visualization
|
|
24
|
-
*/
|
|
25
|
-
var RefPointVisualizer = class {
|
|
26
|
-
priorRefMeshes = [];
|
|
27
|
-
currentRefMeshes = [];
|
|
28
|
-
zeroRef = null;
|
|
29
|
-
/** Shared geometry for prior-session ref point meshes (lazy-created) */
|
|
30
|
-
priorRefGeometry = null;
|
|
31
|
-
/** Shared material for prior-session ref point meshes (lazy-created) */
|
|
32
|
-
priorRefMaterial = null;
|
|
33
|
-
/** Shared geometry for current-session ref point meshes (lazy-created) */
|
|
34
|
-
currentRefGeometry = null;
|
|
35
|
-
/**
|
|
36
|
-
* Set the GPS zero reference (origin for coordinate conversion).
|
|
37
|
-
* Must be called before displaying reference points.
|
|
38
|
-
*
|
|
39
|
-
* @param zero - GPS coordinates of the origin
|
|
40
|
-
*/
|
|
41
|
-
setZeroRef(zero) {
|
|
42
|
-
this.zeroRef = zero;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Get the current zero reference
|
|
46
|
-
*/
|
|
47
|
-
getZeroRef() {
|
|
48
|
-
return this.zeroRef;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Display reference points from prior sessions.
|
|
52
|
-
* Clears any existing prior ref points first.
|
|
53
|
-
*
|
|
54
|
-
* @param refPoints - Array of reference point marks to visualize
|
|
55
|
-
*/
|
|
56
|
-
displayPriorRefPoints(refPoints) {
|
|
57
|
-
if (!this.zeroRef) {
|
|
58
|
-
log.warn("No zero reference set");
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
const scene = getScene();
|
|
62
|
-
if (!scene) {
|
|
63
|
-
log.warn("Scene not available");
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
this.clearPriorRefPoints();
|
|
67
|
-
const geometry = this.priorRefGeometry ??= new THREE.SphereGeometry(REF_POINT_RADIUS, 16, 16);
|
|
68
|
-
const material = this.priorRefMaterial ??= new THREE.MeshBasicMaterial({ color: VIS_COLORS.PRIOR_REF_POINT.hex });
|
|
69
|
-
let visibleCount = 0;
|
|
70
|
-
for (const refPoint of refPoints) {
|
|
71
|
-
if (!refPoint.gpsPosition) continue;
|
|
72
|
-
const coords = calcRelativeCoordsInMeters(this.zeroRef, {
|
|
73
|
-
lat: refPoint.gpsPosition.lat,
|
|
74
|
-
lon: refPoint.gpsPosition.lon
|
|
75
|
-
}, refPoint.gpsPosition.altitude ?? 0, 0);
|
|
76
|
-
const mesh = new THREE.Mesh(geometry, material);
|
|
77
|
-
mesh.position.set(coords[0], coords[1], coords[2]);
|
|
78
|
-
mesh.name = `prior-ref-${refPoint.id}`;
|
|
79
|
-
scene.add(mesh);
|
|
80
|
-
this.priorRefMeshes.push(mesh);
|
|
81
|
-
visibleCount++;
|
|
82
|
-
}
|
|
83
|
-
log.info(`Displayed ${visibleCount}/${refPoints.length} prior reference points`);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Add a reference point from the current session.
|
|
87
|
-
*
|
|
88
|
-
* @param refPoint - Reference point mark to visualize
|
|
89
|
-
*/
|
|
90
|
-
addCurrentRefPoint(refPoint) {
|
|
91
|
-
if (!this.zeroRef || !refPoint.gpsPosition) {
|
|
92
|
-
log.warn("Cannot add current ref point - missing zero ref or GPS position");
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
const scene = getScene();
|
|
96
|
-
if (!scene) {
|
|
97
|
-
log.warn("Scene not available");
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
const coords = calcRelativeCoordsInMeters(this.zeroRef, {
|
|
101
|
-
lat: refPoint.gpsPosition.lat,
|
|
102
|
-
lon: refPoint.gpsPosition.lon
|
|
103
|
-
}, refPoint.gpsPosition.altitude ?? 0, 0);
|
|
104
|
-
const geometry = this.currentRefGeometry ??= new THREE.SphereGeometry(REF_POINT_RADIUS, 16, 16);
|
|
105
|
-
const material = new THREE.MeshBasicMaterial({ color: VIS_COLORS.CURRENT_REF_POINT.hex });
|
|
106
|
-
const mesh = new THREE.Mesh(geometry, material);
|
|
107
|
-
mesh.position.set(coords[0], coords[1], coords[2]);
|
|
108
|
-
mesh.name = `current-ref-${refPoint.id}`;
|
|
109
|
-
scene.add(mesh);
|
|
110
|
-
this.currentRefMeshes.push(mesh);
|
|
111
|
-
log.info(`Added current ref point: ${refPoint.id}`);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Clear all prior reference point meshes from the scene.
|
|
115
|
-
*/
|
|
116
|
-
clearPriorRefPoints() {
|
|
117
|
-
const scene = getScene();
|
|
118
|
-
disposeMeshArray(this.priorRefMeshes, scene, {
|
|
119
|
-
skipGeometry: true,
|
|
120
|
-
skipMaterial: true
|
|
121
|
-
});
|
|
122
|
-
this.priorRefGeometry?.dispose();
|
|
123
|
-
this.priorRefGeometry = null;
|
|
124
|
-
this.priorRefMaterial?.dispose();
|
|
125
|
-
this.priorRefMaterial = null;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Clear current session reference point meshes from the scene.
|
|
129
|
-
*/
|
|
130
|
-
clearCurrentRefPoints() {
|
|
131
|
-
const scene = getScene();
|
|
132
|
-
disposeMeshArray(this.currentRefMeshes, scene, { skipGeometry: true });
|
|
133
|
-
this.currentRefGeometry?.dispose();
|
|
134
|
-
this.currentRefGeometry = null;
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Clear all visualizations and reset state.
|
|
138
|
-
*/
|
|
139
|
-
clearAll() {
|
|
140
|
-
this.clearPriorRefPoints();
|
|
141
|
-
this.clearCurrentRefPoints();
|
|
142
|
-
this.zeroRef = null;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Get count of visible reference points.
|
|
146
|
-
*/
|
|
147
|
-
getCounts() {
|
|
148
|
-
return {
|
|
149
|
-
prior: this.priorRefMeshes.length,
|
|
150
|
-
current: this.currentRefMeshes.length
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* Singleton instance for global use.
|
|
156
|
-
* Import this to visualize reference points.
|
|
157
|
-
*/
|
|
158
|
-
const refPointVisualizer = new RefPointVisualizer();
|
|
159
|
-
//#endregion
|
|
160
|
-
export { RefPointVisualizer, refPointVisualizer };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{capture-failure-tracker-2Q6oI2uQ.d.ts → capture-failure-tracker-JKb1ST8E.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|