[Paraview] Apply a transform to an ImageData

2010-11-08 Thread David Doria
I want to transform an image (without moving the camera). The vtkTransformFilter expects a vtkPointData, so this is why the TransformFilter in ParaView doesn't work (is greyed out), but is there another method to do this? Thanks, David ___ Powered by ww

Re: [Paraview] Apply a transform to an ImageData

2010-11-08 Thread Hom Nath Gharti
Applying first 'Clean to Grid' filter may work! On Mon, Nov 8, 2010 at 7:44 PM, David Doria wrote: > I want to transform an image (without moving the camera). The > vtkTransformFilter expects a vtkPointData, so this is why the > TransformFilter in ParaView doesn't work (is greyed out), but is th

Re: [Paraview] Apply a transform to an ImageData

2010-11-08 Thread David Doria
On Mon, Nov 8, 2010 at 1:59 PM, Hom Nath Gharti wrote: > Applying first 'Clean to Grid' filter may work! Great, that does it, thanks! David ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/o

Re: [Paraview] Apply a transform to an ImageData

2010-11-08 Thread Moreland, Kenneth
In general, this is not a great solution. Clean to Grid converts to unstructured grid, and that provides a heck of a lot of overhead. A better solution would be to convert to a curvilinear grid. An even better solution would be if the transform filter were smart enough to transform images. U

Re: [Paraview] Apply a transform to an ImageData

2010-11-08 Thread David Doria
On Mon, Nov 8, 2010 at 4:35 PM, Moreland, Kenneth wrote: > In general, this is not a great solution.  Clean to Grid converts to > unstructured grid, and that provides a heck of a lot of overhead. > > A better solution would be to convert to a curvilinear grid.  An even better > solution would be i

Re: [Paraview] Apply a transform to an ImageData

2010-11-09 Thread Moreland, Kenneth
I've never looked at the vtkImageReslice filter before, but it's not quite what I had in mind. It looks like the vtkImageReslice filter is rotating the data and then resampling on another axis-aligned regular grid. That certainly has its uses, but in the case of using the ParaView transform fi