[vtkusers] deleting a polydata from my RenderWindow, is it possible!!!
David Doria
daviddoria at gmail.com
Fri Nov 2 08:52:25 EDT 2012
On Fri, Nov 2, 2012 at 8:49 AM, Tasnim <hanene-jeder at hotmail.fr> wrote:
> Thanks for reply,
> an other small question :) , is it possible to know the correspond actor for
> my picking. I mean, i want that when i pick on the apple, its actor will be
> invisible or removed, and when i pick on the sphere, the sphere actor will
> be removes ( or invisible). is it possible to recognize the actor that the
> mouse is picking on???
>
> Thanks again
In the example Alex sent, you will find:
std::cout << "Picked actor: " << picker->GetActor() << std::endl;
David
More information about the vtkusers
mailing list