---------- Forwarded message ---------- From: Berk Geveci <[email protected]> Date: 2010/1/20 Subject: Re: [Paraview] quadrangle mesh visualization To: HUGUET Frédéric 223652 <[email protected]>
That's not correct. You have triangles (hence the triangle strips). If you want to display quads, you have two choices: use polygons for the polydata or use quads with unstructured grid. It would look like: POLYGONS 9 45 4 0 1 5 4 4 1 2 6 5 4 2 3 7 6 4 4 5 9 8 or (for unstructured grid) like: CELLS 9 45 4 0 1 5 4 4 1 2 6 5 4 2 3 7 6 ... CELL_TYPES 9 9 9 Hint: Use the plane source and save it out as a ASCII VTK file to see an example. If you want unstructured grid, first apply the Clean to Grid filter. PS: Is it OK for me to forward this to the paraview-users list? Best, -berk 2010/1/20 HUGUET Frédéric 223652 <[email protected]>: > What do you mean by "second order quad" ? In my case it's only a quadtree > based mesh (so elements are juste rectanbles, but when I display it with > paraview, one diagonal of each rectangle is displayed and I don't want that). > > For example the mesh connectivity in the vtk mesh file is this one : > > TRIANGLE STRIPS 7336 36680 > > 4 0 81 82 85 > 4 81 25 85 84 > 4 82 85 26 83 > .... > > And so on. > > I have rectangles but displayed as triangles. > > > Frédéric Huguet, PhD > > LETI - CEA Grenoble > > Laboratoire d'Ingénierie Nanophotonique > > 17 rue des Martyrs, 38054 Grenoble Cedex 9, France > > -----Message d'origine----- > De : Berk Geveci [mailto:[email protected]] > Envoyé : mercredi 20 janvier 2010 15:43 > À : HUGUET Frédéric 223652 > Cc : [email protected] > Objet : Re: [Paraview] quadrangle mesh visualization > > Is this a second order quad by any chance? Can you post a dataset? > > -berk > > 2010/1/20 HUGUET Frédéric 223652 <[email protected]>: >> Hi, >> >> >> >> I have vtk quadrangle mesh i visualize with paraview. >> >> >> >> I have a problem : paraview displays the diagonals of every quadrangle >> element in my mesh. How do I eliminate them from display ? >> >> >> >> Thank you, >> >> >> >> Frédéric Huguet, PhD >> >> LETI - CEA Grenoble >> >> Laboratoire d'Ingénierie Nanophotonique >> >> 17 rue des Martyrs, 38054 Grenoble Cedex 9, France >> >> >> >> _______________________________________________ >> 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 >> >> > _______________________________________________ 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
