From: srit Date: Fri, 9 Jul 2010 08:27:28 +0000 (+0000) Subject: SetTransform has been removed from vvImage since we obtain a pointer to the transform... X-Git-Tag: v1.2.0~544 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=711d2abc875d5e997b5cdbf762ca5c7c67df6719;p=clitk.git SetTransform has been removed from vvImage since we obtain a pointer to the transform with GetTransform and we can act on it directly. --- diff --git a/vv/vvToolRigidReg.cxx b/vv/vvToolRigidReg.cxx index b6c9466..a307971 100644 --- a/vv/vvToolRigidReg.cxx +++ b/vv/vvToolRigidReg.cxx @@ -234,7 +234,7 @@ void vvToolRigidReg::SetTransform(vtkMatrix4x4 *matrix) transform->PostMultiply(); transform->Concatenate(matrix); transform->Update(); - mCurrentSlicerManager->GetImage()->SetTransform(transform); +// mCurrentSlicerManager->GetImage()->SetTransform(transform); for (int i=0; iNumberOfSlicers(); i++) { mCurrentSlicerManager->GetImage()->UpdateReslice();