Thanks, I've followed that links and now I got something but not exactly what I need.<div><br></div><div>The problem is that I'm not getting all point Ids in the scene, sure I'm using something wrongly, this is what I'm doing:</div>
<div><br></div><div>I'm using vtkImagePlaneWidget to show an slice of a dicom image, and in the same render I'm drawing some lines , poligons, etc...</div><div><br></div><div>I'm setting the picker for the vtkImagePlaneWidget like this:</div>
<div><br></div><div>vtkImagePlaneWidget.SetPicker(vtkPointPicker);</div><div><br></div><div>also I'm using the same pointPicker for the render iterator and this is how I'm setting it up:</div><div><br></div><div>vtkPanel.getIren().SetPicker(vtkPointPicker);</div>
<div><br></div><div>I'm using the same point picker for both, dont know if it is right or not.</div><div><br></div><div>Well the problem is that I'm able to get the Ids of the planeWidget corner points but I can't get the point Ids of the scene actors. </div>
<div><br></div><div>Do I need to set the picker somewhere else?</div><div><br></div><div>Set the picker just for the render iterator didn't make any difference </div><div><br></div><div>Thanks! </div><div><br><div class="gmail_quote">
2012/7/23 David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div><div class="h5">On Mon, Jul 23, 2012 at 7:12 AM, Jonathan Ruiz Peinado <span dir="ltr"><<a href="mailto:jonathan.ruiz3@gmail.com" target="_blank">jonathan.ruiz3@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, I'm drawing some shapes in a render, so far so good, but I need to edit this shapes aswell, and is at this point where I get lost. I don't know how to get the shape or point from the render using mouseclick event, I know that I can get actors using vtkpicker but not sure if it can help me or how should I go from there.<div>
<br></div><div>Any advise?</div><div><br></div><div><br></div><div>Thanks. </div></blockquote><div><br></div></div></div><div>These might help:</div><div><br></div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/PointPicker" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/PointPicker</a><div>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MoveAVertex" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MoveAVertex</a><span class="HOEnZb"><font color="#888888"><br clear="all"><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><div>David </div></font></span></div>
</blockquote></div><br></div>