[vtkusers] Is there a way to change the origin of a vktPolyData ?

Sean McInerney seanm at nmr.mgh.harvard.edu
Wed Nov 3 11:44:32 EST 2004


Pallavi,

  This can be achieved via vtkTransformPolyDataFilter.

-Sean

Pallavi Joshi wrote:
> Hi,
> Is there a way to change the origin of the vtkPolydata object ? I have a code that deforms a mesh. This mesh has its origin at its center. Now I am using it in another function where I want the origin of the same mesh to be at (0,0,0). How can I do this ?
> 
> Please help,
> 
> Thanks,
> --Pallavi
> 



More information about the vtkusers mailing list