[vtkusers] Newby question

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Aug 5 13:53:28 EDT 2011


Yes. Basically to see something you need at least a cell. You can
either create one cell for each of your point that will be a vertex,
or you can create a single cell (poly-vertex) that list all your
points index.

Seb

PS: Here is what it should looks like:

DATASET UNSTRUCTURED_GRID
POINTS 125000 float
p0x p0y p0z
p1x p1y p1z
...
CELLS 1 12500
0 1 2 3 4 5 6 7 8 ... 124999
CELL_TYPES 1
2
POINT_DATA 125000
SCALARS data-name float 1
LOOKUP_TABLE default
v1 v2 v3 v4 ... v125000

On Fri, Aug 5, 2011 at 1:32 PM, uiemma <u.iemma at uniroma3.it> wrote:
> Thank you Seb.
> You mean that if I have, let's say, 125000 points scattered within a box
> domain with one spherical hole in the middle (this is actually the case :-)
> I can produce ONE SINGLE poly-vertex cell out of all the 125k points?
> I can't figure how. Maybe I have to re-read the document more carefully.
> Thank you
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Newby-question-tp4670142p4670201.html
> Sent from the VTK - Users 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
>
> 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
>



More information about the vtkusers mailing list