[vtkusers] How to get the coordinate in the volume data by mouse click?

Guotai Wang wgt2050 at 163.com
Sun Dec 16 08:04:12 EST 2012


I have addressed this problem, one solution is:

double image_position[3];
render->SetDisplayPoint(position[0], position[1], 0);
render->DisplayToWorld();
render->GetWorldPoint(image_position);



--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-get-the-coordinate-in-the-volume-data-by-mouse-click-tp5717630p5717631.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list