[vtkusers] vtkTransformDataSet

David Doria daviddoria+vtk at gmail.com
Mon Jan 18 12:20:45 EST 2010


On Mon, Jan 18, 2010 at 12:16 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> 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
>

I see. So why is there a vtkTransformPolyDataFilter if you can
transform a PolyData with vtkTransformFilter?

Thanks,

David



More information about the vtkusers mailing list