copper3d 3.10.4 → 3.11.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/README.md +122 -0
- package/ai-index/guides/4D-MRI-LV-rendering.md +580 -0
- package/ai-index/guides/ai-assist-api.md +382 -0
- package/ai-index/guides/camera-framing.md +238 -0
- package/ai-index/guides/control-axes.md +124 -0
- package/ai-index/guides/copper3d-4D-API.md +219 -0
- package/ai-index/guides/copper3d-rendering-optimization.md +155 -0
- package/ai-index/guides/gltf-decoders.md +105 -0
- package/ai-index/guides/heart-sensor.md +137 -0
- package/ai-index/guides/load-callbacks.md +244 -0
- package/ai-index/guides/nrrd-tools.md +1868 -0
- package/ai-index/guides/on-demand-controls.md +154 -0
- package/ai-index/guides/rotation-pivot.md +197 -0
- package/ai-index/guides/scene-resources.md +227 -0
- package/ai-index/guides/segmentation-module.md +1516 -0
- package/ai-index/guides/surface-annotation-api.md +388 -0
- package/ai-index/guides/volume-display.md +194 -0
- package/ai-index/manifest.json +136 -0
- package/ai-index/symbols.json +1 -0
- package/dist/bundle.esm.js +3 -3
- package/dist/bundle.umd.js +3 -3
- package/package.json +7 -4
package/dist/bundle.esm.js
CHANGED
|
@@ -118122,15 +118122,15 @@ function installFastSliceRepaint(rawSlice_1) {
|
|
|
118122
118122
|
}
|
|
118123
118123
|
|
|
118124
118124
|
// import * as kiwrious from "copper3d_plugin_heart_k";
|
|
118125
|
-
// "v3.
|
|
118125
|
+
// "v3.11.0" is injected at build time by rollup @rollup/plugin-replace, sourced from package.json version.
|
|
118126
118126
|
// When copper3d is consumed from local source (no rollup replace step), the identifier is undefined and
|
|
118127
118127
|
// referencing it throws a ReferenceError — guard it so local loading still works.
|
|
118128
118128
|
let _revision = "unknown";
|
|
118129
118129
|
try {
|
|
118130
|
-
_revision = "v3.
|
|
118130
|
+
_revision = "v3.11.0";
|
|
118131
118131
|
}
|
|
118132
118132
|
catch (_a) {
|
|
118133
|
-
/* "v3.
|
|
118133
|
+
/* "v3.11.0" not injected (local source build) */
|
|
118134
118134
|
}
|
|
118135
118135
|
const REVISION = _revision;
|
|
118136
118136
|
// Expose on global so the version can be read in a production browser console via window.__COPPER3D_VERSION__
|
package/dist/bundle.umd.js
CHANGED
|
@@ -118130,15 +118130,15 @@ void main() {
|
|
|
118130
118130
|
}
|
|
118131
118131
|
|
|
118132
118132
|
// import * as kiwrious from "copper3d_plugin_heart_k";
|
|
118133
|
-
// "v3.
|
|
118133
|
+
// "v3.11.0" is injected at build time by rollup @rollup/plugin-replace, sourced from package.json version.
|
|
118134
118134
|
// When copper3d is consumed from local source (no rollup replace step), the identifier is undefined and
|
|
118135
118135
|
// referencing it throws a ReferenceError — guard it so local loading still works.
|
|
118136
118136
|
let _revision = "unknown";
|
|
118137
118137
|
try {
|
|
118138
|
-
_revision = "v3.
|
|
118138
|
+
_revision = "v3.11.0";
|
|
118139
118139
|
}
|
|
118140
118140
|
catch (_a) {
|
|
118141
|
-
/* "v3.
|
|
118141
|
+
/* "v3.11.0" not injected (local source build) */
|
|
118142
118142
|
}
|
|
118143
118143
|
const REVISION = _revision;
|
|
118144
118144
|
// Expose on global so the version can be read in a production browser console via window.__COPPER3D_VERSION__
|
package/package.json
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "copper3d",
|
|
3
3
|
"description": "A 3d visualisation package base on threejs provides multiple scenes and Nrrd image load funtion.",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.11.0",
|
|
5
5
|
"main": "dist/bundle.umd.js",
|
|
6
6
|
"moudle": "dist/bundle.esm.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "tsc && rollup -c rollup.config.js",
|
|
9
|
+
"build": "tsc && rollup -c rollup.config.js && npm run build:ai-index",
|
|
10
10
|
"build:t": "rollup -c rollup.config.js",
|
|
11
11
|
"test": "vitest run",
|
|
12
12
|
"test:watch": "vitest",
|
|
13
|
-
"bench": "vitest bench"
|
|
13
|
+
"bench": "vitest bench",
|
|
14
|
+
"build:ai-index": "node scripts/build-ai-index.js"
|
|
14
15
|
},
|
|
15
16
|
"files": [
|
|
16
|
-
"dist"
|
|
17
|
+
"dist",
|
|
18
|
+
"ai-index"
|
|
17
19
|
],
|
|
18
20
|
"repository": {
|
|
19
21
|
"type": "git",
|
|
@@ -47,6 +49,7 @@
|
|
|
47
49
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
48
50
|
"rollup-plugin-terser": "^7.0.2",
|
|
49
51
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
52
|
+
"typedoc": "^0.28.20",
|
|
50
53
|
"typescript": "^5.9.3",
|
|
51
54
|
"vitest": "^4.1.10"
|
|
52
55
|
},
|