[Paraview] vtk triangle strip file

Mike Jackson imikejackson at gmail.com
Tue Feb 26 14:08:12 EST 2008


> TRIANGLE_STRIPS 22 66
> 3 1 2 3
> 3 1 3 4
> 3 0 1 4

.....  fill in the remaining.

Look at page 4 of hte file-formats.pdf file in the vtk distribution.


--  
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Feb 26, 2008, at 1:33 PM, Samuele Dietler wrote:

> 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). My file is a triangular mesh, i have 22  
> triangles....Does anyone help me please....Thank you thank you... :)
> 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
>
> Raccolta foto di Windows Live Ordina e condividi le tue foto in  
> maniera semplice e veloce!
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20080226/53c8f020/attachment.htm


More information about the ParaView mailing list