[vtkusers] Picking Density Value

David Doria daviddoria+vtk at gmail.com
Thu Aug 19 10:11:14 EDT 2010


2010/8/19 Hüseyin Savaş <metlord at hotmail.com>

>  Hello,
> I want to display density(greyscale) value of my cursor's position on an
> image while my mouse is moving.
> For this I have RenderWindowInteractor's GetLastEventPosition() which
> returns two integers as coordinate.
> I have tried various ways but couldn't achieve success yet.
> If someone could give me some lead information that would be perfect.
> Thanks,
>
>
Dean Inglis created a great example of this here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel

<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel>Let us know
if that does the trick.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100819/2e936b0c/attachment.htm>


More information about the vtkusers mailing list