[vtkusers] vtkTransform question

Anja Ende anja.ende at googlemail.com
Tue Sep 19 14:45:08 EDT 2006


Hi everyone,

Another qustion... I am really having a bad day...

Been trying to play with the vtkTransform object and want to do the
following operations...

Translate->Rotate->Translate back...

I am getting a bit hairy results... Are the translate parameters expressed
in actual physical units... i.e. taking the spacing into account...

For example, I have an image data set that is centered using
vtkImageChangeInformation and I want to move to pixel (x, y) on a particular
slice (n) and then rotate 30 degrees around the X axes. How does one go
about doing these operations?

Any small code/pseudo code would be awesome!

Thanks,
Anja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060919/d48c2f2b/attachment.htm>


More information about the vtkusers mailing list