[vtkusers] how to update vtkActor

L.J. van Ruijven L.J.vanRuijven at amc.uva.nl
Tue Jul 14 03:50:08 EDT 2009


Hi Greg,

I think your m_vtkWindow does render the window again. But the input data is not updated, because it does not notice that its inputdata has changed. To solve this issue you should use the Modified() function. I m not sure about the preferred usage, but I think replacing m_poly->Update(); by m_poly->Modified(); will do it. If not try adding m_conn->Modified();  and m_points->Modified(); 

Leo.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: L.J.vanRuijven.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: Card for "L.J. van Ruijven" <L.J.vanRuijven at amc.uva.nl>
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090714/2a3297d6/attachment.vcf>


More information about the vtkusers mailing list