[vtkusers] scaling polydata

Cory Quammen cory.quammen at kitware.com
Thu Jan 25 07:21:01 EST 2018


vtkWarpVector should produce a vtkPolyData. If it doesn't you can
always use vtkDataSetSurface to get a vtkPolyData surface from the
output of vtkWarpVector.

- Cory

On Thu, Jan 25, 2018 at 6:27 AM, Majid Mohammad sadeghi via vtkusers
<vtkusers at vtk.org> wrote:
> 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.
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.


More information about the vtkusers mailing list