[vtkusers] extending VTK's XML file formats

Tim Hutton tim.hutton at gmail.com
Tue Jan 10 11:49:48 EST 2012


On 10 January 2012 16:19, Matheus Viana <vianamp at gmail.com> wrote:
> Hi Tim.
>
> Did you check this example?
> http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/IO/Testing/Tcl/TestXMLImageDataIO.tcl?root=VTK&content-type=text/plain
>
> Is that useful for you?

Thanks Matheus, but unless I've missed something that example just
uses the standard XML format, without adding anything. I need to add
significant amounts of data (strings, values, etc.).

>
> Best,
> Matheus Viana
> Computational Physics
> IFSC-USP
>
>
> 2012/1/10 Tim Hutton <tim.hutton at gmail.com>
>>
>> What is the accepted way of extending VTK's XML file formats? I would
>> like to be able to attach metadata to a vtkImageData file. Presumably
>> the right approach involves subclassing vtkXMLImageDataWriter and
>> vtkXMLImageDataReader but I'm not sure how to proceed. Is there an
>> example somewhere?
>>
>> Thanks,
>>
>> Tim
>>
>> --
>> Tim Hutton - http://www.sq3.org.uk -
>> http://profiles.google.com/tim.hutton/
>> _______________________________________________
>> 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
>
>



-- 
Tim Hutton - http://www.sq3.org.uk - http://profiles.google.com/tim.hutton/



More information about the vtkusers mailing list