[vtkusers] this should have been an easy one but ...

Gerald Dalley dalleyg at dma.org
Wed May 29 05:11:47 EDT 2002


1) Change the data in the vtkPolyData object
2) If you directly accessed the arrays through a Get method, call Modified
on the vtkPolyData object (if you called any Set methods, Modified is called
automatically for you)
3) renderer->Update();
--Gerald Dalley
  dalleyg at dma.org

-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com]On Behalf Of sagi schein
Sent: Wednesday, May 29, 2002 6:04 AM
To: vtkusers at public.kitware.com
Subject: [vtkusers] this should have been an easy one but ...


I am using vtk for my visualization tasks and fltk for the gui part.

I load a model as a vtkPolyData , I want to change the locations of points
in the model and redraw the model. What is the proper way to achieve it ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020529/dbe04aba/attachment.htm>


More information about the vtkusers mailing list