feat/vtk-3d-view #7

Merged
gaozheng merged 301 commits from feat/vtk-3d-view into main 2026-06-27 18:43:52 +08:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 07f2f25b58 - Show all commits

View File

@ -152,10 +152,10 @@ void SliceTool::setSelected(bool sel) {
// 切片边框 = widget 的 PlaneProperty选中→亮黄粗线未选中→暗灰细线。
if (auto* prop = widget_->GetPlaneProperty()) {
if (sel) {
prop->SetColor(1.0, 0.9, 0.1);
prop->SetLineWidth(3.0);
prop->SetColor(0.0, 0.95, 1.0); // 亮青:与未选的暗灰强对比
prop->SetLineWidth(3.5);
} else {
prop->SetColor(0.5, 0.5, 0.5);
prop->SetColor(0.35, 0.35, 0.4); // 暗灰
prop->SetLineWidth(1.0);
}
}