[vtkusers] deleting a polydata from my RenderWindow, is it possible!!!
Tasnim
hanene-jeder at hotmail.fr
Fri Nov 2 15:15:56 EDT 2012
thaaanks again :) . But i didn't find how to update the input of my actor in
order to put in it an other polydata instead of the previous data , i don't
like to delete it, i think that it will be better to update my actor to the
new polydata instead of deleting it.
I tried like this:
*actor->GetMapper()->SetInputConnection(reader1->GetOutputPort());
actor->GetMapper()->Modified();
actor->GetMapper()->Update();
actor->Modified();*
but, this allows me to update an actor just one time !!!!
Any suggestion !!
Regards,
Tasnim
--
View this message in context: http://vtk.1045678.n5.nabble.com/deleting-a-polydata-from-my-RenderWindow-is-it-possible-tp5716934p5716944.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list