Raphael, In talking to Dave, it seems that indeed you have found a bug in the writer (and in the specification). It does not seem to be a way to save field data unless your dataset is of type FIELD (a collection of arrays). The arrays attached to POINT_DATA (or CELL_DATA) which are designated as FIELD have to have the same number of tuples as the points (or cells). The terminology is kind of confusing as well. Would you mind filing a bug report. Thanks, Dan
On Fri, Aug 7, 2015 at 10:16 AM Dan Lipsa <[email protected]> wrote: > Hi Raphael, > > On Fri, Aug 7, 2015 at 5:02 AM Schubert, Raphael < > [email protected]> wrote: > >> The way I understand the file format specification it should be illegal >> to define a FIELD dataset in addition to, e.g, STRUCTURED_POINTS, as I can >> find it neither explicitly allowed (there is only mention of one dataset >> per file) nor presented in an example. It therefore seems like an >> accidental feature in vtk that I can actually read back the produced files. >> > > A FIELD dataset is a way to specify data without topological or > geometrical structure. One can also define FIELD arrays after CELL_DATA or > POINT_DATA for a dataset. Look at the first example on page 7. In the > CELL_DATA section there is a field arrays. > > > >>
_______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
