From: Eduardo DAVILA Date: Mon, 4 Apr 2022 12:45:54 +0000 (+0200) Subject: #3482 VtkConcatTransform update filter X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=bef62ed857e7e7541c55aaf05a1fa2cca482d25e;p=creaVtk.git #3482 VtkConcatTransform update filter --- diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkConcatTransform.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkConcatTransform.cxx index 23145fb..82d2548 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkConcatTransform.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkConcatTransform.cxx @@ -35,15 +35,15 @@ void ConcatTransform::Process() vtkTransform *result = vtkTransform::New(); result->PostMultiply (); result->Identity(); - if (bbGetInputIn1()!=NULL) { result->Concatenate( bbGetInputIn1()->GetMatrix() ); } - if (bbGetInputIn2()!=NULL) { result->Concatenate( bbGetInputIn2()->GetMatrix() ); } - if (bbGetInputIn3()!=NULL) { result->Concatenate( bbGetInputIn3()->GetMatrix() ); } - if (bbGetInputIn4()!=NULL) { result->Concatenate( bbGetInputIn4()->GetMatrix() ); } - if (bbGetInputIn5()!=NULL) { result->Concatenate( bbGetInputIn5()->GetMatrix() ); } - if (bbGetInputIn6()!=NULL) { result->Concatenate( bbGetInputIn6()->GetMatrix() ); } - if (bbGetInputIn7()!=NULL) { result->Concatenate( bbGetInputIn7()->GetMatrix() ); } - if (bbGetInputIn8()!=NULL) { result->Concatenate( bbGetInputIn8()->GetMatrix() ); } - if (bbGetInputIn9()!=NULL) { result->Concatenate( bbGetInputIn9()->GetMatrix() ); } + if (bbGetInputIn1()!=NULL) { result->Concatenate( bbGetInputIn1()->GetMatrix() ); result->Update(); } + if (bbGetInputIn2()!=NULL) { result->Concatenate( bbGetInputIn2()->GetMatrix() ); result->Update(); } + if (bbGetInputIn3()!=NULL) { result->Concatenate( bbGetInputIn3()->GetMatrix() ); result->Update(); } + if (bbGetInputIn4()!=NULL) { result->Concatenate( bbGetInputIn4()->GetMatrix() ); result->Update(); } + if (bbGetInputIn5()!=NULL) { result->Concatenate( bbGetInputIn5()->GetMatrix() ); result->Update(); } + if (bbGetInputIn6()!=NULL) { result->Concatenate( bbGetInputIn6()->GetMatrix() ); result->Update(); } + if (bbGetInputIn7()!=NULL) { result->Concatenate( bbGetInputIn7()->GetMatrix() ); result->Update(); } + if (bbGetInputIn8()!=NULL) { result->Concatenate( bbGetInputIn8()->GetMatrix() ); result->Update(); } + if (bbGetInputIn9()!=NULL) { result->Concatenate( bbGetInputIn9()->GetMatrix() ); result->Update(); } result->Update(); bbSetOutputOut(result);