[vtkusers] Can I use vtkPNGWriter to convert the vtp file?

jaki19 nour_sn at hotmail.fr
Mon Mar 13 14:45:58 EDT 2017


Hallo, Can I use the vtkPNGWriter to convert this vtp file?

<?xml version="1.0"?>
<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian"
header_type="UInt32">
  <PolyData>
    <Piece NumberOfPoints="31" NumberOfVerts="0" NumberOfLines="6"
NumberOfStrips="0" NumberOfPolys="0">
      <PointData>
      </PointData>
      <CellData>
      </CellData>
      <Points>
        <DataArray type="Float32" Name="Points" NumberOfComponents="3"
format="ascii" RangeMin="1.5330346886" RangeMax="5.3259565752">
          0.65703159571 1.4067492485 -0.071122974157 0.7268204689
1.3479127884 -0.071122974157
          0.7268204689 1.4799579382 -0.071122974157 0.78580868244
1.4067492485 -0.071122974157
          1.4280683994 1.4067492485 -0.071122974157 1.4536409378
1.3891299963 -0.071122974157
          1.4536409378 1.4273985624 -0.071122974157 1.4955159426
1.4067492485 -0.071122974157
          2.1663379669 1.6412074566 -0.071122974157 2.1804614067
1.6385703087 -0.071122974157
          2.1804614067 1.6514030695 -0.071122974157 2.1860353947
1.6412074566 -0.071122974157
          2.1810593605 1.6491852999 -0.071122974157 2.6250286102
1.4067492485 -0.071122974157
          2.6650083065 1.3875135183 -0.071122974157 2.6650083065
1.4284353256 -0.071122974157
          2.6869971752 1.4067492485 -0.071122974157 4.0443096161
3.0479567051 -0.071122974157
          4.1186494827 3.0316622257 -0.071122974157 4.0817227364
3.0544438362 -0.071122974157
          4.1186494827 3.0825009346 -0.071122974157 4.1555762291
3.0221011639 -0.071122974157
          4.3609228134 3.0385420322 -0.071122974157 4.3474769592
3.0605349541 -0.071122974157
          4.3609228134 3.0549764633 -0.071122974157 4.5862355232
0.43318101764 -0.071122974157
          4.6031961441 0.36627349257 -0.071122974157 4.5693078041
0.46891644597 -0.071122974157
          4.6031961441 0.49431663752 -0.071122974157 4.367002964
3.0479567051 -0.071122974157
          4.6165156364 0.46891644597 -0.071122974157
        </DataArray>
      </Points>
      <Verts>
        <DataArray type="Int64" Name="connectivity" format="ascii"
RangeMin="1e+299" RangeMax="-1e+299">
        </DataArray>
        <DataArray type="Int64" Name="offsets" format="ascii"
RangeMin="1e+299" RangeMax="-1e+299">
        </DataArray>
      </Verts>
      <Lines>
        <DataArray type="Int64" Name="connectivity" format="ascii"
RangeMin="0" RangeMax="30">
          0 1 3 2 0 4
          5 7 6 4 8 9
          11 12 10 8 13 14
          16 15 13 17 18 21
          22 29 24 23 20 19
          17 25 26 30 28 27
          25
        </DataArray>
        <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="5"
RangeMax="37">
          5 10 16 21 31 37
        </DataArray>
      </Lines>
      <Strips>
        <DataArray type="Int64" Name="connectivity" format="ascii"
RangeMin="0" RangeMax="30">
        </DataArray>
        <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="5"
RangeMax="37">
        </DataArray>
      </Strips>
      <Polys>
        <DataArray type="Int64" Name="connectivity" format="ascii"
RangeMin="0" RangeMax="30">
        </DataArray>
        <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="5"
RangeMax="37">
        </DataArray>
      </Polys>
    </Piece>
  </PolyData>
</VTKFile>


Many thanks




--
View this message in context: http://vtk.1045678.n5.nabble.com/Can-I-use-vtkPNGWriter-to-convert-the-vtp-file-tp5742461.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list