[vtkusers] vtkTransformDataSet

David Gobbi david.gobbi at gmail.com
Mon Jan 18 12:16:06 EST 2010


On Mon, Jan 18, 2010 at 10:03 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> There is a vtkTransformPolyDataFilter, but what about
> vtkTransformStructuredGridFilter and
> vtkTransformUnstructuredGridFilter? Couldn't these all be accomplished
> with a vtkTransformDataSet filter?
>
> How would you currently transform an unstructured grid?
>
> Thanks,
>
> David

The vtkTransformFilter is supposed to do those things, it works on all
vtkPointSet derived data object, which includes all the ones you
mentioned.  A generic vtkTransformDataSetFilter isn't possible because
for some data sets (i.e. vtkImageData) the points in the data are
implicit and must stay aligned with the x, y, and z axes.

   David



More information about the vtkusers mailing list