[Paraview] Centering data

Andy Bauer andy.bauer at kitware.com
Thu Aug 5 21:10:17 EDT 2010


Use the calculator filter to create a vector array from the coordinates,
then point to cell data, then integrate attributes to get the result divided
by the volume/area to give the desired input to the transform filter.

Andy

On Thu, Aug 5, 2010 at 4:58 PM, David Doria <daviddoria at gmail.com> wrote:

> Is there a way to center a data set? That is, simply subtract the
> center of mass from the data set?
>
> This would be helpful because when applying rotations it is much
> easier to hand-input the rotation parameters when the data is at the
> origin.
>
> Thanks,
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100805/67593ff4/attachment.htm>


More information about the ParaView mailing list