[vtkusers] Smoothing isosurfaces

Bryn Lloyd blloyd at vision.ee.ethz.ch
Thu Nov 12 04:20:40 EST 2009


Alessandro Artusi wrote:
> Der All,
>  
> i would like to have more smooth isosurfaces respect what i get with 
> vtkContourFilter. I have increased the number of Iteration but it seems 
> that does not do anything (or anything visible). Is there any other way 
> to do it?

vtkContourFilter does not have iterations. Are you using 
vtkSmoothPolyDataFilter? Tests (Tcl) using this filter can be found here:

http://www.vtk.org/doc/nightly/html/c2_vtk_t_16.html#c2_vtk_t_vtkSmoothPolyDataFilter

Can you send a piece of code illustrating what you are doing?

What is the input to vtkContourFilter?


> Also i would like to reduce the number of vertex in the output 
> isosurfaces. Is there any way?

Try vtkQuadricDecimation or vtkDecimatePro. See the examples/tests to 
see how these can be used:

e.g.
http://www.vtk.org/doc/nightly/html/c2_vtk_t_4.html#c2_vtk_t_vtkDecimatePro





>  
> Thanks,
> Alessandro.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers


-- 
-------------------------------------------------
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7, ETF C110
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 26668
Fax: +41 44 63 21199
-------------------------------------------------



More information about the vtkusers mailing list