@idetik/core 0.7.5 → 0.7.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/dist/index.d.ts CHANGED
@@ -191,10 +191,10 @@ declare class ChunkStore {
191
191
  getLowestResLOD(): number;
192
192
  loadChunkData(chunk: Chunk, signal: AbortSignal): Promise<void>;
193
193
  createView(policy: ImageSourcePolicy): ChunkStoreView;
194
- removeView(view: ChunkStoreView): void;
195
194
  get views(): ReadonlyArray<ChunkStoreView>;
196
195
  canDispose(): boolean;
197
196
  updateAndCollectChunkChanges(): Set<Chunk>;
197
+ private removeDisposedViews;
198
198
  private aggregateChunkViewStates;
199
199
  private validateXYScaleRatios;
200
200
  private getAndValidateTimeDimension;
@@ -536,15 +536,17 @@ declare class ChunkStoreView {
536
536
  private lastTCoord_?;
537
537
  private sourceMaxSquareDistance2D_;
538
538
  private readonly chunkViewStates_;
539
+ private isDisposed_;
539
540
  constructor(store: ChunkStore, policy: ImageSourcePolicy);
540
541
  get chunkViewStates(): ReadonlyMap<Chunk, ChunkViewState>;
542
+ get isDisposed(): boolean;
541
543
  getChunksAtTime(timeIndex: number): Chunk[];
542
544
  getTimeIndex(sliceCoords: SliceCoordinates): number;
543
545
  get lodCount(): number;
544
546
  getChunksToRender(sliceCoords: SliceCoordinates): Chunk[];
545
547
  updateChunkStatesForVolume(sliceCoords: SliceCoordinates): void;
546
548
  updateChunkStates(sliceCoords: SliceCoordinates, viewport: Viewport): void;
547
- allVisibleLowestLODLoaded(sliceCoords: SliceCoordinates): boolean;
549
+ allVisibleFallbackLODLoaded(sliceCoords: SliceCoordinates): boolean;
548
550
  get currentLOD(): number;
549
551
  maybeForgetChunk(chunk: Chunk): void;
550
552
  dispose(): void;
@@ -556,6 +558,7 @@ declare class ChunkStoreView {
556
558
  private markTimeChunksForPrefetch;
557
559
  private computePriority;
558
560
  private isChunkWithinBounds;
561
+ private fallbackLOD;
559
562
  private getZBounds;
560
563
  private viewBounds2DChanged;
561
564
  private zBoundsChanged;