[vtkusers] Cutting cells of different dimension

ALIZIER Julien AUSY julien.alizier-ausy at irsn.fr
Wed Feb 11 10:16:31 EST 2004


Hi all,
 
I am trying to make a cut of 3D and 2D cells in one Unstructured grid in
ParaView.
The problem is that it is possible to cut only if there is no data on cells
(which is not very useful obviously ;-).
 
Here is a tiny vtk file that shows the bug : it is a triangle and a line and
I'd like to cut them in order to get a line and a point. It works when I
removed the CELL_DATA part.
 
Thanks for your help
 
-- Julien
 
 
# vtk DataFile Version 2.0
cut problem with cell of different dimension
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 5 float
0 0 0
2 0 2
1 3 1
4 0 4
4 3 4
 
CELLS 2 7
3 0 1 2
2 3 4
 
CELL_TYPES 2
5
3
 
CELL_DATA 2
SCALARS cell_scalars float 1
LOOKUP_TABLE default
0
1
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040211/669168a1/attachment.htm>


More information about the vtkusers mailing list