<div dir="ltr"><div style>Hello, I have this piece of code </div><div style><br></div><div style>that I copy from this sample:</div><div style><br></div><div style><div><i>vtkSmartPointer&lt;vtkPropPicker&gt; propPicker = vtkSmartPointer&lt;vtkPropPicker&gt;::New();</i></div>
<div><i>propPicker-&gt;PickFromListOn();</i></div><div><i><br></i></div><div><i>// Give the picker a prop to pick<span class="" style="white-space:pre">        </span></i></div><div><i>propPicker-&gt;AddPickList( vtkImageViewer-&gt;GetImageActor() );</i></div>
</div><div style><br></div><div style><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel</a></div><div style><br></div><div style>but I get this error:</div>
<div style><br></div><div style><div>error: no matching function for call to vtkPropPicker::AddPickList(vtkImageActor*)’</div><div><br></div><div style>Weird thing is that the sample is building and running fine in my box.</div>
<div><br></div><div style>Any hints?</div><div style><br></div><div style>Thanks in advance!</div><div><br></div></div><div><br></div><div><br></div></div>