[vtkusers] Does vtkTransformPolyDataFilter affect original data?

David Doria daviddoria at gmail.com
Thu Nov 10 10:48:44 EST 2011


On Thu, Nov 10, 2011 at 10:41 AM, Wenlong Wang <scc.wwl at gmail.com> wrote:
> Dear all,
>
> I'm using vtkTransformPolydataFilter in my app. According to the documents,
> the filter returns a new polydata object with different world coordinates
> from the original one.
>
> My question is, is the filter changes the original data as well? And for the
> result of the filter, is it being replaced if another transformation is
> passed to the filter?
>
> Thank you very much.
>
> Long

This filter should follow the standard VTK pipeline concepts. It
should not modify the input data, and it if you call Update() a second
time with a different transformation, the output would indeed be
replaced. I'd suggest you make a small demo to convince yourself of
these facts.

David



More information about the vtkusers mailing list