[vtkusers] A question about VTK Files...

Sergio Andrés seanru_nigu at yahoo.es
Tue Sep 30 03:35:26 EDT 2003


Hello all,

I would like to use a VTK File (XML Format) to store a PolyData dataset. 

Furthermore, I want to include new necessary information in this file, 
by defining new customized XML tags that delimit my own data.

For instance:
----------------------------------------------------------------------

<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian"
    compressor="vtkZLibDataCompressor">
  <PolyData>
    <Piece NumberOfPoints="26" NumberOfVerts="0" NumberOfLines="1"
         NumberOfStrips="0" NumberOfPolys="3">
      <Points>
       ....
      <Points>


      <MY_OWN_DATA>
       ....
      </MY_OWN_DATA>


      <PointData>
      <PointData>
      <CellData>
      <CellData>
      <Verts>
      <Verts>
      <Lines>
        .....
      <Lines>
      <Strips>
      <Strips>
      <Polys>
        ......
      <Polys>
    <Piece>
  <PolyData>
<VTKFile>
----------------------------------------------------------------------

I am not sure that this is the right way to do this, since it could be 
problematic for VTK Readers.

Maybe, it is better to include my own data in another file.... 

If someone can give me some advice about it, I would appreciate it.

Thanks !!

Sergio.




___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es



More information about the vtkusers mailing list