[Paraview] Centering data
Andy Bauer
andy.bauer at kitware.com
Fri Aug 6 11:56:55 EDT 2010
Hmm, I guess you could use the Delauney 2D or 3D to create an area or volume
but it might be tough using those since they grids they create may not be a
good representation of your data geometry. I can't think of anything better
than a programmable filter to get the desired translation amounts and then
do the translation in the filter as well (maybe using numpy or efficiency).
You can save it as a custom filter so that you don't have to enter the
python code every time you want to do the centering.
Andy
On Fri, Aug 6, 2010 at 11:21 AM, David Doria <daviddoria at gmail.com> wrote:
> > This seems weird. What kind of data set do you have? Is your data set
> > already centered then? I'd think there'd be some roundoff error so that
> it
> > wouldn't be exactly 0 but a "very small number". Do you have any
> > cells/what's the area result under the cell data?
>
> Sorry, I should have specified this earlier. The data is a point
> cloud. Each point has a vertex cell. The data set is far from
> centered. Maybe this is the problem - there is no "area"? Here is the
> data set: http://rpi.edu/~doriad/Paraview_List/data.vtp<http://rpi.edu/%7Edoriad/Paraview_List/data.vtp>
>
> Thanks for your help,
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100806/b4bf5c5f/attachment.htm>
More information about the ParaView
mailing list