[vtkusers] Window->Image coordinate conversions?
itkvtk123 at gmx.net
itkvtk123 at gmx.net
Thu Oct 22 18:48:57 EDT 2009
You can do this easily with vtkImageActorPointPlacer.
This class will allow you to transform display coordinates to the corresponding image coordinates on the ImageActor.
For the actual conversion you use the method ComputeWorldPosition(...)
Where display position is the coordinate in the renderwindow and world position is the coordinate on the ImageActor.
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
More information about the vtkusers
mailing list