[vtkusers] Getting pixel values

Miller, James V (CRD) millerjv at crd.ge.com
Mon Jul 2 17:22:03 EDT 2001


There is an example under imaging\examplesTcl\ViewerApp.tcl that allows you to moved through the
slices of a volume, window level, and probe the dataset.  As you move the mouse over a pixel, its
pixel coordinate and value are displayed on the interface.

Jim

-----Original Message-----
From: TJ Wilkinson [mailto:tswilkin at fas.harvard.edu]
Sent: Monday, July 02, 2001 4:12 PM
To: VTK Mailing List
Subject: [vtkusers] Getting pixel values


I am using vtkImager, vtkImageMapper, vtkActor2D to display 3D volumes
slice-wise.  I would like to probe the underlying pixel values.  Should I
use a Picker for this, or just use the interface somehow?  And once I have
the point in terms of the image extent, what method is appropriate to call
to find out the pixel value?  Do I need to GetScalarPointer and index to
the pixel in question?

Thank you.

Todd




_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list