[vtkusers] (legacy) VTK file format: several dataset of different dimensions

fred fredmfp at gmail.com
Sun Jan 21 11:32:26 EST 2007


Hi all,

Is it possible to have several dataset with different dimensions in one
VTK file ?

I mean something like this; I have tried it but it does not work.

--- first dataset
EM 3D data
ASCII or BINARY
DATASET UNSTRUCTURED_GRID
POINTS n float
.../...

CELLS p q
.../...

CELL_TYPE p
.../...

POINT_DATA n
SCALARS field_scal float
LOOKUP_TABLE default
.../...

VECTORS field_vect float
.../...
---

followed by another dataset

--- second dataset
DATASET UNSTRUCTURED_GRID
POINTS P float
.../...

POINT_DATA P
VECTORS obs_pos float
.../...
---

The aim is to display some little spheres as observation points using
sphere glyph
at specific positions, in a 3D scalar/vector data field.

I found no clue in VTK file format doc and no examples in $VTK_DATA_ROOT.

Thanks in advance.

Cheers,

-- 
/F




More information about the vtkusers mailing list