逐块增量写 level0 store,建体不必持有整卷。产出与非流式 write 逐 brick + meta 完全一致:data.bin 逐块 qCompress 追加(块按 finalize 时固定顺序 bz 最慢/bx 最快 索引),meta.json 结构同 write,故 ChunkedVolumeStore/readBrick 可照常读;偏移 64 位。 DRY 复用 write 的压缩/索引/meta 序列化逻辑(compressBrick/brickIndexJson/ writeMetaGeometry)。约定:每块只写一次(重复抛),缺块 finalize 抛,体素数不符抛。 核心测试 test_streaming_write.cpp:流式(乱序写)vs 非流式 write 逐块对拍 + meta 一致;含重复/缺块/尺寸不符三类错误用例。不破坏 write/readBrick/buildPyramid 现有行为。 |
||
|---|---|---|
| .. | ||
| store | ||
| test_3d_repo.cpp | ||
| test_async_repo_dispatch.cpp | ||
| test_dataset_chart_dto.cpp | ||
| test_dataset_load_handles.cpp | ||
| test_gr_dto.cpp | ||
| test_grid_dto.cpp | ||
| test_local_repo.cpp | ||
| test_measurement_dto.cpp | ||
| test_nav_dto.cpp | ||
| test_nav_request.cpp | ||
| test_parsers.cpp | ||
| test_trajectory_dto.cpp | ||