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 > >Hi, > > > >is there any way to import vtk formated data files in > >opendx. The structure of these data files look like: > > > > > ><?xml version="1.0"?> > ><VTKFile type="RectilinearGrid" format="ascii"> > > <RectilinearGrid WholeExtent="1 82 1 50 1 66"> > > <Piece Extent="1 82 1 50 1 66"> > > <Coordinates> > > <DataArray NumberOfComponents="1" format = "ascii" > >type="Float32" Name="x-coords"> > > 0. > > 0.100000001 > > 0.300000012 > > 0.5 > > ... > > ... > > </DataArray> > > <DataArray NumberOfComponents="1" format = "ascii" > >type="Float32" Name="y-coords"> > > 0. > > 0.0116908271 > > 0.0362415649 > > 0.0632473826 > > ... > > ... > > </DataArray> > > <DataArray NumberOfComponents="1" format = "ascii" > >type="Float32" Name="z-coords"> > > 0.000000E+00 > > 1.000000E-01 > > 3.000000E-01 > > 5.000000E-01 > > ... > > ... > > </DataArray> > > </Coordinates> > > <PointData Vectors="VelocityPhase1"> > > <DataArray NumberOfComponents="3" format = "ascii" > >type="Float32" Name="VelocityPhase1"> > > 1.000189E-10 1.000189E-10 1.000189E-10 > > 1.000189E-10 1.000189E-10 1.000189E-10 > > 1.000189E-10 1.000189E-10 1.000189E-10 > > ... > > ... > > </DataArray> > > </PointData> > > </Piece> > > </RectilinearGrid> > ></VTKFile> > > > >I mean, could this be done with a sort of 'general' file or > >does there even exist some kind of module to import these kind of > >data formats? Would be realy nice! > > > >Best Greetings! > >Fabian > > > -- > ............................................................................. > David L. Thompson Visualization and Imagery Solutions, > Inc. > mailto:[EMAIL PROTECTED] 5515 Skyway Drive, Missoula, MT 59804 > Phone : (406)756-7472
