<div class="gmail_quote">On Sat, Sep 17, 2011 at 2:09 PM, andon <span dir="ltr">&lt;<a href="mailto:antoniod987@gmail.com">antoniod987@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi guys i&#39;m a starter and i need your help please! I&#39;m doing picking from a<br>
scene with two actor and i&#39;m using vtkPointPicker with vtkCommand in order<br>
to link the picker at the EndPickEvent...in particular i&#39;ve extended the<br>
class vtkCommand and overloaded the execute method in order to print on the<br>
standard output the picked point cordinates... In addition, i need to pass<br>
this values in order to elaborate them...how can i do this? The &quot;execute&quot;<br>
method is a void method and than at the end of the event i lose these<br>
values...I hope you can help me...thank you very much..<br></blockquote><div><br></div><div>You need to set the ClientData of the vtkCommand subclass, like this:</div><div> </div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/ClientData">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/ClientData</a><br clear="all">
<br><div>David </div></div>