Hmm..its weird..I cant see a reason for the &quot;hole&quot;.My contours are smooth and have a constant Z distance. (as show in the pictures)..<div>Can this be a bug in &quot;vtkVoxelContoursToSurfaceFilter&quot; ?<br><br>
<div class="gmail_quote">On 13 July 2011 18:33, Jothy <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">You could use vtkFilleHolesFilter.<br><font color="#888888"><br>Jothy</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jul 13, 2011 at 10:21 AM, Ashika Umanga Umagiliya <span dir="ltr">&lt;<a href="mailto:aumanga@biggjapan.com" target="_blank">aumanga@biggjapan.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jothy,<div><br></div><div>Yeap,they have constant Z spacing..<div><div></div><div><br><br><div class="gmail_quote">

On 13 July 2011 18:18, Jothy <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think the vtkVoxelContoursToSurfaceFilter requires a constant Z spacing. Does you contours meet this requirement?<br>


<br>Jothy<br><br><br><br><div class="gmail_quote"><div><div></div><div>On Wed, Jul 13, 2011 at 10:10 AM, Ashika Umanga Umagiliya <span dir="ltr">&lt;<a href="mailto:aumanga@biggjapan.com" target="_blank">aumanga@biggjapan.com</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div><div>Greetings all,</div><div><br></div><div>I use &quot;vtkVoxelContoursToSurfaceFilter&quot;  to generate Mesh from a stack of contours.</div>



<div>I have this weird case where there is an unsual &quot;hole&quot; in the generated mesh.</div>
<div><br></div><div>Here is the input &quot;contour data&quot; rendered using OpenGL GL_LINE_STRIP</div><div><br></div><div><a href="http://oi51.tinypic.com/333fwnd.jpg" target="_blank">http://oi51.tinypic.com/333fwnd.jpg</a></div>



<div><a href="http://oi51.tinypic.com/2416ydk.jpg" target="_blank">http://oi51.tinypic.com/2416ydk.jpg</a></div>
<div><br></div><div>and here is the generated Mesh </div><div><br></div><div><br></div><div><a href="http://oi51.tinypic.com/2whqm0z.jpg" target="_blank">http://oi51.tinypic.com/2whqm0z.jpg</a></div><div><a href="http://oi51.tinypic.com/ifcsv9.jpg" target="_blank">http://oi51.tinypic.com/ifcsv9.jpg</a></div>




<div><br></div><div><br></div><div>(Note three are two seperate meshes in the scene.Only the outer-bule mesh has the hole.)</div><div><br></div><div>Can anyone think of the reason for this?</div><div><br></div><div>Thanks in advane</div>




<div><br></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>