<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>[vtkusers] How to programatically force a redraw after changing my vtkPlaneSource's centre?</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText47103 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>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.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Van:</B>
vtkusers-bounces+wouter.cuypers=ua.ac.be@vtk.org namens Sean
McBride<BR><B>Verzonden:</B> wo 6/22/2005 5:37<BR><B>Aan:</B>
vtkusers@vtk.org<BR><B>Onderwerp:</B> [vtkusers] How to programatically force a
redraw after changing my vtkPlaneSource's centre?<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi all,<BR><BR>Easy newbie question. :)<BR><BR>I have a
vtkPlaneSource and I want to move it in response to user<BR>input.
vtkPlaneSource's SetCenter is perfect and indeed works. The<BR>only
problem is that the change is not visible until i use the mouse to<BR>(slightly)
rotate my scene. How do I programatically tell the vtk<BR>system that it
needs to redraw? I have tried calling Update() on the<BR>vtkPlaneSource
and its associated vtkPolyDataMapper, but that does not
help.<BR><BR>Thanks!<BR><BR>--<BR>____________________________________________________________<BR>Sean
McBride, B.
Eng
sean@rogue-research.com<BR>Rogue
Research
www.rogue-research.com<BR>Mac Software
Developer
Montréal, Québec,
Canada<BR><BR><BR>_______________________________________________<BR>This is the
private VTK discussion list.<BR>Please keep messages on-topic. Check the FAQ at:
<A
href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A><BR>Follow
this link to subscribe/unsubscribe:<BR><A
href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR></FONT></P></DIV>
</BODY>
</HTML>