[vtkusers] vtkMath::Matrix3x3ToQuaternion

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Dec 16 11:06:08 EST 2004


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
> 






More information about the vtkusers mailing list