<span class="Apple-style-span" style="border-collapse: collapse; ">The vtkContourFilter requires point data as input rather than cell data. You can run the grid through a vtkCellDataToPointData filter before using the vtkContourFilter if you have point data attached to your grid.</span><br>
<br><div>HTH,</div><div>David</div><div><br><div class="gmail_quote">On Wed, Oct 29, 2008 at 5:14 PM, Okoba Salada <span dir="ltr"><<a href="mailto:c674332@web.de">c674332@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
I have got a file containing a vtkUnstructuredGrid with many cubes and want to put a surface over all of them, making them seem to create one large object.<br>
I found vtkContourFilter and vtkMarchingCubes seeming perfectly suitable for this matter. But I did not manage to apply either so far.<br>
Since both seem to be fine let me stick to vtkContourFilter. Whenever I use it on my unstructured grid the output was empty. I'm not really sure how to chose the isovalue, why is there only one value for three dimensions? Still I believe this is not the only obstacle, since I tried many isovalues. Does it work with unstructured grids or do I have to convert it to poly or image data? It made no difference when I converted it to poly data using the vtkDataSetSurfaceFilter.<br>

<br>
Would be thankful for any advice.<br>
<br>
Okoba<br>
_________________________________________________________________________<br>
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten!<br>
Nur 3,99 EUR/Monat! <a href="http://www.maildomain.web.de/?mc=021114" target="_blank">http://www.maildomain.web.de/?mc=021114</a><br>
<br>
_______________________________________________<br>
vtk-developers mailing list<br>
<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
</blockquote></div><br></div>