[vtkusers] How to transfer a 4x4 matrix to a vtkHomogeneousTransform object?
Herrera, Imanol
iherrera at ceit.es
Fri Apr 13 11:23:03 EDT 2012
The class vtkMatrixToHomogeneousTransform inherits from vtkHomogeneousTransform, so you can directly use it to set your transform in the camera with the SetUserTransform() call.
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Sheena Gao
Sent: jueves, 12 de abril de 2012 16:54
To: vtkusers at vtk.org
Subject: Re: [vtkusers] How to transfer a 4x4 matrix to a vtkHomogeneousTransform object?
Thanks Herrera,
Actually I looked into that class before as well, but I could only find a
function to input the matrix (should it be SetInput (vtkMatrix4x4 *)?).
Which function is used if I want to get the vtkHomogeneousTransform object?
Thank you so much.
Sincerely,
Sheena
--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-transfer-a-4x4-matrix-to-a-vtkHomogeneousTransform-object-tp5634193p5635914.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list