From 2e5cc4e6db519ac32993f2d2387332744b8dea8c Mon Sep 17 00:00:00 2001 From: gaozheng Date: Tue, 16 Jun 2026 11:19:03 +0800 Subject: [PATCH] =?UTF-8?q?chore(vtk):=20=E7=A7=BB=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20InteractionManager::faceSelected(=E6=AD=A3?= =?UTF-8?q?=E8=A7=86=E6=8C=89=E9=92=AE=E5=B7=B2=E5=88=A0,=20=E5=8F=8C?= =?UTF-8?q?=E5=87=BB=E8=B5=B0=20faceSlice)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/render/interact/InteractionManager.cpp | 1 - src/render/interact/InteractionManager.hpp | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/render/interact/InteractionManager.cpp b/src/render/interact/InteractionManager.cpp index e05a4a4..e8a4b17 100644 --- a/src/render/interact/InteractionManager.cpp +++ b/src/render/interact/InteractionManager.cpp @@ -195,7 +195,6 @@ void InteractionManager::faceSlice(int idx) { safeRender(); } -void InteractionManager::faceSelected() { faceSlice(selected_); } bool InteractionManager::onWheel(int dir) { if (selected_ < 0 || selected_ >= static_cast(slices_.size())) return false; diff --git a/src/render/interact/InteractionManager.hpp b/src/render/interact/InteractionManager.hpp index 486eaa8..f2c42c0 100644 --- a/src/render/interact/InteractionManager.hpp +++ b/src/render/interact/InteractionManager.hpp @@ -55,10 +55,6 @@ public: // 视图翻转:水平旋转 180°(E55)。 void flipView(); - // 正视选中切片(E54/D40):相机转到正对选中切面法向。无选中则忽略。 - // (改用工具条按钮触发,因 widget 开启交互后会抢双击事件。) - void faceSelected(); - // 安装/卸载自定义交互样式(构造时安装;析构卸载恢复原样式)。 void installStyle(); void uninstallStyle();