Dear VTK Users,<div><br></div><div>I am relatively new to VTK, and have run into some issues.</div><div><br></div><div>My goal is to build a vtkDataObject, containing multiple fields. This DataObject would be written to an ASCII file using an appropriate writer, to be processed in the pipeline later on. Each FIELD in the vtkDataObject would contain the data at a specific timestep.</div>
<div><br></div><div>The vtkDataFile I am trying to build resembles the file blowAttr.vtk (a vtk example of a previous release). This file can be found here for reference: <span class="Apple-style-span" style="border-collapse: collapse; font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://dl.dropbox.com/u/182396/blowAttr.vtk" target="_top" rel="nofollow" link="external" style="font-size: 1em; color: rgb(0, 0, 238); ">http://dl.dropbox.com/u/182396/blowAttr.vtk</a></span></div>
<div><br></div><div>I am able to read my data, build a single vtkFieldData object, and then add this vtkFieldData to a vtkDataObject using the SetFieldData() method.</div><div><br></div><div>How can i add multiple FIELDS to a vtkDataObject? Do is use a vtkDataObjectWriter? </div>
<div><br></div><div>I have been looking for a way to do this for quite some time. Any hints on the matter would be greatly appreciated.</div><div><br></div><div>Kind regards,</div><div>Jasper</div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8">