]> Creatis software - clitk.git/commitdiff
Remove useless UpdateReslice
authorsrit <srit>
Wed, 2 Mar 2011 18:33:20 +0000 (18:33 +0000)
committersrit <srit>
Wed, 2 Mar 2011 18:33:20 +0000 (18:33 +0000)
vv/vvImageReader.cxx

index 1f33fc72b2abe997ff119adf7f90b156edc7b0e7..d0db5988900f27531e78a4f139258c79dc1b0bd9 100644 (file)
@@ -150,7 +150,6 @@ void vvImageReader::ReadNkiImageTransform()
         mImage->GetTransform()->GetMatrix()->SetElement(i,3,10*mImage->GetTransform()->GetMatrix()->GetElement(i,3));
 
       mImage->GetTransform()->Inverse();
-      mImage->UpdateReslice();
     }
   }
 }
@@ -170,7 +169,6 @@ void vvImageReader::ReadMatImageTransform()
     for(int j=0; j<4; j++)
       for(int i=0; i<4; i++)
         mImage->GetTransform()->GetMatrix()->SetElement(j,i,itkMat[j][i]);
-    mImage->UpdateReslice();
   }
 }
 //------------------------------------------------------------------------------