[Paraview] Reader for data file containing multiple kinds of data?

David E DeMarle dave.demarle at kitware.com
Fri Jul 25 10:39:23 EDT 2008


You probably want to produce a multiblock data set
(http://www.vtk.org/doc/nightly/html/classvtkMultiBlockDataSet.html).
That is a data object which contains other data sets.

To get started, take a look at the vtkDataObjectGenerator as an
example of how to produce composite data sets.

Then take a look at the XDMF reader which produces multiblock data
sets by reading hdf files, using an xml layer to interpret the hdf
files' contents.

cheers,
Dave DeMarle

On Fri, Jul 25, 2008 at 10:31 AM, John R. Cary <cary at txcorp.com> wrote:
> I have just ordered the ParaView Guide, and the VTK
> Textbook and User's Guide, so answering by reference to
> those will be most welcome.
>
> My data files are hdf5 with a schema described by data
> attributes, so that I can pick out groups in the file
> and classify them as meshes (rectilinear, structured,
> unstructured, ...) or data, with the latter knowing what
> mesh they live on.  So the reader cannot derive from,
> e.g., vtkUnstructuredGridAlgorithm (like the example at
> http://www.paraview.org/Wiki/ParaView:Extend), as the
> data is not all on an unstructured grid.
>
> Furthermore, in the end, I suppose once I get this into
> ParaView, the result of opening a file will be the presence
> of several sources in the pipeline browser of ParaView.
>
> While I am waiting for the arrival of the above noted
> books, can someone point me to any starting point, such
> as class that does something similar to this?
>
> Thanks.....John Cary
>
> PS - we currently parse these files with pytables
> and then make 2D plots with matplotlib.
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list