[vtkusers] write dataset in VTK format

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Sep 16 10:43:00 EDT 2008


What ? do you have a way to reproduce the problem ?

thx

On Tue, Sep 16, 2008 at 4:30 PM, Madhusudhanan Balasubramanian
<madhu_lsu at yahoo.com> wrote:
> Hi Mathieu,
>
> The problem with vtkStructuredPointsWriter is that it doesn't support signed char type data.
>
> Madhu.
>
>
> --- On Tue, 9/16/08, Mathieu Malaterre <mathieu.malaterre at gmail.com> wrote:
>
>> From: Mathieu Malaterre <mathieu.malaterre at gmail.com>
>> Subject: Re: [vtkusers] write dataset in VTK format
>> To: madhu_lsu at yahoo.com
>> Date: Tuesday, September 16, 2008, 2:13 AM
>> vtkStructuredPointsWriter should do the trick.
>>
>> AFAIK you can still use vtkXMLImageDataWriter but you need
>> to specify
>> Binary option (in which case file will not be a valid XML
>> file), by
>> default it is using mime64 encoding (required by XML
>> specs).
>>
>> 2cts
>>
>> On Tue, Sep 16, 2008 at 5:53 AM, Madhusudhanan
>> Balasubramanian
>> <madhu_lsu at yahoo.com> wrote:
>> > Hi,
>> >
>> > Can someone suggest a suitable class to write
>> (vtkImageData*) of size 1024x200x200 into a VTK format file
>> (.vti or .vtk)?  I tried vtkXMLImageDataWriter, but the data
>> file is almost 6 times the original size with this class.  I
>> appreciate the help.
>> >
>> > Madhu.
>> >
>> >
>> >
>> > _______________________________________________
>> > This is the private VTK discussion list.
>> > Please keep messages on-topic. Check the FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>>
>>
>>
>> --
>> Mathieu
>
>
>
>



-- 
Mathieu



More information about the vtkusers mailing list