问题
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