[Paraview] Compute cell area

Moreland, Kenneth kmorel at sandia.gov
Mon Jan 26 12:39:34 EST 2009


I didn't think of that filter.  Thanks, Clint.

-Ken


On 1/26/09 10:34 AM, "Clinton Stimpson" <clinton at 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, Kenneth wrote:
> 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 all the cells.  I also did not see a clear way to get
> the data from vtkIntegrateFlowSurface.  Am I missing something?
>
> -Ken
>
>
> On 1/23/09 4:13 PM, "John Biddiscombe" <biddisco at cscs.ch> wrote:
>
>     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) filter and IntegrateFlowThroughSurface
>
>     JB
>
>         Compute cell area Is there an easy way to compute the area of
>         a 2D cell?
>
>         -Ken
>
>           ****      Kenneth Moreland
>             ***      Sandia National Laboratories
>         ***********
>         *** *** ***  email: kmorel at sandia.gov
>         **  ***  **  phone: (505) 844-8919
>             ***      web:   http://www.cs.unm.edu/~kmorel
>         <http://www.cs.unm.edu/%7Ekmorel>
>         <http://www.cs.unm.edu/%7Ekmorel>
>
>
>
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         ParaView mailing list
>         ParaView at paraview.org
>         http://www.paraview.org/mailman/listinfo/paraview
>
>
>
>
>
>    ****      Kenneth Moreland
>     ***      Sandia National Laboratories
> ***********
> *** *** ***  email: kmorel at sandia.gov
> **  ***  **  phone: (505) 844-8919
>     ***      web:   http://www.cs.unm.edu/~kmorel
> <http://www.cs.unm.edu/%7Ekmorel>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>

_______________________________________________
ParaView mailing list
ParaView at paraview.org
http://www.paraview.org/mailman/listinfo/paraview




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090126/b96a79b4/attachment-0001.htm>


More information about the ParaView mailing list