[vtkusers] .vtk file Issues

Bill Lorensen bill.lorensen at gmail.com
Tue Jul 16 07:32:41 EDT 2013


The file format is described here:
http://www.vtk.org/VTK/img/file-formats.pdf

LINES 1 5 // There is one line and the size of the line cell list is 5
4 0 1 2 3   // The cell contains 4 points, 0, 1, 2, 3

if there were 2 lines then
LINES 2 8
4 0 1 2 3
2 5 6



On Tue, Jul 16, 2013 at 5:05 AM, rahul indoria <rahulindoria5 at gmail.com>wrote:

> Hi,
>     I have a .vtk file, i am not able to understand the last two lines of
> the text written inside this, here i am writing the text of .vtk, could you
> please explain me the last two lines of this.
>
> Here is the text of .vtk file
>
> # vtk DataFile Version 3.0
> vtk output
> ASCII
> DATASET POLYDATA
> POINTS 4 float
> 0 122 0
> 62  100 0
> 128  140 0
> 188 122 0
> LINES 1 5   // I am not understanding these last two lines.
> 4 0 1 2 3     //  I am not understanding these last two lines.
>
>
> Looking forward your reply soon.
>
> Rahul Indoria
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130716/ad9e5e05/attachment.htm>


More information about the vtkusers mailing list