@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @idetik/core
2
2
 
3
- A layer-based visualization abstraction for interactive rendering of large datasets, with particular focus on scientific imaging and bioinformatics data formats.
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
- ## Releasing
11
+ ## Project Status
12
12
 
13
- This package is automatically released using [semantic-release](https://github.com/semantic-release/semantic-release).
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
- ### Automatic Releases
15
+ ## Documentation
16
16
 
17
- When PRs are merged to `main` with conventional commit messages, a new version is automatically:
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 currentChunks_;
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 getVolumeForChunk;
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 releaseAndRemoveChunks;
935
+ private releaseAndRemoveVolumes;
935
936
  update(context?: RenderContext): void;
936
937
  getUniforms(): Record<string, unknown>;
937
938
  }