[vtkusers] vtkTransformDataSet

Bill Lorensen bill.lorensen at gmail.com
Mon Jan 18 12:31:06 EST 2010


I believe TransformPolyDataFilter is optimized for polydata(as is
stated in the header). Looking at the source is a good exercise.

Bill

On Mon, Jan 18, 2010 at 12:20 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> 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
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list