<div dir="ltr">Post a minimal, compilable example that illustrates the problem.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 12:50 PM, ThinkFlow <span dir="ltr"><<a href="mailto:neto@caltech.edu" target="_blank">neto@caltech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am trying to convert a vtkrectilineargrid to a vtkpolydata. I am doing<br>
this by first converting from vtkrectilineargrid to an unstructured grid<br>
(with tetrahedra) by using vtkRectilinearGridToTetrahedra, and then<br>
converting the unstructured grid to polydata by using<br>
vtkDataSetSurfaceFilter . However, when I try to render the polydata, I get<br>
an error saying that<br>
<br>
vtkWindowedSincPolyDataFilter (0x143aaf0): No data to smooth!<br>
<br>
My code for the two conversions are basically modified versions of<br>
<a href="http://tinyurl.com/kbu8dh5" target="_blank">http://tinyurl.com/kbu8dh5</a> and <a href="http://tinyurl.com/lzlnurs" target="_blank">http://tinyurl.com/lzlnurs</a> , and are<br>
attached.<br>
<br>
DataSetSurfaceFilter.cxx<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5722972/DataSetSurfaceFilter.cxx" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5722972/DataSetSurfaceFilter.cxx</a>><br>
RectilinearGridToTetrahedra.cxx<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5722972/RectilinearGridToTetrahedra.cxx" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5722972/RectilinearGridToTetrahedra.cxx</a>><br>
<br>
Thanks,<br>
<br>
Naoki<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Converting-from-rectilinear-to-polydata-tp5722972.html" target="_blank">http://vtk.1045678.n5.nabble.com/Converting-from-rectilinear-to-polydata-tp5722972.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>