<div><div class="gmail_quote">On Fri, Feb 3, 2012 at 11:32 AM, Doug Hoppes <span dir="ltr"><<a href="mailto:dhoppes@mbfbioscience.com">dhoppes@mbfbioscience.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi all,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"> Hopefully this is a simple question. I have an image that I represent on the screen as points (using SetRepresentationToPoints()). I would like the user to be able to select one of those points. I was thinking that I could use the vtkPointPicker, but nothing seems to be ever selected. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"> Any idea what class/example would do the trick?<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">Doug</p></font></span></div></div></blockquote><div><br></div><div>If you have a 2D image, you can pick directly on the image without having to represent it as points:</div><div><br>
</div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel</a><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel2">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel2</a><br clear="all">
<br>Otherwise I think you'll want something like this:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/PointPicker">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/PointPicker</a><br><br></div>
<div>David </div></div></div>