[vtkusers] rotate a vtkUnstructuredGrid by angles

Luca Penasa luca.penasa at email.it
Sat Nov 27 09:08:03 EST 2010


hi everybody, 
	
	i have a vtkUnstructuredGrid that roughly describe a surface, i want to
rotate my cloud so that the normal of the best fit plane for the cloud
(that i calculate with a function i wrote - like [0.57452031,
-0.65909439,  0.48405198]) will becames parallel with an arbitrary axis
(for esample with the z axis: [0,0,1]).

what is the best way to obtain that?
is there any dedicate function in vtk?

Thanks!


-- 
---------------------------
Luca Penasa
Student at Geosciences Dpt.
University of Padua (IT)
luca.penasa at email.it
---------------------------

 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 1 Foto album Gratis! Ideale per te o come regalo per i tuoi cari! Spese di spedizione escluse. 
* Passa l’offerta anche ai tuoi amici! Tempo limitato
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11153&d=27-11



More information about the vtkusers mailing list