@idetik/core 0.7.8 → 0.9.0
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 +6 -3
- package/dist/index.js +1340 -1271
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +64 -47
- package/dist/index.umd.cjs.map +1 -1
- package/dist/types/src/core/chunk_store_view.d.ts +5 -2
- package/dist/types/src/core/chunk_store_view.d.ts.map +1 -1
- package/dist/types/src/layers/volume_layer.d.ts +1 -1
- package/dist/types/src/layers/volume_layer.d.ts.map +1 -1
- package/dist/types/src/objects/renderable/volume_renderable.d.ts +3 -0
- package/dist/types/src/objects/renderable/volume_renderable.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -532,6 +532,7 @@ declare class ChunkStoreView {
|
|
|
532
532
|
private policyChanged_;
|
|
533
533
|
private currentLOD_;
|
|
534
534
|
private lastViewBounds2D_;
|
|
535
|
+
private lastViewProjection_;
|
|
535
536
|
private lastZBounds_?;
|
|
536
537
|
private lastTCoord_?;
|
|
537
538
|
private sourceMaxSquareDistance2D_;
|
|
@@ -545,7 +546,7 @@ declare class ChunkStoreView {
|
|
|
545
546
|
get lodCount(): number;
|
|
546
547
|
getChunksToRender(sliceCoords: SliceCoordinates): Chunk[];
|
|
547
548
|
updateChunksForImage(sliceCoords: SliceCoordinates, viewport: Viewport): void;
|
|
548
|
-
updateChunksForVolume(sliceCoords: SliceCoordinates): void;
|
|
549
|
+
updateChunksForVolume(sliceCoords: SliceCoordinates, viewport: Viewport): void;
|
|
549
550
|
allVisibleFallbackLODLoaded(sliceCoords: SliceCoordinates): boolean;
|
|
550
551
|
get currentLOD(): number;
|
|
551
552
|
maybeForgetChunk(chunk: Chunk): void;
|
|
@@ -554,12 +555,14 @@ declare class ChunkStoreView {
|
|
|
554
555
|
private setLOD;
|
|
555
556
|
private isChunkChannelInSlice;
|
|
556
557
|
private updateChunksAtTimeIndex;
|
|
557
|
-
private
|
|
558
|
+
private markTimeChunksForPrefetchImage;
|
|
559
|
+
private markTimeChunksForPrefetchVolume;
|
|
558
560
|
private computePriority;
|
|
559
561
|
private isChunkWithinBounds;
|
|
560
562
|
private fallbackLOD;
|
|
561
563
|
private getZBounds;
|
|
562
564
|
private viewBounds2DChanged;
|
|
565
|
+
private hasViewProjectionChanged;
|
|
563
566
|
private zBoundsChanged;
|
|
564
567
|
private getPaddedBounds;
|
|
565
568
|
private squareDistance2D;
|
|
@@ -874,7 +877,7 @@ declare class VolumeLayer extends Layer {
|
|
|
874
877
|
private debugShowWireframes_;
|
|
875
878
|
debugShowDegenerateRays: boolean;
|
|
876
879
|
color: vec3;
|
|
877
|
-
|
|
880
|
+
relativeStepSize: number;
|
|
878
881
|
maxIntensity: number;
|
|
879
882
|
opacityMultiplier: number;
|
|
880
883
|
earlyTerminationAlpha: number;
|