<div dir="ltr">No, it doesn't fix the problem.<br><br>But it seems to work fine for contours with z-spacing in steps of 1mm.<br><br>It is working well for a dataset with 3mm spacing but fails for 2.5 mm.<br><br>Maybe I need to test it thoroughly. Can I use those cxx and .h from 5.6 in 5.8, that would be a easy workaround.<br>
<br>Thanks<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Mar 5, 2012 at 4:01 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jothy,<br>
<br>
It underwent significant changes, but the only change I can think<br>
of that might have affected your pipeline is the way that it does<br>
rounding, it used to use a Floor() method that provided a small<br>
tolerance even if you did SetTolerance(0). Try calling<br>
SetTolerance(1e-6) on your PolyDataToImageStencil object, it<br>
might help.<br>
<font color="#888888"><br>
- David<br>
</font><div><div></div><div class="h5"><br>
On Mon, Mar 5, 2012 at 3:17 AM, Jothybasu Selvaraj <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I was able to create a mesh using the following pipeline in 5.6 and it<br>
> worked well<br>
><br>
> vtkPolyDataToImageStencil->vtkLinearExtrusionFilter->vtkImageStencil->vtkDiscreteMarchingCubes<br>
><br>
> Now, I have updated vtk to 5.8 and I am getting gaps in the mesh along the z<br>
> axis. I am really puzzled, I have tried with different data sets as well.<br>
><br>
> I have read somewhere that vtkPolyDataToImageStencil had some changes in<br>
> 5.8, does it has anything to do with this problem, or am I doing<br>
> anything wrong?<br>
><br>
> I have contours of constant z-spacing.<br>
><br>
> Any hints?<br>
><br>
> Thanks<br>
><br>
> --<br>
> Jothy<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>