feat/vtk-3d-view #7
|
|
@ -164,6 +164,9 @@ void VtkSceneView::addVolume(const std::string& dsId, const geopro::data::Volume
|
||||||
vol.spacing[0], vol.spacing[1], vol.spacing[2] * verticalExaggeration_, vol.vmin, vol.vmax,
|
vol.spacing[0], vol.spacing[1], vol.spacing[2] * verticalExaggeration_, vol.vmin, vol.vmax,
|
||||||
image);
|
image);
|
||||||
if (volume) {
|
if (volume) {
|
||||||
|
// 体 actor 不参与拾取:切片选中靠点中切片平面(widget 交互/拾取)。否则点击落到体内部时
|
||||||
|
// picker 命中体、worldPoint 落体内 → nearestSlice 按平面距离选错切片(用户 ④ 串选)。
|
||||||
|
volume->PickableOff();
|
||||||
scene_.addViewProp(volume);
|
scene_.addViewProp(volume);
|
||||||
dsProps_[dsId].push_back(volume);
|
dsProps_[dsId].push_back(volume);
|
||||||
currentVolumeImage_ = image;
|
currentVolumeImage_ = image;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue