[vtkusers] Triangle_strip vtk...please help me....:)

Alethea Bair abair at viz.tamu.edu
Wed Feb 27 13:31:16 EST 2008


Try changing the 65 to a 66 in the TRIANGLE_STRIPS line
22*3 = 66...

-Alethea

> Hello,
> i'm new with vtk and paraview. I have a problem with the a vtk file. I
> create my vtk file following the VTK file
> format pdf but i have always an error when i open my file( i open the file
> in paraview). Does anyone help me please....
> the error is ERROR: in
> C:\berk\ReleaseBuilds\Paraview3\VTK\IO\vtkPolyDataReader.cxx, line 305
> vtkPolyDataReader
> (06B66CD0) : Unrecognized keyword: 13
>
> My vtk file is :
> # vtk DataFile Version 5.0
> vtk file data for triangular mesh matalab
> ASCII
> DATASET POLYDATA
> POINTS 17 float
> -2.500000 -1.000000 1.000000
> -0.833330 -1.000000 2.000000
> -0.000000 0.000000 4.000000
> -1.000000 0.000000 6.000000
> -1.706700 -0.340000 3.000000
> -2.500000 0.000000 5.000000
> -1.700000 0.300000 6.000000
> -2.500000 1.000000 10.000000
> -0.833330 1.000000 9.000000
> 0.833330 1.000000 12.000000
> 2.500000 1.000000 11.000000
> 1.700000 0.300000 3.000000
> 2.500000 0.000000 13.000000
> 1.706700 -0.340000 15.000000
> 1.000000 0.000000 12.000000
> 0.833330 -1.000000 11.000000
> 2.500000 -1.000000 10.000000
> TRIANGLE_STRIPS 22 65
> 1 2 3
> 1 3 4
> 0 1 4
> 5 0 4
> 3 6 4
> 6 5 4
> 7 5 6
> 2 8 3
> 8 7 6
> 3 8 6
> 9 8 2
> 10 9 11
> 12 10 11
> 12 11 13
> 9 2 14
> 9 14 11
> 11 14 13
> 14 15 13
> 2 15 14
> 1 15 2
> 15 16 13
> 16 12 13
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>





More information about the vtkusers mailing list