[vtkusers] PropPicker
Rashed Karim
rashed.karim at gmail.com
Thu Aug 10 21:49:23 EDT 2006
Hi everyone ..
I am finding it difficult to set a callback for a vtkPropPicker .. is this
what i do:
vtkPropPicker *picker = vtkPropPicker::New( );
picker->InitializePickList( );
picker->AddPickList( someActor );
.....
vtkCallbackCommand *cbc_pickcells = vtkCallbackCommand::New();
cbc_pickcells->SetCallback(PickCells);
picker->AddObserver(vtkCommand::EndPickEvent, cbc_pickcells);
When i hit the ''p' button on the rendering window, the callback function is
not getting called. Anyone suspect anything I could be doing wrong here?
Best Regards,
Rashed karim
PhD student
Imperial College London
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060811/9751a012/attachment.htm>
More information about the vtkusers
mailing list