[vtkusers] vtkTransform

mafuentes at uclv.cu mafuentes at uclv.cu
Thu Feb 15 09:00:15 EST 2018

I'm trying to apply a transformation pipeline to a cylinder source in the following way: 

- Translation -x, -y, -z 

- RotationZ alpha 

- RotationX beta 

- Translation x, y, z 

That is, to move it to the origin of coordinates, rotate it and then translate it back to it's original position. the only way I've managed to make it work so far is to define a vtkTransform and a vtkTransformFilter for each operation and build a pipeline like that. 

Is there another way to do it so I don't have to create both objects for each operation? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180215/7b8bfa17/attachment.html>

More information about the vtkusers mailing list