xtk 2D renderer linking with onMousedown position

拟墨画扇 提交于 2019-12-12 01:27:18

问题


Is there a way to link three 2D renderers together so that when one is clicked on the other two move to the slices of the point that was clicked? Here is an example of what I mean.

The current onMousedown behavior in a 2drenderer is to adjust window level, can this behavior be turned off, on or modified?


回答1:


This is not possible right now. There was some work on unprojecting a 3D scene to get from screen coordinates to world coordinates. See https://github.com/xtk/X/issues/78 Unfortunately it hasn't made it into head yet.

This would be the first step, then we would have to transfer the 3D coordinate to volume space.

And for 2D this is even a different story. So sadly, not possible right now but would be a great feature and any contribution is welcome :D



来源:https://stackoverflow.com/questions/12231442/xtk-2d-renderer-linking-with-onmousedown-position

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!