Incorporating a 3x3 rotation matrix into a vtkTransform
Tim Hutton
T.Hutton at eastman.ucl.ac.uk
Mon Jan 17 11:09:18 EST 2000
vtk users,
Simple question, I'm a bit rusty with my 4x4 transformation matrices. I
have a routine that computes the rotation required to LS align two sets of
points. It returns a 3x3 rotation matrix, how do I add this to a
vtkTransform. Is it as simple as adding a row of 1's?
ie.
R = a b c
d e f
g h i
T = a b c 0
d e f 0
g h i 0
1 1 1 1
Or is it more complicated?
Cheers,
Tim.
---------------------------------------------------------------------------
Tim Hutton, Research Assistant Email: T.Hutton at eastman.ucl.ac.uk
MINORI Project http://www.eastman.ucl.ac.uk/~dmi/MINORI
Dental and Medical Informatics Tel: [+44] (0171) 915 2344
Eastman Dental Institute, UCL Fax: [+44] (0171) 915 2303
256 Gray's Inn Road, London WC1X 8LD, UK
---------------------------------------------------------------------------
This email represents the views of the sender alone and must not be
construed as representing the views of the Eastman Dental Institute. It may
contain confidential information and may be protected by law as a legally
privileged document and copyright work. Its content should not be disclosed
and it should not be given or copied to anyone other than the person(s)
named or referenced above. If you have received this email in error, please
contact the sender.
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list