Correct. For example, if your data comprises exactly one tetrahedron, then your output should contain four points and the topology for the one tetrahedron. The topology of the four triangular faces is implicit in the topology of the tetrahedron. Including them explicitly would be counterproductive.
-Ken On 7/27/09 11:50 AM, "j s" <j.s4...@gmail.com> wrote: On Mon, Jul 27, 2009 at 11:26 AM, Moreland, Kenneth <kmo...@sandia.gov> wrote: I don't understand your question. Can you clarify it? Are you perhaps asking if you need to write out, for example, the triangle faces of each tetrahedron you write out? (Answer: no.) Are you asking if you can define a point, line, or triangle in 3D space? (Answer: yes.) -Ken Hello Ken, I was asking the first question. I implemented the vtk file format for an unstructured grid using: type 10 elements for 3D (tetrahedra) type 5 elements for 2D (triangles) type 3 elements for 1D (lines) Each of these elements are defined in terms of points. My data only exists on points (point data). Is there any reason why I would want to put the lower dimensional elements in my vtk file in addition to the highest dimensional elements? >From the answer you have given, I assume the answer is no? Regards, Juan On 7/25/09 9:53 AM, "j s" <j.s4...@gmail.com <http://j.s4...@gmail.com> > wrote: Hello, I'm not familiar with all of the plugins in paraview, but I am wondering whether I need to write lower order elements in my vtk files for flexibility. All of my data is point based. I am thinking that: if 1d: Write Lines if 2d: Write Triangles if 3d: Write Tetrahedron Would there be any reason to write lines and triangles in 3d to the output file? Thanks, Juan **** Kenneth Moreland *** Sandia National Laboratories *********** *** *** *** email: kmo...@sandia.gov <http://kmo...@sandia.gov> ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel <http://www.cs.unm.edu/%7Ekmorel> **** Kenneth Moreland *** Sandia National Laboratories *********** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel
_______________________________________________ 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