[vtkusers] deleting a polydata from my RenderWindow, is it possible!!!
alex Dowson
alexdowson at hotmail.com
Fri Nov 2 09:23:17 EDT 2012
Yep as david said.. Thank david for answering.. :)
alex
-----Original Message-----
From: David Doria
Sent: Friday, November 02, 2012 6:22 PM
To: Tasnim
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] deleting a polydata from my RenderWindow,is it
possible!!!
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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list