X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolResample.cxx;h=64b3768bed771352d5c70ef44ce5d5dea84c500f;hb=ae51e9bb80bdcd9468718a9473c1e9316cef2fd5;hp=54f407bb72ed0609cc30835b73c883377ced7cae;hpb=11f0ba44e7cc6df01882a3ac12d5cd4e429616b7;p=clitk.git diff --git a/vv/vvToolResample.cxx b/vv/vvToolResample.cxx index 54f407b..64b3768 100644 --- a/vv/vvToolResample.cxx +++ b/vv/vvToolResample.cxx @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html - ======================================================================-====*/ + ===========================================================================**/ // vv #include "vvToolResample.h" @@ -538,6 +538,7 @@ void vvToolResample::apply() // Go ! mFilter->Update(); mOutput = mFilter->GetOutputVVImage(); + mOutput->GetTransform()[0]->SetMatrix(mCurrentSlicerManager->GetSlicer(0)->GetConcatenatedTransform()->GetMatrix()); AddImage(mOutput,GetOutputFileName()); close(); }