@idetik/core 0.13.1 → 0.13.3
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/README.md +5 -11
- package/dist/index.d.ts +6 -5
- package/dist/index.js +723 -708
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +28 -28
- package/dist/index.umd.cjs.map +1 -1
- package/dist/types/src/core/renderable_object.d.ts +1 -1
- package/dist/types/src/core/renderable_object.d.ts.map +1 -1
- package/dist/types/src/layers/volume_layer.d.ts +5 -4
- package/dist/types/src/layers/volume_layer.d.ts.map +1 -1
- package/dist/types/src/objects/renderable/volume_renderable.d.ts +1 -1
- package/dist/types/src/objects/renderable/volume_renderable.d.ts.map +1 -1
- package/dist/types/src/renderers/webgl_renderer.d.ts.map +1 -1
- package/package.json +1 -1
- package/LICENSE.md +0 -21
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @idetik/core
|
|
2
2
|
|
|
3
|
-
A layer-based
|
|
3
|
+
A layer-based library for interactive visualization of large datasets.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -8,16 +8,10 @@ A layer-based visualization abstraction for interactive rendering of large datas
|
|
|
8
8
|
npm install @idetik/core
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Project Status
|
|
12
12
|
|
|
13
|
-
This
|
|
13
|
+
This project is under active development and not yet stable. We welcome bug reports and new ideas, but are not prepared to review or accept major contributions at this time.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Documentation
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
- Versioned based on commit types (`feat`, `fix`, `BREAKING CHANGE`, etc.)
|
|
19
|
-
- Published to npm
|
|
20
|
-
- Tagged in GitHub with release notes
|
|
21
|
-
- Documented in the auto-generated CHANGELOG.md
|
|
22
|
-
|
|
23
|
-
See the [root README](../../README.md#release) for complete release documentation.
|
|
17
|
+
For complete documentation, development setup, and contribution guidelines, see the [main repository](https://github.com/chanzuckerberg/idetik).
|
package/dist/index.d.ts
CHANGED
|
@@ -341,7 +341,7 @@ declare abstract class RenderableObject extends Node {
|
|
|
341
341
|
get textures(): Texture[];
|
|
342
342
|
get transform(): TrsTransform;
|
|
343
343
|
set geometry(geometry: Geometry);
|
|
344
|
-
get programName(): Shader;
|
|
344
|
+
get programName(): Shader | null;
|
|
345
345
|
get boundingBox(): Box3;
|
|
346
346
|
protected set programName(programName: Shader);
|
|
347
347
|
get cullFaceMode(): CullingMode;
|
|
@@ -902,7 +902,8 @@ declare class VolumeLayer extends Layer implements ChannelsEnabled {
|
|
|
902
902
|
readonly type = "VolumeLayer";
|
|
903
903
|
private readonly source_;
|
|
904
904
|
private readonly sliceCoords_;
|
|
905
|
-
private readonly
|
|
905
|
+
private readonly currentVolumes_;
|
|
906
|
+
private readonly volumeToPoolKey_;
|
|
906
907
|
private readonly pool_;
|
|
907
908
|
private readonly initialChannelProps_?;
|
|
908
909
|
private readonly channelChangeCallbacks_;
|
|
@@ -910,6 +911,7 @@ declare class VolumeLayer extends Layer implements ChannelsEnabled {
|
|
|
910
911
|
private chunkStoreView_?;
|
|
911
912
|
private channelProps_?;
|
|
912
913
|
private lastLoadedTime_;
|
|
914
|
+
private lastNumRenderedChannelChunks_;
|
|
913
915
|
private interactiveStepSizeScale_;
|
|
914
916
|
private debugShowWireframes_;
|
|
915
917
|
debugShowDegenerateRays: boolean;
|
|
@@ -924,14 +926,13 @@ declare class VolumeLayer extends Layer implements ChannelsEnabled {
|
|
|
924
926
|
resetChannelProps(): void;
|
|
925
927
|
addChannelChangeCallback(callback: () => void): void;
|
|
926
928
|
removeChannelChangeCallback(callback: () => void): void;
|
|
927
|
-
private currentVolumes;
|
|
928
929
|
constructor({ source, sliceCoords, policy, channelProps }: VolumeLayerProps);
|
|
929
|
-
private
|
|
930
|
+
private getOrCreateVolume;
|
|
930
931
|
onAttached(context: IdetikContext): Promise<void>;
|
|
931
932
|
onDetached(_context: IdetikContext): void;
|
|
932
933
|
private updateChunks;
|
|
933
934
|
private updateVolumeTransform;
|
|
934
|
-
private
|
|
935
|
+
private releaseAndRemoveVolumes;
|
|
935
936
|
update(context?: RenderContext): void;
|
|
936
937
|
getUniforms(): Record<string, unknown>;
|
|
937
938
|
}
|