mConcatenatedOverlayTransform->Identity();
mConcatenatedOverlayTransform->Concatenate(mOverlay->GetTransform()[0]);
mConcatenatedOverlayTransform->Concatenate(mSlicingTransform);
- mOverlayReslice->SetResliceTransform(mConcatenatedOverlayTransform);
+ mOverlayReslice->SetResliceAxes(mConcatenatedOverlayTransform->GetMatrix());
#if VTK_MAJOR_VERSION <= 5
mOverlayReslice->SetInput(0, mOverlay->GetFirstVTKImageData());
mImageReslice->UpdateInformation();
mConcatenatedFusionTransform->Identity();
mConcatenatedFusionTransform->Concatenate(mFusion->GetTransform()[0]);
mConcatenatedFusionTransform->Concatenate(mSlicingTransform);
- mFusionReslice->SetResliceTransform(mConcatenatedFusionTransform);
+ mFusionReslice->SetResliceAxes(mConcatenatedFusionTransform->GetMatrix());
#if VTK_MAJOR_VERSION <= 5
mFusionReslice->SetInput(0, mFusion->GetFirstVTKImageData());
mFusionReslice->UpdateInformation();
mConcatenatedVFTransform->Identity();
mConcatenatedVFTransform->Concatenate(mVF->GetTransform()[0]);
mConcatenatedVFTransform->Concatenate(mSlicingTransform);
- mVFReslice->SetResliceTransform(mConcatenatedVFTransform);
+ mVFReslice->SetResliceAxes(mConcatenatedVFTransform->GetMatrix());
#if VTK_MAJOR_VERSION <= 5
mVFReslice->SetInput(0, mVF->GetFirstVTKImageData());
#else