[vtkusers] propPicker addPickList issue

Manuel Corrales manuelcorrales at gmail.com
Sun Jun 2 21:50:15 EDT 2013


Hello, I have this piece of code

that I copy from this sample:

*vtkSmartPointer<vtkPropPicker> propPicker =
vtkSmartPointer<vtkPropPicker>::New();*
*propPicker->PickFromListOn();*
*
*
*// Give the picker a prop to pick *
*propPicker->AddPickList( vtkImageViewer->GetImageActor() );*

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/PickingAPixel

but I get this error:

error: no matching function for call to
vtkPropPicker::AddPickList(vtkImageActor*)’

Weird thing is that the sample is building and running fine in my box.

Any hints?

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130602/94034b94/attachment.htm>


More information about the vtkusers mailing list