[vtkusers] How to programatically force a redraw after changing my vtkPlaneSource's centre?

Sean McBride sean at rogue-research.com
Wed Jun 22 11:37:52 EDT 2005


Hi all,

Easy newbie question. :)

I have a vtkPlaneSource and I want to move it in response to user
input.  vtkPlaneSource's SetCenter is perfect and indeed works.  The
only problem is that the change is not visible until i use the mouse to
(slightly) rotate my scene.  How do I programatically tell the vtk
system that it needs to redraw?  I have tried calling Update() on the
vtkPlaneSource and its associated vtkPolyDataMapper, but that does not help.

Thanks!

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list