[vtkusers] Using vtkCutter on a transformed model

Rasmus Reinhold Paulsen rrp at imm.dtu.dk
Thu Dec 15 09:54:56 EST 2005


Hi Clare,

I would do the following:

On Wed, 14 Dec 2005, Clare Fitzpatrick wrote:

...
> vtkTransform modelTransform

modelTransform SetMatrix [modelActor GetMatrix]

> vtkTransformPolyDataFilter modTransform
>     modTransform SetTransform modelTransform
>     modTransform SetInput [model GetOutput]
...

Do not do this:

> and then transform the model using
>         modelTransform RotateWXYZ angle1 0 0 1
>         modelTransform RotateWXYZ angle2 0 1 0

Cheers,
Rasmus





More information about the vtkusers mailing list