X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolRigidReg.cxx;h=ec5d1ae4040df9a6ff3384e0e59341252b13c299;hb=9a9ae52b68d1cc0fea67acb45702d092446b423e;hp=d1cc0657eaf6e0e4fa1f730a7c86e99a099de2b1;hpb=7d661785535eaf41eaccce354d7addf263d0d42a;p=clitk.git diff --git a/vv/vvToolRigidReg.cxx b/vv/vvToolRigidReg.cxx index d1cc065..ec5d1ae 100644 --- a/vv/vvToolRigidReg.cxx +++ b/vv/vvToolRigidReg.cxx @@ -463,9 +463,9 @@ void vvToolRigidReg::ReadFile() //In the Order or Y X Z // //now postmultiply for the rotations - SetTransform(0,0,0,0,0,-round(orientations[2]),false); - SetTransform(0,0,0,-round(orientations[0]),0,0,false); - SetTransform(0,0,0,0,-round(orientations[1]),0,false); + SetTransform(0,0,0,0,0,-rint(orientations[2]),false); + SetTransform(0,0,0,-rint(orientations[0]),0,0,false); + SetTransform(0,0,0,0,-rint(orientations[1]),0,false); transform->GetPosition(translations); transform->Identity();