[vtkusers] How to get voxel value from vtkImageData using C++?
dean.inglis at camris.ca
dean.inglis at camris.ca
Mon Jan 19 16:54:02 EST 2004
Yi-Yu,
Have a look at vtkImagePlaneWidget's two methods:
void vtkImagePlaneWidget::UpdateCursor()
and
int vtkImagePlaneWidget::GetCursorData(double xyzv[4])
this is one way to get what you're after...another is to look
at vtkProbeFilter - see the tcl example I posted earlier:
http://public.kitware.com/pipermail/vtkusers/2004-January/021528.html
Dean
More information about the vtkusers
mailing list