]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageReSlicerBox.cxx
*** empty log message ***
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageReSlicerBox.cxx
index 9aa94249fbea1fc5ca53cba907d9228f21fcea55..7fcd742ea27f51c2a761fbaace8e6149365beabd 100644 (file)
@@ -9,7 +9,7 @@ BBTK_BLACK_BOX_IMPLEMENTATION(ReSlicerBox,bbtk::AtomicBlackBox);
 void ReSlicerBox::Process()
 {
  
-       if(bbGetInputOrigin()[0] != NULL)
+       if(!bbGetInputOrigin().empty())
        {
                image = vtkImageChangeInformation::New();
                image->SetInput( bbGetInputIn() );
@@ -71,4 +71,5 @@ void ReSlicerBox::bbUserFinalizeProcessing()
     imageResult->Delete();
 }
 }
-// EO namespace bbPackRecalage
\ No newline at end of file
+// EO namespace bbPackRecalage
+