<div class="gmail_quote">On Fri, Aug 6, 2010 at 9:52 AM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Thu, Aug 5, 2010 at 9:10 PM, Andy Bauer &lt;<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>&gt; wrote:<br>
&gt; Use the calculator filter to create a vector array from the coordinates,<br>
&gt; then point to cell data, then integrate attributes to get the result divided<br>
&gt; by the volume/area to give the desired input to the transform filter.<br>
&gt;<br>
&gt; Andy<br>
<br>
In the Calculator Filter I set<br>
Attribute Mode = Point Data<br>
Unchecked &quot;Coordinate Results&quot;<br>
Result Array Name = coords<br>
Selected &quot;coords&quot; from the &quot;Vectors&quot; drop down list<br>
<br>
I now see that &#39;coords&#39; is an array in the output.<br>
<br>
When I run the &quot;Integrate Variables&quot; filter on the Calculator Filter<br>
output, the result is just (0,0,0).<br></blockquote><div><br>This seems weird.  What kind of data set do you have?  Is your data set already centered then?  I&#39;d think there&#39;d be some roundoff error so that it wouldn&#39;t be exactly 0 but a &quot;very small number&quot;.  Do you have any cells/what&#39;s the area result under the cell data?<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I know you said to run the &quot;Integrate Attributes&quot; filter, but that is<br>
not in my Filters list. I looked in my ParaView source folder and I do<br>
indeed have vtkIntegraetAttributes.cxx. Any reason why this wouldn&#39;t<br>
show up in the filters list?<br></blockquote><div><br>Oops, I meant integrate variables, not integrate attributes.  According to the filters.xml file it looks like the Integrate Variables filter is using vtkIntegrateAttributes.  <br>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Thanks,<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>