]> Creatis software - creaMaracasVisu.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 23 Apr 2024 09:11:38 +0000 (11:11 +0200)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 23 Apr 2024 09:11:38 +0000 (11:11 +0200)
bbtk/src/bbmaracasvisuImageChangeInformation.cxx

index 26314f4f642e11de359c30640c465411dffbf0e5..b52c0f6fe82af1c5ac7e52f76747ab58fb59870b 100644 (file)
@@ -33,7 +33,6 @@ BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ImageChangeInformation)
 BBTK_BLACK_BOX_IMPLEMENTATION(ImageChangeInformation,bbtk::AtomicBlackBox);
 void ImageChangeInformation::Process()
 {
-       int                     ext[6];
        double                  spc[3];
        double                  origin[3];
        vtkImageData    *img = bbGetInputIn();
@@ -44,7 +43,6 @@ void ImageChangeInformation::Process()
                        mchange->Delete();
                }
                mchange = vtkImageChangeInformation::New();
-               img->GetExtent( ext );  
 
 //EED 2017-01-01 Migration VTK7
 #if VTK_MAJOR_VERSION <= 5