[vtkusers] Creating a polydata file
shawn mckenziie
shawn.mcknezie at gmail.com
Mon May 8 15:53:13 EDT 2006
I am a new VTK user, just creating a .vtp file of only lines and polylines,
but im getting an error and cannot open this file...the code is:
# vtk DataFile Version 2.0
Polydata Example
ASCII
DATASET POLYDATA
POINTS 22 int
0 0 0 0 0 2
2 0 0 2 1 1
1 2 0 2 2 2
0 0 1 0 0 3
0 1 1 0 1 3
1 1 1 1 1 4
0 1 2 1 1 4
2 1 2 0 1 3
1 1 3
2 1 5
1 1 7
2 1 9
2 2 12
2 3 16
LINES 9 22
2 0 1
2 2 3
2 4 5
2 6 7
2 8 9
2 10 11
2 12 13
2 14 15
6 16 17 18 19 20 21
Can anyone see where im going wrong/? Thanks!
Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060508/f4ab973c/attachment.htm>
More information about the vtkusers
mailing list