[vtkusers] Re: [MayaVi-users] Re: Is there a validator for VTK file formats?

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Jul 28 10:29:48 EDT 2004


Tom,

	You header look suspicious. Have a look at VTKData/Data/tetraMesh.vtk 
(i copy the header from there).

Here is the diff:

$ diff -u particlefluxstruct.vtk particlefluxstruct2.vtk 

--- particlefluxstruct.vtk      2004-07-28 10:28:28.000000000 -0400
+++ particlefluxstruct2.vtk     2004-07-28 10:27:50.000000000 -0400
@@ -1,8 +1,8 @@
  # vtk DataFile Version 2.0
-flux model data
+Unstructured Grid Example
  ASCII
-DATASET STRUCTURED_GRID
-DIMENSIONS            4            4            5
+
+DATASET UNSTRUCTURED_GRID
  POINTS           80 float
       0.250000       0.00000      0.433013
        1.65954       0.00000      0.604023


HTH
Mathieu

W.T. Bridgman wrote:
> Here's a reduced version of the files.
> 
> particlefluxstruct.vtk works fine but doesn't complete the toroidal 
> shape in the xy-plane, but it does illustrate the basic geometry. The 
> lack of cell connectivity breaks the isosurface generation.
> 
> particleflux.vtk is an unstructured grid and fails to load.
> Thoughts on why that is?
> 
> Thanks,
> Tom
> 
> 
> -- 
> Dr. William T."Tom" Bridgman               Scientific Visualization Studio
> Global Science & Technology, Inc.          NASA/Goddard Space Flight Center
> Email: William.T.Bridgman.1 at gsfc.nasa.gov  Code 935
> Phone: 301-286-1346                        Greenbelt, MD 20771
> FAX:   TBD                                 http://svs.gsfc.nasa.gov/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers






More information about the vtkusers mailing list