<div dir="ltr">I am able to sucessfully run this example with the data you provide.<br><br>The only difference is, I directly set the file name to the reader. <br><br>I would suggest you to check whether your reader has read the data at the first place or not.<br>
<br>Jothy<br><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 12:07 PM, Dženan Zukić <span dir="ltr">&lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@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">
<font><font face="verdana,sans-serif">Hi all,</font></font><div><font><font face="verdana,sans-serif"><br></font></font></div><div><font><font face="verdana,sans-serif">I tried running <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels" target="_blank">MC example</a>, but I get an error on line </font></font><font face="courier new, monospace">smoother-&gt;Update();</font></div>


<div><font><font face="verdana,sans-serif"><div><br></div><div>ERROR: In D:\SDK\vtk-5.8.0\Graphics\vtkWindowedSincPolyDataFilter.cxx, line 112</div><div>vtkWindowedSincPolyDataFilter (000000000233B470): No data to smooth!</div>


<div><br></div><div>The file in question is attached, and the program is called with following command line parameters:</div><div>mask.mha 2 10</div><div><br></div><div>Can someone confirm the problem, or are there some size limitations for vtkDiscreteMarchingCubes?</div>


<div><br></div><div>Regards,</div><div>Dženan</div></font></font></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>