Hi everyone .. <br><br>I am finding it difficult to set a callback for a vtkPropPicker .. is this what i do: <br><br>vtkPropPicker *picker = vtkPropPicker::New( );<br>picker->InitializePickList( ); <br>picker->AddPickList( someActor );
<br>.....<br> <br>vtkCallbackCommand *cbc_pickcells = vtkCallbackCommand::New();<br>cbc_pickcells->SetCallback(PickCells);<br>picker->AddObserver(vtkCommand::EndPickEvent, cbc_pickcells);<br><br>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?
<br><br>Best Regards, <br><br>Rashed karim <br>PhD student <br>Imperial College London<br><br>