[vtkusers] coordinates of point in renderer window
Podariu, Silviu
spodariu at unmc.edu
Fri Nov 22 11:51:56 EST 2013
Hello Diego,
Thanks so much for the reply. I managed to find some time for the vtk
project and to look at your suggestion by finding an older example of
vtkImagePlaneWidget, for the vtk-5.8.0 i have installed ( the page of
the one pointed to by documentation seems to be for vtk-6.1.0, and it
fails in several places, until i gave up trying to fix it ).
It looks like this tool allows you to load a plane and probe the
image-volume, which is quite nice and i will certainly explore it
aside from the next question below! The question i have right now is
if this works with two volumes loaded at the same time and making it
show them both ( i only care of the coordinate of the cross-bar, where
i point in that plane, not about the intensity value at that
location. Since i want two volumes probed and shown at the same time,
expecting the 'top' one to mask the 'bottom' one, when not-zero, there
are two intensities at each point, but i only need to identify
location, i don't care that much about the intensity itself, if that's
an impediment )...
Probably i should try myself to load two volumes and the probing
plane(s), and see what happens...
Thanks a lot for the hint,
Silviu
________________________________________
From: vtkusers-bounces at vtk.org [vtkusers-bounces at vtk.org] on behalf of diego0020 [da.angulo39 at uniandes.edu.co]
Sent: Thursday, November 14, 2013 9:13 AM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] coordinates of point in renderer window
Hello
Have you tried the ImagePlaneWidget?
http://www.vtk.org/doc/nightly/html/classvtkImagePlaneWidget.html#details
With DisplayTextOn () it shows coordinates in the corner of the screen, very
similar to fslview.
Is this similar to what you want?
regars
--
View this message in context: http://vtk.1045678.n5.nabble.com/coordinates-of-point-in-renderer-window-tp5724406p5724426.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
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.
More information about the vtkusers
mailing list