[vtkusers] select pixel in vtkImageViewer2
David Doria
daviddoria at gmail.com
Mon Sep 20 12:04:51 EDT 2010
On Mon, Sep 20, 2010 at 11:41 AM, myaqua1982 <myaqua1982 at 163.com> wrote:
> Hi all,
> I have used vtkImageViewer2 to display seriary of dicom images. Now I want
> to select two piexls(or point) and compute the distance on one of the image.
> Which classes should I use are the best? Please give me some advecese. Thank
> you!
These should do what you want:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel2
David
More information about the vtkusers
mailing list