]> Creatis software - clitk.git/blobdiff - vv/vvImageWarp.cxx
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvImageWarp.cxx
index 1cfde1612b0ce77dacaf911b0d52dc9e584f4a8f..2890ec8188efd8e22a98da6b5e6c0527bcac0272 100644 (file)
@@ -101,7 +101,7 @@ void vvImageWarp::Update_WithDimAndPixelType()
     jacobian_filter->SetUseImageSpacingOn();
     vf_connector->SetInput(mVF->GetVTKImages()[num]);
     warp_filter->SetInput(input[num]);
-    warp_filter->SetDeformationField(vf_connector->GetOutput());
+    warp_filter->SetDisplacementField(vf_connector->GetOutput());
     jacobian_filter->SetInput(vf_connector->GetOutput());
     warp_filter->SetOutputSpacing(input[num]->GetSpacing());
     warp_filter->SetOutputOrigin(input[num]->GetOrigin());