[vtkusers] CELL_TYPE VTK_QUAD=9 and 8 Node Quads

aselmann at gmx.de aselmann at gmx.de
Thu Dec 13 11:25:48 EST 2001


Hi vtkusers,

I'm new to vtk and try to convert my first vtk datafiles
the structure of  my data is 

HEAD
NODALCOORDINATES
1  2.6150000000E+01  -1.6648648594E+01  -9.4000000000E+01
2  2.6150000000E+01  1.6648648594E+01  -9.4000000000E+01 
3  1.9541875E+01 -2.4064797232E+01  -9.4000000000E+01
......
ELEMENTDATA
1  17  2  65  66  33  120  121  122  
2  16  17  66  67  32  122  123  124  
3  15  16  67  68  31  124  125  126 

do a vtk data file  look like 

# vtk DataFile Version 2.0
input 2 vtk 
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 3858 float
2.6150000000e+01 -1.6648648594e+01 -9.4000000000e+01 
2.6150000000e+01 1.6648648594e+01 -9.4000000000e+01 
1.9541875000e+01 -2.4064797232e+01 -9.4000000000e+01 
....
CELLS 1284 11556
4 17 2 65 66 
4 33 120 121 122 
4 16 17 66 67 
4 32 122 123 124 
4 15 16 67 68 
4 31 124 125 126 ....
CELL_TYPES 1284 
9
9
9
9
9
9
9

does this make sense


-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




More information about the vtkusers mailing list