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

Sean McBride sean at rogue-research.com
Wed Jun 22 18:03:51 EDT 2005


On 2005-06-22 20:07, Cuypers Wouter said:

>Not sure what programming language you are using, I just call .repaint()
>on the vtkPanel in Java. I guess repaint usually ends up calling .Render
>() so you might try that.

Thanks Cuypers, you made me realise the solution.  I am using Cocoa on
Mac OS X.  The solution is to do what one always does in Cocoa and call
[myView SetNeedsDisplay:YES];  Silly me. :)

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