<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=840283816-25032004><FONT face=Arial size=2>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial size=2>I'm trying to
modify vtkPolyData by getting vtkPoints and the point values are changed
successfully. But the problem is that I want to can't update the bounds. I
called vtkPoints->ComputeBounds(), but it doesn't work. I traced into the
source code and found the condition</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial
size=2>=======================</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial size=2>if (
this->GetMTime() > this->ComputeTime )</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial
size=2>=======================</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial size=2>is always false.
Hence, the bounds can't be updated.</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial size=2>Anybody can
help?</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial
size=2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004></SPAN> </DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=840283816-25032004><FONT face=Arial
size=2>Pingkun</FONT></SPAN></DIV></BODY></HTML>