cube_ascii.vtp 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0"?>
  2. <VTKFile type="PolyData" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="vtkZLibDataCompressor">
  3. <PolyData>
  4. <Piece NumberOfPoints="24" NumberOfVerts="0" NumberOfLines="0" NumberOfStrips="0" NumberOfPolys="6">
  5. <PointData Normals="Normals" TCoords="TCoords">
  6. <DataArray type="Float32" Name="Normals" NumberOfComponents="3" format="ascii" RangeMin="1" RangeMax="1">
  7. -1 0 0 -1 0 0
  8. -1 0 0 -1 0 0
  9. 1 0 0 1 0 0
  10. 1 0 0 1 0 0
  11. 0 -1 0 0 -1 0
  12. 0 -1 0 0 -1 0
  13. 0 1 0 0 1 0
  14. 0 1 0 0 1 0
  15. 0 0 -1 0 0 -1
  16. 0 0 -1 0 0 -1
  17. 0 0 1 0 0 1
  18. 0 0 1 0 0 1
  19. </DataArray>
  20. <DataArray type="Float32" Name="TCoords" NumberOfComponents="2" format="ascii" RangeMin="0.70710678119" RangeMax="2.1213203436">
  21. -0.5 -0.5 1.5 -0.5 -0.5 1.5
  22. 1.5 1.5 0.5 -0.5 -1.5 -0.5
  23. 0.5 1.5 -1.5 1.5 0.5 0.5
  24. 0.5 -1.5 -1.5 0.5 -1.5 -1.5
  25. -0.5 0.5 -0.5 -1.5 1.5 0.5
  26. 1.5 -1.5 0.5 -0.5 -1.5 -0.5
  27. 0.5 1.5 -1.5 1.5 -0.5 -0.5
  28. 1.5 -0.5 -0.5 1.5 1.5 1.5
  29. </DataArray>
  30. </PointData>
  31. <CellData>
  32. </CellData>
  33. <Points>
  34. <DataArray type="Float32" Name="Points" NumberOfComponents="3" format="ascii" RangeMin="1.7320508076" RangeMax="1.7320508076">
  35. -1 -1 -1 -1 -1 1
  36. -1 1 -1 -1 1 1
  37. 1 -1 -1 1 -1 1
  38. 1 1 -1 1 1 1
  39. -1 -1 -1 -1 -1 1
  40. 1 -1 -1 1 -1 1
  41. -1 1 -1 -1 1 1
  42. 1 1 -1 1 1 1
  43. -1 -1 -1 1 -1 -1
  44. -1 1 -1 1 1 -1
  45. -1 -1 1 1 -1 1
  46. -1 1 1 1 1 1
  47. </DataArray>
  48. </Points>
  49. <Verts>
  50. <DataArray type="Int64" Name="connectivity" format="ascii" RangeMin="1e+299" RangeMax="-1e+299">
  51. </DataArray>
  52. <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="1e+299" RangeMax="-1e+299">
  53. </DataArray>
  54. </Verts>
  55. <Lines>
  56. <DataArray type="Int64" Name="connectivity" format="ascii" RangeMin="1e+299" RangeMax="-1e+299">
  57. </DataArray>
  58. <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="1e+299" RangeMax="-1e+299">
  59. </DataArray>
  60. </Lines>
  61. <Strips>
  62. <DataArray type="Int64" Name="connectivity" format="ascii" RangeMin="1e+299" RangeMax="-1e+299">
  63. </DataArray>
  64. <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="1e+299" RangeMax="-1e+299">
  65. </DataArray>
  66. </Strips>
  67. <Polys>
  68. <DataArray type="Int64" Name="connectivity" format="ascii" RangeMin="0" RangeMax="23">
  69. 0 1 3 2 4 6
  70. 7 5 8 10 11 9
  71. 12 13 15 14 16 18
  72. 19 17 20 21 23 22
  73. </DataArray>
  74. <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="4" RangeMax="24">
  75. 4 8 12 16 20 24
  76. </DataArray>
  77. </Polys>
  78. </Piece>
  79. </PolyData>
  80. </VTKFile>