You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/voxel_annotation/TODOs.md
-53Lines changed: 0 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,56 +17,3 @@
17
17
18
18
- design a dataset creation feature
19
19
- adapt the brush size to the zoom level linearly
20
-
21
-
## Merging vox layer into seg and img layers
22
-
23
-
The proposed architecture integrates voxel editing directly into the existing Image and Segmentation layers by leveraging their inherent capabilities, rather than introducing a separate, simplified render layer. The core of the design is a new UserLayerWithVoxelEditingMixin which equips a host UserLayer with an editing controller and an associated in-memory VolumeChunkSource for optimistic previews. When a user paints, the edits are applied locally to this in-memory source. A second instance of the layer's primary, feature-rich RenderLayer class is then used to draw these edits as an overlay. This ensures the live preview is rendered with the exact same user-defined shaders and settings as the base data for perfect visual fidelity, while also elegantly handling the performance issue of editing compressed chunks by operating on an uncompressed in-memory source. This architecture reuses existing components, simplifies the overall codebase by eliminating the need for a separate VoxelAnnotationRenderLayer, and cleanly separates the concerns of displaying committed data versus previewing transient edits.
24
-
25
-
```mermaid
26
-
sequenceDiagram
27
-
participant User
28
-
participant Tool as VoxelBrushTool
29
-
participant ControllerFE as VoxelEditController (FE)
30
-
participant EditSourceFE as OverlayChunkSource (FE)
31
-
participant BaseSourceFE as VolumeChunkSource (FE)
32
-
participant ControllerBE as VoxelEditController (BE)
33
-
participant BaseSourceBE as VolumeChunkSource (BE)
0 commit comments