[vtk-developers] vtkTransform
Lorensen, William E (CRD)
lorensen at crd.ge.com
Wed Nov 14 12:08:40 EST 2001
If it is not tested, it may not work...
http://public.kitware.com/VTK/testing/TestingResults/Sites/caleb.crd/SunOS-5.7-g++-Continuous/Coverag
e/__Common_vtkTransform_cxx.html
that code has never been hit.
-----Original Message-----
From: Ken Martin [mailto:ken.martin at kitware.com]
Sent: Wednesday, November 14, 2001 11:10 AM
To: Vtk-Developers at Public. Kitware. Com
Subject: [vtk-developers] vtkTransform
I found some code in VTK Transform that looks like a bug in the
GetOrientation method. It looks like if the if statement were ever
ture it would try to access ortho[2][3] which is not correct. Any
ideas ?
double ortho[3][3];
for (i = 0; i < 3; i++)
{
ortho[0][i] = matrix[0][i];
ortho[1][i] = matrix[1][i];
ortho[2][i] = matrix[2][i];
}
if (vtkMath::Determinant3x3(ortho) < 0)
{
ortho[0][i] = -ortho[0][i];
ortho[1][i] = -ortho[1][i];
ortho[2][i] = -ortho[2][i];
}
--------------------------
Ken Martin, PhD
Kitware Inc.
518 371-3971 x101
469 Clifton Corporate Pkwy.
Clifton Park, NY 12065
_______________________________________________
vtk-developers mailing list
vtk-developers at public.kitware.com
http://public.kitware.com/mailman/listinfo/vtk-developers
More information about the vtk-developers
mailing list