[vtkusers] matrices.... order of the rows and columns

Giancarlo Amati ilferraresebono at hotmail.it
Tue Feb 23 09:39:41 EST 2010


Hello guys,

I would like to know if a vtkMatrix4x4 is allocated by rows or column. I mean:

if I have a matrix like:

M = 
a b c d
e f g i
j k l m
n o p q

and I do  loop like:

for(i=0 to 3)
   for(j=0 to 3)
      vtkMat.element(i,j,M[i,j]);

is my vtkMat used as the transposed of the original?

kind Regards.
Giancarlo

 		 	   		  
_________________________________________________________________
Personalizza la tua vita digitale, scarica i nuovi gadget!
http://www.pimpit.it/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100223/aeaa7e9d/attachment.htm>


More information about the vtkusers mailing list