X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkRescaleSlopeIntercept.cxx;fp=packages%2Fvtk%2Fsrc%2FbbvtkRescaleSlopeIntercept.cxx;h=e9cf56dc03e893b951d6bfd9534afaf84810724e;hb=d70f55488259f6eb18e16d8a96a2bee6615f10e2;hp=9262c509af330d0effaaa09e1175bb38b470c154;hpb=636609a6a30d5fafca10fc74f6f7296c2bd9e851;p=bbtk.git diff --git a/packages/vtk/src/bbvtkRescaleSlopeIntercept.cxx b/packages/vtk/src/bbvtkRescaleSlopeIntercept.cxx index 9262c50..e9cf56d 100644 --- a/packages/vtk/src/bbvtkRescaleSlopeIntercept.cxx +++ b/packages/vtk/src/bbvtkRescaleSlopeIntercept.cxx @@ -43,6 +43,7 @@ BBTK_BLACK_BOX_IMPLEMENTATION(RescaleSlopeIntercept,bbtk::AtomicBlackBox); //===== void RescaleSlopeIntercept::Process() { +printf("RescaleSlopeIntercept::Process Start\n"); // THE MAIN PROCESSING METHOD BODY // Here we simply set the input 'In' value to the output 'Out' @@ -142,12 +143,18 @@ void RescaleSlopeIntercept::Process() mchange->SetExtentTranslation( -ext[0], -ext[2], -ext[4] ); mchange->SetOutputSpacing (spc); + filter1->Update(); //important + filter2->Update(); //important mchange->Update(); //important bbSetOutputOut( mchange->GetOutput() ); +printf("RescaleSlopeIntercept::Process A\n"); } else { +printf("RescaleSlopeIntercept::Process B\n"); bbSetOutputOut( NULL ); } // if bbGetInputIn +printf("RescaleSlopeIntercept::Process End\n"); + }