On Fri, Aug 6, 2010 at 12:21 PM, Moreland, Kenneth <kmo...@sandia.gov> wrote:
> For the record, Andy’s method is attempting to find the center of mass
> (assuming uniform density).  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.
>
> -Ken

Here is a programmable filter that does the trick:
http://www.paraview.org/Wiki/Python_Programmable_Filter#Center_Data

Thanks all,

David
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to