[vtkusers] Nonlinear scaling of vtkPolyData
alican
alican1812 at hotmail.com
Sat Jan 13 06:08:58 EST 2018
Hello,
I need to apply a nolinear scaling to my polydata.
Like in a *Fig. B* ,instead of Fig.A
(Sorry, I am not that good at drawing, but let's presume that these figures
are cylinders and a cone)
<http://vtk.1045678.n5.nabble.com/file/t341997/Untitled1.png>
What is the best VTK way to achieve that?
*What I have tried:*
I tried to break my data into strips using vtkStripper and then to apply a
different scale value to each strip, and then apply a new points' values to
an original polydata.
It was not smooth and very slow.
If it matters, my polydata will always have between 10,000 to 20,000
vertices, it will never be larger.
Thanks,
AC
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
More information about the vtkusers
mailing list