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 <daviddo...@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 >
_______________________________________________ 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