]> Creatis software - clitk.git/commitdiff
Initialize mConcatenatedFusionTransform
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 5 Dec 2017 13:21:09 +0000 (14:21 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 5 Dec 2017 13:21:09 +0000 (14:21 +0100)
vv/vvBinaryImageOverlayActor.cxx

index 506888766a726943f0bd5b2aab39d843d110d6b2..061bdb8ff6387d1a73c9253138970def5f71db31 100644 (file)
@@ -120,6 +120,7 @@ void vvBinaryImageOverlayActor::Initialize(bool IsVisible)
       mFusionReslice->SetBackgroundColor(-1000,-1000,-1000,1);
     }
 
+    vtkSmartPointer<vtkTransform> mConcatenatedFusionTransform = vtkSmartPointer<vtkTransform>::New();
     mConcatenatedFusionTransform->Identity();
     mConcatenatedFusionTransform->Concatenate(mImage->GetTransform()[0]);
     mConcatenatedFusionTransform->Concatenate(mSlicer->GetSlicingTransform());