This PR fixed the display issue due to the different axes used in the model and in VTK for the roundness parameters.
In the superquadric model one roundness parameter is shared by axes X and Y, while it is shared by axes X and Z in VTK.
The effect is particularly visible when the two roundness parameters are very different:
Example with a "perfect" cylinder:
find-superquadric gives the same model fitting before and after the fix:
[INFO]center = ( 0.446 0.005 0.722 )
[INFO]angle = 174.054 [deg]
[INFO]size = ( 0.031 0.027 0.085 )
[INFO]shape = ( 0.135 0.885 )
This PR fixed the display issue due to the different axes used in the model and in VTK for the roundness parameters. In the superquadric model one roundness parameter is shared by axes X and Y, while it is shared by axes X and Z in VTK.
The effect is particularly visible when the two roundness parameters are very different:
Example with a "perfect" cylinder:
find-superquadric
gives the same model fitting before and after the fix: [INFO]center = ( 0.446 0.005 0.722 ) [INFO]angle = 174.054 [deg] [INFO]size = ( 0.031 0.027 0.085 ) [INFO]shape = ( 0.135 0.885 )Bugged display:
Fixed display: