[vtkusers] ImageData to Unstructured grid
Mathieu Malaterre
Mathieu.Malaterre at creatis.insa-lyon.fr
Thu Mar 20 08:39:05 EST 2003
Will,
Do you plan to support VTK XML in ITK ? If not, I'll stay with my good
ol' VTK file.
regards,
mathieu
Will Schroeder wrote:
> Hi Sepp-
>
>> I have a vtkImageData object and I want to convert this into an
>> unstructured
>> grid to use the unstructured grid writer object. Unfortunately I don't
>> have
>> any clue how to do this. If anybody can should me a way or give me a
>> hint I'd
>> really appreciate it. On the other hand if there is there's the
>> possibility
>> to write the vtkImageData directly it would be sufficient too.
>
>
> I recommend that you use vtkXMLImageDataWriter. As a matter of fact, I
> recommend that everybody starts using the VTK XML file formats (there
> many supporting the spectrum of VTK data objects---you need the VTK4.2
> release). Brad King did a great job implementing this functionality: the
> files can be written in pieces for parallel IO, support portable
> compression, provide random access, etc. There is a document extracted
> from the VTK User's Guide found at
> http://www.vtk.org/pdf/file-formats.pdf that describes them in detail
> and gives some examples of how to use them.
>
> Will
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
More information about the vtkusers
mailing list