[vtkusers] Creating a polydata file
Randall Hand
randall.hand at gmail.com
Mon May 8 15:58:49 EDT 2006
It would help if you told us what the error is.
If it's a Segfault/Core dump, Which i'm guessing it is, then I bet you need
to change the LINES line to instead read:
LINES 9 31
(You must count the first number, number of nodes, in the "total" count).
On 5/8/06, shawn mckenziie <shawn.mcknezie at gmail.com> wrote:
>
> 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
>
> _______________________________________________
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060508/25d1f656/attachment.htm>
More information about the vtkusers
mailing list