copper3d 3.10.4 → 3.11.1

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.
Files changed (31) hide show
  1. package/README.md +128 -0
  2. package/ai-index/guides/4D-MRI-LV-rendering.md +580 -0
  3. package/ai-index/guides/ai-assist-api.md +382 -0
  4. package/ai-index/guides/camera-framing.md +238 -0
  5. package/ai-index/guides/control-axes.md +124 -0
  6. package/ai-index/guides/copper3d-4D-API.md +219 -0
  7. package/ai-index/guides/copper3d-rendering-optimization.md +155 -0
  8. package/ai-index/guides/gltf-decoders.md +105 -0
  9. package/ai-index/guides/heart-sensor.md +137 -0
  10. package/ai-index/guides/load-callbacks.md +244 -0
  11. package/ai-index/guides/mcp-server.md +139 -0
  12. package/ai-index/guides/nrrd-tools.md +1888 -0
  13. package/ai-index/guides/on-demand-controls.md +154 -0
  14. package/ai-index/guides/rotation-pivot.md +197 -0
  15. package/ai-index/guides/scene-resources.md +227 -0
  16. package/ai-index/guides/segmentation-module.md +1539 -0
  17. package/ai-index/guides/surface-annotation-api.md +388 -0
  18. package/ai-index/guides/volume-display.md +194 -0
  19. package/ai-index/manifest.json +144 -0
  20. package/ai-index/symbols.json +1 -0
  21. package/dist/Utils/segmentation/DrawToolCore.d.ts +19 -0
  22. package/dist/Utils/segmentation/DrawToolCore.js +62 -36
  23. package/dist/Utils/segmentation/DrawToolCore.js.map +1 -1
  24. package/dist/Utils/segmentation/tools/DrawingTool.js +14 -2
  25. package/dist/Utils/segmentation/tools/DrawingTool.js.map +1 -1
  26. package/dist/Utils/segmentation/tools/ToolHost.d.ts +2 -1
  27. package/dist/bundle.esm.js +79 -41
  28. package/dist/bundle.umd.js +79 -41
  29. package/dist/types/Utils/segmentation/DrawToolCore.d.ts +19 -0
  30. package/dist/types/Utils/segmentation/tools/ToolHost.d.ts +2 -1
  31. package/package.json +7 -4
