[vtk-developers] What is cell list size in vtk file?
David E DeMarle
dave.demarle at kitware.com
Tue Aug 14 11:51:03 EDT 2012
" (i.e., sum of numPoints and connectivity indices over each cell)." means:
Size = Add up the entries for the numcells cells, where each cell has
1+numpoints entries.
For a polydata with one triangle then:
POLYGONS 1 4
3 0 1 2
For a polydata with one quad then:
POLYGONS 1 5
4 0 1 2 3
For a polydata with one triangle and one quad:
POLYGONS 2 9
3 0 1 2
4 0 1 2 3
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Tue, Aug 14, 2012 at 11:05 AM, r_karim <rashed.karim at gmail.com> wrote:
> I have examined the contents of a VTK polydata file and I dont understand
> this entry:
>
> POLYGONS n size
> ...
> ...
> ...
>
> What is size? In documentation it says it is "the cell list size and thus
> total number of integer values required to represent the list (i.e. sum of
> numpoints and connectivity indices over each cell)".
>
> How can I derive this number from number of points and cells. What is the
> mathematical relationship?
>
> Best
> RK
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/What-is-cell-list-size-in-vtk-file-tp5715245.html
> Sent from the VTK - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
More information about the vtk-developers
mailing list