<div dir="ltr">Yuo may look at v v, the 4D slicer&#39;s src code on how to genrate meshes from vtkDiscreteMarchingCubes.<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Dec 20, 2011 at 12:42 PM, leandro <span dir="ltr">&lt;<a href="mailto:leobbastos@gmail.com">leobbastos@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 class="im">Hello, i bring this topic back to life, &#39;cause I got the same issue.<br>
The problem is that the way we get the Polydata from the widget<br>
representation. vtkVoxelContoursToSurfaceFilter wants the contours as Polys,<br>
but GetContourRepresentationAsPolyData() returns contours as Lines =(<br>
<br>
I also tried with the vtkImageTracerWidget (wich i actually prefer to use),<br>
but get exact the same problem.<br>
<br>
</div>I get the contours correctly fusioned with vtkAppendPolyData, correctly<br>
<div class="im">positioned, also in relation to the CT volume, just cannot make them into a<br>
volume yet.<br>
<br>
</div>pipeline is like:<br>
Get Polydata from vtkContourWidget (or vtkImageTracerWidget) -&gt;<br>
vtkAppendPolyData -&gt; vtkVoxelContoursToSurfaceFilter<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Create-3-D-surface-from-2-D-contours-of-slices-tp3234422p5088758.html" target="_blank">http://vtk.1045678.n5.nabble.com/Create-3-D-surface-from-2-D-contours-of-slices-tp3234422p5088758.html</a><br>

</font><div><div></div><div class="h5">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>