]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkRescaleSlopeIntercept.cxx
Clean comments
[bbtk.git] / packages / vtk / src / bbvtkRescaleSlopeIntercept.cxx
index cb1a77050240e041c2764afd6d908b74d0d23f95..3f4494eb978a272ea7e8294d3088b14de565e7ac 100644 (file)
@@ -30,6 +30,9 @@ void RescaleSlopeIntercept::Process()
 //    bbSetOutputOut( bbGetInputIn() );
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
   
+       
+       printf("EED  RescaleSlopeIntercept::Process start\n");          
+       
 
        double range[2];
        double spc[3];
@@ -106,10 +109,14 @@ void RescaleSlopeIntercept::Process()
                mchange->SetExtentTranslation( -ext[0], -ext[2], -ext[4] );
                mchange->SetOutputSpacing (spc);
                mchange->Update();    //important
-               
                bbSetOutputOut( mchange->GetOutput() );
                
-       } // if
+       } else  {
+               bbSetOutputOut( NULL );
+       }               // if bbGetInputIn
+       
+       printf("EED  RescaleSlopeIntercept::Process end\n");            
+       
 }
        
 //=====