<HTML>
<HEAD>
<TITLE>Re: [Paraview] Integrate Variables + Boxes</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>What is the type of your data? This is a total guess, but is it possible that your cells are inverted? That is, the topology defined in such a way that the points of the cells are defined in the wrong order such that the same faces are defined but in a clockwise instead of counterclockwise order (or vice versa). This could make the cells look right but cause volume calculations to become inverted.<BR>
<BR>
That’s a good point about the Box 3D widget. The Box 3D widget was originally designed for the transform filter. Thus, its transformation is relative to the bounding box of the original data. This makes sense for the translate filter where these values will correspond to the affine transformation applied by the filter. For filters like clip and extract cells by region, I can see how this makes far less sense.<BR>
<BR>
I’m not totally sure what the best way to parameterize the box is. Should it be the coordinates of two opposite corners? Should it be center and lengths? What about rotations? (Do we care about rotations?)<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 11/25/09 11:24 AM, "<a href="Bastil2001@yahoo.de">Bastil2001@yahoo.de</a>" <<a href="Bastil2001@yahoo.de">Bastil2001@yahoo.de</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Today I had a funny time with th eIntegrate Variables Filter. I got<BR>
reasonable results for variables and volumes but both were negative<BR>
instead of positive.... Strange.<BR>
I also had some fun in positioning an ExtractMeshByRegion Box using<BR>
Tranlation/Rotation/Scale. Especially translation is unclear to me how<BR>
it works. Why does in not use the Center and length convention from the<BR>
Box-source? I used a box-source to position my extraction.<BR>
<BR>
Regards BastiL<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<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="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><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>