[vtkusers] Problem when creating an hexagonal prism

fez fds helpwithvtk at gmail.com
Wed Jun 18 12:38:56 EDT 2008


Hello!
I would like to make an hexagonal prism using vtk (in order to display it
with paraview).

I wrote this, I thought it would work but in fact I always get an error
message when I try to open the file with paraview:
*
# vtk DataFile Version 4.0
vtk output
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 36 float
-10 5 0
0 10 0
10 5 0
10 -5 0
0 -5 0
-10 -5 0
**-10 5 -8
0 10 -8
10 5 -8
10 -5 -8
0 -5 -8
-10 -5 -8*
*
CELLS 1 13
12  0 1 2 3 4 5 6 7 8 9 10 11

CELL_TYPES 1
16

CELL_DATA 1
SCALARS test int*
LOOKUP_TABLE default
12


I don't understand why it does not work...
Do you have an idea of how to fix this problem?

Thank you,
Alexandre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080618/2e65b418/attachment.htm>


More information about the vtkusers mailing list