From: tbaudier Date: Tue, 5 Dec 2017 13:21:09 +0000 (+0100) Subject: Initialize mConcatenatedFusionTransform X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8b99436ccbdc216bb3e327ad2e9fa17d9882157e;p=clitk.git Initialize mConcatenatedFusionTransform --- diff --git a/vv/vvBinaryImageOverlayActor.cxx b/vv/vvBinaryImageOverlayActor.cxx index 5068887..061bdb8 100644 --- a/vv/vvBinaryImageOverlayActor.cxx +++ b/vv/vvBinaryImageOverlayActor.cxx @@ -120,6 +120,7 @@ void vvBinaryImageOverlayActor::Initialize(bool IsVisible) mFusionReslice->SetBackgroundColor(-1000,-1000,-1000,1); } + vtkSmartPointer mConcatenatedFusionTransform = vtkSmartPointer::New(); mConcatenatedFusionTransform->Identity(); mConcatenatedFusionTransform->Concatenate(mImage->GetTransform()[0]); mConcatenatedFusionTransform->Concatenate(mSlicer->GetSlicingTransform());