Hi, VTK's data format is modeled after that of OpenDX. While OpenDX simplifies life by offering positions and connections but represents connections and positions with various space-optimizing techniques, such as IrregularArray, PathArray, and MeshArray, VTK defines separate dataset types for unstructured points, unstructured grids, structured grids, and image data. Just a slightly different approach. The translation should be pretty direct and complete.
In order to write an importer, you would write a loadable module. In the HTML documentation, check out the user guide, chapters 3 on the data model and appendix B on file formats. Then look into how to write a module in the programmer's guide. That covers working with positions and connections. The HTML is more recent than the PDF docs. It's some work to get started, but I'm sure you'll be overwhelmedly happy with how rewarding it is to contribute. Also, for VTK, the file format has changed slightly from the main VTK textbook, but you'll pick up on that. Drew > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Fabian Braennstroem > Sent: Tuesday, April 05, 2005 11:45 AM > To: [email protected] > Subject: [opendx-users] Re: vtk format in opendx > > Hello David, > > * David schrieb am 05 Apr 2005: > > > Does VTK have a full description of their data format? If so, it > > wouldn't take much to write and importer for it. > > > > David > > > > Thanks, it should have. Isn't it a certain kind of structure > which I which I wrote? > Do you have any hints, where I should look first, when > writing an importorter? Maybe, there are any simple examples? > > Best Greetings! > Fabian >
