[Paraview] defining new reader

Mark Olesen Mark.Olesen at faurecia.com
Thu Jul 29 15:43:29 EDT 2010


On Thu, 2010-07-29 at 12:09 -0400, Andy Bauer wrote:
> The test file to be read in shouldn't be too large so that the test
> actually completes fairly quickly.  My best recommendation is to see
> how other readers are being test.  What type of output does your
> reader produce? 

It produces an UnstructuredGrid.
Actually it's here if you're interested in taking a look:
http://github.com/olesenm/VTK/blob/custom/IO/vtkProStarReader.h
http://github.com/olesenm/VTK/blob/custom/IO/vtkProStarReader.cxx

The xml layer is still on the Paraview side of things though:
http://github.com/olesenm/ParaView/blob/custom/Servers/ServerManager/Resources/readers.xml


I can easily whip up some small test files with various cell shapes
(tet, polyhedral) etc, but I'm not not actually sure how this is
supposed to be used to check that reader is working correctly.

I would like to get it integrated though into paraview/vtk though.
For CFD geometries (not results), it's a fairly simple, robust,
ASCII-based format that covers all (linear) 2/3-D cell types.


/mark


DISCLAIMER:
This electronic transmission (and any attachments thereto) is intended solely for the use of the addressee(s). It may contain confidential or legally privileged information. If you are not the intended recipient of this message, you must delete it immediately and notify the sender. Any unauthorized use or disclosure of this message is strictly prohibited. Faurecia does not guarantee the integrity of this transmission and shall therefore never be liable if the message is altered or falsified nor for any virus, interception or damage to your system.



More information about the ParaView mailing list