<HTML>
<HEAD>
<TITLE>Re: [Paraview] Centering data</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>For the record, Andy&#8217;s method is attempting to find the center of mass (assuming uniform density). &nbsp;If you just need the center of the bounds, you can go to the information panel, average the bounds in each dimension, and then do a translate transform to move that point to the origin.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 8/6/10 9:21 AM, &quot;David Doria&quot; &lt;<a href="daviddoria@gmail.com">daviddoria@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>&gt; This seems weird.  What kind of data set do you have?  Is your data set<BR>
&gt; already centered then?  I'd think there'd be some roundoff error so that it<BR>
&gt; wouldn't be exactly 0 but a &quot;very small number&quot;.  Do you have any<BR>
&gt; cells/what's the area result under the cell data?<BR>
<BR>
Sorry, I should have specified this earlier. The data is a point<BR>
cloud. Each point has a vertex cell. The data set is far from<BR>
centered. Maybe this is the problem - there is no &quot;area&quot;? Here is the<BR>
data set: <a href="http://rpi.edu/~doriad/Paraview_List/data.vtp">http://rpi.edu/~doriad/Paraview_List/data.vtp</a><BR>
<BR>
Thanks for your help,<BR>
<BR>
David<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>
</BODY>
</HTML>