feat/vtk-merged-dataset-column #10
Loading…
Reference in New Issue
No description provided.
Delete Branch "feat/vtk-merged-dataset-column"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix 1 (死代码清退): E1 退役 per-ds 拖Z 2D 交互后, render/interact 层的另一半残留 接线为空。grep 确认零活调用方后, 移除整条 2D 交互通路: - InteractionManager::setMode2D / pickStyle (decl+def, 唯一调用方 analysisModeChanged lambda 已删) - PickInteractorStyle::lock2D_/setLock2D/isLock2D, onPick2D/onDrag2D/onDrag2DEnd/onWheel2D, worldPerPixelZ/kWheelStepPx/dragging2D_/lastDragY_ 及各事件处理器内的 lock2D_ 分支 仅删 2D 锁分支, 完整保留 3D 拾取/绕支点旋转/切片拖动/双击正视/滚轮推进/Esc 取消。 Fix 2 (spec §6): CategorySection 段头图标条上限由 setMaxIcons(acts.size()) 钉为 命名常量 kDefaultMaxIcons=3, 恢复计数溢出折叠分支(原恒=操作数→永不触发)。宽度挤压分支不动。 Fix 3 (注释除锈): 修正失真注释 —— categoryConfigs/CategorySpec → categoryCatalog()/ CategoryDescriptor; 删除 section("trajectory")返回 nullptr 的过期断言(C2 已构造该段); VtkSceneController 注释引用已删的 gridCache_ → sectionGridCache_。选中三维体/切片/异常 → 隐去全场景总览轴,显示覆盖「该体子树(体+切片+异常)」的一个贴合 cube axes; 取消选中(空选中/VTK 点空白)→ 恢复全场景轴。 - CategorySection::subtreeDsIds:归一到子树根(最高非容器祖先=三维体)再向下收集整棵子树 dsId; 空选中改发 datasetSelected("","") 使取消经同一信号恢复全景轴。 - CategoryAnalysisTab::subtreeDsIds:段级转发,返首个命中段结果。 - VtkSceneView::showFittedAxes/showSceneAxes:useFittedAxes_+fittedBounds_ 两态; rebuildAxes 按态选子树盒/全场景盒(复用 AxesActor);clear 复位防残留旧盒。 - main.cpp:datasetSelected 接线(子树→datasetBounds→贴合/退回全景)+VTK 侧取消恢复。在 CategorySection 段体树上安装 viewport 事件过滤器,于左键按下瞬间 (默认改选前) 记录被按行及其选中态;itemClicked(释放)时若该行按下前已选中 且本次未点勾选框,则 clearSelection() 直发 datasetSelected("") → 上层 恢复全景轴、丢贴合轴。点勾选框(切渲染)与容器行不触发取消。双击仍激活: 首击可能 toggle 掉选中,itemDoubleClicked 补回选中,终态=选中+贴合轴+详情。 不影响全列互斥(Fix A)、防环、右键菜单与切片/异常高亮。