<HTML>
<HEAD>
<TITLE>Re: [Paraview] Compute cell area</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I didn’t think of that filter. Thanks, Clint.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 1/26/09 10:34 AM, "Clinton Stimpson" <<a href="clinton@elemtech.com">clinton@elemtech.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
What about the "Mesh Quality" filter? You can select "Area" for<BR>
triangle and quadrilateral quality. You get a cell data array with<BR>
results for each cell.<BR>
Clint<BR>
<BR>
Moreland, Kenneth wrote:<BR>
> John,<BR>
><BR>
> Thanks. I already look into both of those filters. Although both<BR>
> filters internally compute polygon area, I did not see a way to get<BR>
> the per-cell area (written out to a cell data array) from them. When<BR>
> I run vtkIntegrateAttributes, I get a single value back that is the<BR>
> total area of all the cells. I also did not see a clear way to get<BR>
> the data from vtkIntegrateFlowSurface. Am I missing something?<BR>
><BR>
> -Ken<BR>
><BR>
><BR>
> On 1/23/09 4:13 PM, "John Biddiscombe" <<a href="biddisco@cscs.ch">biddisco@cscs.ch</a>> wrote:<BR>
><BR>
> Ken<BR>
><BR>
> I started writing this<BR>
> <a href="https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/vtkCSCSCommon/vtkCellPropertiesFilter.cxx">https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/vtkCSCSCommon/vtkCellPropertiesFilter.cxx</a><BR>
> header is also there.<BR>
><BR>
> But although it does the area of triangulted data ok, I never used<BR>
> it as I ended up using the vtkIntegrateAttributes (this does areas<BR>
> for all 2D cell types) filter and IntegrateFlowThroughSurface<BR>
><BR>
> JB<BR>
><BR>
> Compute cell area Is there an easy way to compute the area of<BR>
> a 2D cell?<BR>
> <BR>
> -Ken<BR>
> <BR>
> **** Kenneth Moreland<BR>
> *** Sandia National Laboratories<BR>
> *********** <BR>
> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> ** *** ** phone: (505) 844-8919<BR>
> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
> <<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>><BR>
> <<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>><BR>
> <BR>
> <BR>
><BR>
> ------------------------------------------------------------------------<BR>
><BR>
> _______________________________________________<BR>
> ParaView mailing list<BR>
> <a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
> <BR>
><BR>
><BR>
><BR>
><BR>
> **** Kenneth Moreland<BR>
> *** Sandia National Laboratories<BR>
> *********** <BR>
> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> ** *** ** phone: (505) 844-8919<BR>
> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
> <<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>><BR>
><BR>
> ------------------------------------------------------------------------<BR>
><BR>
> _______________________________________________<BR>
> ParaView mailing list<BR>
> <a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
> <BR>
<BR>
_______________________________________________<BR>
ParaView mailing list<BR>
<a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>