[vtkusers] coordinates of point in renderer window
Podariu, Silviu
spodariu at unmc.edu
Wed Nov 13 15:37:36 EST 2013
Hello,
I am an older but still elementary user of vtk. I found among the examples
a useful one with the vtkRenderer which i could adjust to my needs to add
a few 3D volumes ( each broken in 2D slices ) using a vtkVolume16Reader
and the vtkContourFilter to generate an iso-surface to be shown in the
rendering window for each volume. Additionally, i include sometimes other
standard shapes ( usually spheres, to indicate some particular points, or
different default shapes ).
The problem i am facing now is the following. When i view these volumes in
a viewer like FSLView, i can get the FSL coordinates of a certain voxel i
am singling out by placing the cross-bar on it ( actually these are the NIFTI
format coordinates, different from the VTK volume coordinates, but this is
less important ) and i would very much like to be able to do a similar thing
in the VTK renderer, i.e. to somehow single out a point and get a visual
display somewhere ( could be in the terminal from which i am launching the
renderer, or anywhere i can see it ) of the VTK coordinates of that point, so
i could connect better the visual info the two displays provide...
Is there a not too difficult, :), solution to my problem anybody is aware of?
Thank you,
Silviu
The information in this e-mail may be privileged and confidential, intended only for the use of the addressee(s) above. Any unauthorized use or disclosure of this information is prohibited. If you have received this e-mail by mistake, please delete it and immediately contact the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131113/557c024d/attachment.htm>
More information about the vtkusers
mailing list