[vtkusers] vtkMath::Matrix3x3ToQuaternion

David Català david.catala at datapixel.com
Thu Dec 16 11:16:35 EST 2004


Not always.

Then when this message appears,
Quaternions that I get with this function are incorrect?

thanks,
David
-----Mensaje original-----
De: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org]En
nombre
de Mathieu Malaterre
Enviado el: jueves, 16 de diciembre de 2004 17:06
Para: David Català
CC: vtkusers at vtk.org
Asunto: Re: [vtkusers] vtkMath::Matrix3x3ToQuaternion


David,

	Are you passing in a symmetric matrix ?

http://public.kitware.com/pipermail/vtkusers/2001-August/056976.html
[The Jacobi algorithm only works on a symmetric matrix.  If you are
using Jacobi to do a general eigen analysis, that could explain why
you
are seeing this message.]

HTH
Mathieu


David Català wrote:
> Hi everyone,
> I'm using
> 	 vtkMath::Matrix3x3ToQuaternion(matriuRotacions,quaternions);
>
> I have this warning message:
>        "vtkMath::Jacobi: Error extracting eigenfunctions");
> 	vtkMath.cxx line640
>
> If I look the code:
>   //// this is NEVER called
>
>   if ( i >= VTK_MAX_ROTATIONS )
>     {
>     vtkGenericWarningMacro(
>        "vtkMath::Jacobi: Error extracting eigenfunctions");
>     return 0;
>     }
> Why if never called ia have this message??
>
>
> David Català Monter
>
> DataPixel
> Parque Industrial Pallejà
> Ronda Santa Eulalia,37, Nave 13
> 08780 Pallejà
> Barcelona(SPAIN)
>
> Phone: +34 93 663 30 43
> Fax: +34 93 663 18 38
> e-mail:david.catala at datapixel.com
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers


__________ Información de NOD32 1.950 (20041216) __________

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.com





More information about the vtkusers mailing list