@@ -0,0 +1,144 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "copper3dVersion": "3.11.1",
4
+ "generatedAt": "2026-09-29T01:00:06.303Z",
5
+ "symbolCount": 1194,
6
+ "guides": [
7
+ {
8
+ "id": "4D-MRI-LV-rendering",
9
+ "file": "4D-MRI-LV-rendering.md",
10
+ "title": "4D Heart (MRI + LV Surfaces) Aligned Rendering — Deep Dive",
11
+ "summary": "Using `src/pages/example15_mri_lv_4d.vue` as the worked example, this explains how \"32 MRI images + 64 VTK models\" are loaded, aligned, and played back together on a single cardiac clock.",
12
+ "lang": "en",
13
+ "bytes": 27260
14
+ },
15
+ {
16
+ "id": "ai-assist-api",
17
+ "file": "ai-assist-api.md",
18
+ "title": "copper3d — AI Assist API (usage guide)",
19
+ "summary": "Public API for the **AI Assist** (interactive prompt segmentation) feature shipped in the copper3d package. Everything is exposed on the `NrrdTools` instance plus a few exported types and colour constants.",
20
+ "lang": "en",
21
+ "bytes": 17064
22
+ },
23
+ {
24
+ "id": "camera-framing",
25
+ "file": "camera-framing.md",
26
+ "title": "copper3d — Camera Framing & Transitions",
27
+ "summary": "Framing a camera on its content, and moving it from one pose to another. All exported from the package entry (`copper3d`).",
28
+ "lang": "en",
29
+ "bytes": 10043
30
+ },
31
+ {
32
+ "id": "control-axes",
33
+ "file": "control-axes.md",
34
+ "title": "Control Axes & Gesture Gating",
35
+ "summary": "Turning rotation off — for a 2D view, or just while the user drags something else — is two lines of code that are wrong more often than they are right. New in **3.9.0**: a set of small helpers that make both mistakes impossible.",
36
+ "lang": "en",
37
+ "bytes": 4750
38
+ },
39
+ {
40
+ "id": "copper3d-4D-API",
41
+ "file": "copper3d-4D-API.md",
42
+ "title": "copper3d — Aligned 4D MRI + Surface API",
43
+ "summary": "Reference for the changes added to copper3d that let you render a cine MRI (one slice, N cardiac phases) **spatially and temporally aligned** with deforming surface meshes (e.g. LV endo/epi), all from raw DICOM + VTK, with one shared clock…",
44
+ "lang": "en",
45
+ "bytes": 9189
46
+ },
47
+ {
48
+ "id": "copper3d-rendering-optimization",
49
+ "file": "copper3d-rendering-optimization.md",
50
+ "title": "Copper3D GLB Rendering Optimization",
51
+ "summary": "This document describes the rendering optimizations applied to the Copper3D library's Three.js pipeline to improve GLB model visual quality in the medical image annotator. The original rendering produced dull, dark, and detail-less models.…",
52
+ "lang": "en",
53
+ "bytes": 6770
54
+ },
55
+ {
56
+ "id": "gltf-decoders",
57
+ "file": "gltf-decoders.md",
58
+ "title": "Loading GLB: Draco & KTX2 Decoders",
59
+ "summary": "A Draco-compressed GLB is typically a tenth the size of the same model uncompressed — one of this project's anatomy models goes from 10.18MB to 598KB. The catch is that the browser cannot decode it alone: three fetches a separate WebAssemb…",
60
+ "lang": "en",
61
+ "bytes": 4046
62
+ },
63
+ {
64
+ "id": "heart-sensor",
65
+ "file": "heart-sensor.md",
66
+ "title": "Heart Sensor (Kiwrious)",
67
+ "summary": "`copper3d` can read a Kiwrious heart-rate sensor over Web Serial, through the `copper3d_plugin_heart_k` plugin.",
68
+ "lang": "en",
69
+ "bytes": 4940
70
+ },
71
+ {
72
+ "id": "load-callbacks",
73
+ "file": "load-callbacks.md",
74
+ "title": "Load Progress & Errors",
75
+ "summary": "Every loader in copper3d gained `onProgress` and `onError` in **3.9.0**. Before that there was no way to find out that a load had failed — a broken URL, a 404, a corrupt file and a very slow download all looked identical from outside: the …",
76
+ "lang": "en",
77
+ "bytes": 9327
78
+ },
79
+ {
80
+ "id": "mcp-server",
81
+ "file": "mcp-server.md",
82
+ "title": "AI Coding Assistants (MCP) <Badge type=\"tip\" text=\"3.11.0\" />",
83
+ "summary": "copper3d ships a machine-readable index of its own API and guides. Point your AI assistant at it through the [`copper3d-mcp`](https://www.npmjs.com/package/copper3d-mcp) server and it can look up real signatures instead of inventing them.",
84
+ "lang": "en",
85
+ "bytes": 4931
86
+ },
87
+ {
88
+ "id": "nrrd-tools",
89
+ "file": "nrrd-tools.md",
90
+ "title": "NrrdTools Usage Guide",
91
+ "summary": "Copper3D `NrrdTools` — Medical Image Segmentation Annotation Engine",
92
+ "lang": "en",
93
+ "bytes": 70593
94
+ },
95
+ {
96
+ "id": "on-demand-controls",
97
+ "file": "on-demand-controls.md",
98
+ "title": "On-Demand Rendering & Trackball Controls",
99
+ "summary": "`copperSceneOnDemond` draws a frame only when something asks for one, instead of running a `requestAnimationFrame` loop forever. That saves a laptop's battery and lets several viewers share a page — but it changes what a controls class has…",
100
+ "lang": "en",
101
+ "bytes": 6195
102
+ },
103
+ {
104
+ "id": "rotation-pivot",
105
+ "file": "rotation-pivot.md",
106
+ "title": "Rotating Around the Content, Not the Pan",
107
+ "summary": "`Copper3dTrackballControls.rotationPivot` decides what a rotate gesture does after the reader has panned. It is the answer to \"why does my model swing off into space once I've moved it?\"",
108
+ "lang": "en",
109
+ "bytes": 8117
110
+ },
111
+ {
112
+ "id": "scene-resources",
113
+ "file": "scene-resources.md",
114
+ "title": "copper3d — Scene Resources",
115
+ "summary": "Freeing what a scene holds, bounding how much stays resident, and crossfading one model into another. All exported from the package entry (`copper3d`).",
116
+ "lang": "en",
117
+ "bytes": 9093
118
+ },
119
+ {
120
+ "id": "segmentation-module",
121
+ "file": "segmentation-module.md",
122
+ "title": "Segmentation Module Documentation",
123
+ "summary": "⚠️ **Note**: All line number references in this document are from historical versions. After multiple rounds of refactoring (State Management Refactor, NrrdTools God Class Split, inheritance → composition refactor), these references are ou…",
124
+ "lang": "en",
125
+ "bytes": 73632
126
+ },
127
+ {
128
+ "id": "surface-annotation-api",
129
+ "file": "surface-annotation-api.md",
130
+ "title": "Copper3D Surface Annotation API — English",
131
+ "summary": "Available since `copper3d_visualisation` v3.6.0-beta Module: `src/ts/Utils/surfaceAnnotation/`, exposed via `copperScene.createSurfaceAnnotator()`",
132
+ "lang": "en",
133
+ "bytes": 22495
134
+ },
135
+ {
136
+ "id": "volume-display",
137
+ "file": "volume-display.md",
138
+ "title": "copper3d — Volume Slice Display",
139
+ "summary": "Two functions for the greyscale a volume slice actually comes out as: one that makes scrubbing cheap, one that makes dark studies readable.",
140
+ "lang": "en",
141
+ "bytes": 7761
142
+ }
143
+ ]
144
+ }