Hi, I have an issue with the non-linear cell type VTK_QUADRATIC_EDGE. In an unstructured grid, I made two disjoints VTK_QUADRATIC_EDGE with a SCALARS POINT_DATA (scalar field) of value 1.0 on one and 0.0 on the other. My problem comes when the two VTK_QUADRATIC_EDGE overlay on one vertex. In this case, Paraview seems to transform the discountinuous field in a continuous one.
To test this issue, I suggest you run my two little tests below. (In Legacy style) I'm wondering if this is a Bug or a normal behavior? REMARK: This issue doesn't appear with the linear cell type VTK_LINE! Thank you for your answers. Benoît Pouliot ------------------------------------------------------------- # vtk DataFile Version 2.0 Test 1 : disjoints VTK_QUADRATIC_EDGE : one vertex in common ASCII DATASET UNSTRUCTURED_GRID POINTS 6 float 0 0 0 0.5 0 0 1 0 0 1 1 0 .5 0.5 0 0 0 0 CELLS 2 8 3 0 2 1 3 5 3 4 CELL_TYPES 2 21 21 POINT_DATA 6 SCALARS scalars float 1 LOOKUP_TABLE default 1.0 1.0 1.0 0.0 0.0 0.0 ------------------------------------------------------------- # vtk DataFile Version 2.0 Test 2 : disjoints VTK_QUADRATIC_EDGE : no vertex in common ASCII DATASET UNSTRUCTURED_GRID POINTS 6 float 0 0 0 0.5 0 0 1 0 0 1 1 0 .5 0.5 0 0.00000000001 0 0 CELLS 2 8 3 0 2 1 3 5 3 4 CELL_TYPES 2 21 21 POINT_DATA 6 SCALARS scalars float 1 LOOKUP_TABLE default 1.0 1.0 1.0 0.0 0.0 0.0 ------------------------------------------------------------- _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
