[vtkusers] scaling polydata

Majid Mohammad sadeghi majid.msadeghi at yahoo.com
Thu Jan 25 06:27:59 EST 2018


Dear All,
When I scale a polydata by a uniform scale like: (2,2,2) , the data aslo moves a bit towards a direction depending on where the origin is located in relation to the polydata. 
Is there a way to make the scaling transformation work as if each surface is moved relative to its normal? (I want an effect like an offset of the shape)

I know there is vtkwarpvector but I can not give its output to a plydata. (or maybe I am wrong!)
Any help?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180125/daa492af/attachment.html>


More information about the vtkusers mailing list