[vtkusers] convert vtkimagetype to vtkpolydata or vtkunstructured

Bryn Lloyd blloyd at vision.ee.ethz.ch
Tue Oct 20 03:46:43 EDT 2009


0)
Please read this email carefully.

1)
You were told NOT to write to the developers list. Don't do it!

2)
STOP writing to people's private email addresses! Especially, when they 
have asked you.

3)
You did NOT pay anybody to answer your questions. Don't expect to always 
get one.

4)
Your questions are often impossible to understand. Spend more time on 
writing a question, so that it is easy to understand. You will get 
better answers in return!

5)
Nearly all VTK filter have either tests or examples (or both), which 
explain how the filter/class can be used. This is visible on the doxygen 
documentation. For instance vtkClipDataSet has tests:
http://www.vtk.org/doc/nightly/html/classvtkClipDataSet.html



About you question:

you could try following pipeline:

reader
-> marching cubes (e.g. vtkContourFilter) at a given iso-contour
-> delaunay
-> writer or do something


alternatively, skipping the delaunay part:

reader
-> clip volume (vtkClipDataSet) at a given iso-contour
-> optional: clipping can produce prisms and other 3D cells. Convert 
these to tetrahedra (vtkDataSetTriangleFilter).
-> writer or do something






Ali Habib wrote:
> Dear all,
> 
> I want to convert the output of vtkDICOMImageReader to vtkpolydata or 
> vtkunstructured grid , to be used with vtkdealunary3D
> 
> using vtkthreshold give an exption wish can''t load 33..element 
> 
> 
> any suggestion
> 
> best regards 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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