Hi Tim.<div><br></div><div>Did you check this example?</div><div><a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/IO/Testing/Tcl/TestXMLImageDataIO.tcl?root=VTK&amp;content-type=text/plain">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/IO/Testing/Tcl/TestXMLImageDataIO.tcl?root=VTK&amp;content-type=text/plain</a></div>
<div><br></div><div>Is that useful for you?</div><div><br></div><div>Best,</div><div><b>Matheus Viana<br><i>Computational Physics</i><br><i>IFSC-USP</i></b><br>
<br><br><div class="gmail_quote">2012/1/10 Tim Hutton <span dir="ltr">&lt;<a href="mailto:tim.hutton@gmail.com">tim.hutton@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is the accepted way of extending VTK&#39;s XML file formats? I would<br>
like to be able to attach metadata to a vtkImageData file. Presumably<br>
the right approach involves subclassing vtkXMLImageDataWriter and<br>
vtkXMLImageDataReader but I&#39;m not sure how to proceed. Is there an<br>
example somewhere?<br>
<br>
Thanks,<br>
<br>
Tim<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Tim Hutton - <a href="http://www.sq3.org.uk" target="_blank">http://www.sq3.org.uk</a> - <a href="http://profiles.google.com/tim.hutton/" target="_blank">http://profiles.google.com/tim.hutton/</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</font></span></blockquote></div><br></div>