[vtkusers] Getting an x,y,z point from a vtkDataSet

R K Shyamprakash ramakrishna.prakash at quest-global.com
Fri Jul 18 03:59:07 EDT 2003

following should do the trick. code is in java

Get the picked point id.

you have only one


-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org]On Behalf Of
Nico Vermaas
Sent: Friday, July 18, 2003 12:14 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Getting an x,y,z point from a vtkDataSet


I have vtkImageData and I try to get the value of a point that I picked. I
have the X,Y,Z, but how do I get the value of that point?
Is there something like vtkImageData->GetScalar(x,y,z)?


Nico Vermaas
ASTRON - Westerbork Synthesis Radio Telescope
Schattenberg 1 - 9433 TA Zwiggelte - The Netherlands

tel: +31 593 598710
vermaas at astron.nl
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe:

More information about the vtkusers mailing list