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

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Jul 28 11:36:22 EDT 2004


Tom,

	If you don't have a recent VTK book, you can look online:

http://vtk.org/pdf/file-formats.pdf

	And XML itself provide a much better validation.

Mathieu

W.T. Bridgman wrote:
> Dooh!!!
> 
> That seems to have fixed it - leaving another set of problems to solve.
> 
> Thanks.  I looked at that line many a time and never picked up on it.
> 
> I'll have to find docs on the XML file formats.  I assume they have  
> better validation?
> 
> Tom
> 
> On Jul 28, 2004, at 10:35 AM, Mathieu Malaterre wrote:
> 
>> Oops, didn't carfeully read your email.
>>
>> So the buggy file was the other one, sorry. Try changing:
>>
>> CELLS_TYPES
>>
>> into
>>
>> CELL_TYPES
>>
>> BTW, these file format are legacy file format. Maybe try looking at  
>> the newest XML file format. They shouldn't seg fault as the old  format.
>>
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
> -- 
> ***********************************************************************
> **** NOTE NEW EMAIL ADDRESS AS THE WYETH ADDRESS WILL GO AWAY SOON ****
> ***********************************************************************
> 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