<div>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:</div>
<div> </div>
<div># vtk DataFile Version 2.0<br>Polydata Example<br>ASCII<br>DATASET POLYDATA<br>POINTS 22 int<br>0 0 0 0 0 2<br>2 0 0 2 1 1<br>1 2 0 2 2 2<br>0 0 1 0 0 3<br>0 1 1 0 1 3<br>1 1 1 1 1 4<br>0 1 2 1 1 4<br>2 1 2 0 1 3<br>
1 1 3<br>2 1 5<br>1 1 7<br>2 1 9<br>2 2 12<br>2 3 16<br>LINES 9 22<br>2 0 1<br>2 2 3<br>2 4 5<br>2 6 7<br>2 8 9<br>2 10 11<br>2 12 13<br>2 14 15<br>6 16 17 18 19 20 21</div>
<div> </div>
<div>Can anyone see where im going wrong/? Thanks! </div>
<div> </div>
<div>Shawn</div>