<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Robert,<br>
<br>
This is a simplified version of what we are using.<br>
<br>
If you run the test with the previous version it will succeed, with
this one it fails.<br>
<br>
The line:<br>
<br>
this->PointPlacer->Modified();<br>
<br>
is responsible of it! If you remove it, it works the same as
previously...<br>
<br>
Another way I found to solve the problem is to update the slice
before regenerating one contour, but in practice we can not keep on
updating actors to make these contours... <br>
<br>
Thoughts, Recommendations?<br>
<br>
Thanks,<br>
Arnaud<br>
<br>
<br>
<br>
On 11/30/2010 10:30 AM, Robert Maynard wrote:
<blockquote
cite="mid:AANLkTik=Kwh1eS6fYzDUibsw_gVAWMmYRhnywQcbA4Nm@mail.gmail.com"
type="cite">Hi Arnaud,
<div><br>
</div>
<div>Would it be possible for you to create a small test that can
expose this bug for me? I will look at fixing this issue asap.<br>
<br>
<div class="gmail_quote">On Tue, Nov 30, 2010 at 10:12 AM,
Arnaud GELAS <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:arnaud_gelas@hms.harvard.edu">arnaud_gelas@hms.harvard.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi Robert,<br>
<br>
In our application, one user can make contours with a
vtkContourWigdet in 3D images on 2D slices in axis aligned
direction.<br>
We store the location of the control points in a Database.
When reloading the scene, we get control points for each
contour, use vtkContourWidget to generate a vtkPolyData, and
we add the corresponding actor in the scene.<br>
<br>
Everything was working fine! But recent changes have change
the behaviour of the widget...<br>
You can see on the attached images the difference.<br>
<br>
The change appears with this commit:<br>
<a moz-do-not-send="true"
href="https://github.com/Kitware/VTK/commit/0c0265ceb97ba874bacf1cfed6941d3a4fa44676"
target="_blank">https://github.com/Kitware/VTK/commit/0c0265ceb97ba874bacf1cfed6941d3a4fa44676</a><br>
<br>
By reverting this commit with the current version on master,
it works again!<br>
<br>
Can this commit be reverted?<br>
Or could we work on a solution to fix this one in VTK for
the upcoming release (this is really critical for us)?<br>
<br>
Thanks,<br>
<font color="#888888">
Arnaud<br>
</font></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Robert Maynard<br>
</div>
</blockquote>
<br>
</body>
</html>