Commit bcbe50f
docs(core): say why the labelmap voxel representation key is in core
A reviewer asked to move `segmentation.labelmapVoxelRepresentation` to
cstools. The two kinds of setting are different, and the docstring now says
so. `SegmentationConfig.overwriteMode` in `packages/tools/src/config.ts` is
display and editing configuration, and cstools owns the editing. This key
describes how core allocates the voxels of an image that core itself
creates, so the key stays beside `imageLoader.ts`, which reads the key.
Core cannot import cstools.
Also replaces "live buffer" with "writable buffer" after the rename of
`getLiveScalarData` to `getWritableScalarData`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 868850e commit bcbe50f
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
106 | 114 | | |
107 | 115 | | |
108 | 116 | | |
| |||
115 | 123 | | |
116 | 124 | | |
117 | 125 | | |
118 | | - | |
| 126 | + | |
| 127 | + | |
119 | 128 | | |
120 | 129 | | |
121 | 130 | | |
| |||
0 commit comments