Re: [Paraview] Compute cell area

2009-01-26 Thread Clinton Stimpson
What about the Mesh Quality filter? You can select Area for triangle and quadrilateral quality. You get a cell data array with results for each cell. Clint Moreland, Kenneth wrote: John, Thanks. I already look into both of those filters. Although both filters internally compute

Re: [Paraview] Compute cell area

2009-01-26 Thread Moreland, Kenneth
I didn't think of that filter. Thanks, Clint. -Ken On 1/26/09 10:34 AM, Clinton Stimpson clin...@elemtech.com wrote: What about the Mesh Quality filter? You can select Area for triangle and quadrilateral quality. You get a cell data array with results for each cell. Clint Moreland,

Re: [Paraview] Compute cell area

2009-01-26 Thread John Biddiscombe
etc as separate filters but ended up using the IntegrateFlowThroughSurface 'as is' and wrapping it inside another filter. JB Re: [Paraview] Compute cell area I didnt think of that filter. Thanks, Clint. -Ken On 1/26/09 10:34 AM, "Clinton Stimpson" clin...@elemtech

Re: [Paraview] Compute cell area

2009-01-26 Thread Moreland, Kenneth
John, Thanks. I already look into both of those filters. Although both filters internally compute polygon area, I did not see a way to get the per-cell area (written out to a cell data array) from them. When I run vtkIntegrateAttributes, I get a single value back that is the total area of

[Paraview] Compute cell area

2009-01-23 Thread Moreland, Kenneth
Is there an easy way to compute the area of a 2D cell? -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel

Re: [Paraview] Compute cell area

2009-01-23 Thread John Biddiscombe
Ken I started writing this https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/vtkCSCSCommon/vtkCellPropertiesFilter.cxx header is also there. But although it does the area of triangulted data ok, I never used it as I ended up using the vtkIntegrateAttributes (this does areas for all 2D cell types)