]> Creatis software - creaContours.git/commitdiff
Clean code vtk9itk5wx3-macos
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 29 Mar 2024 14:37:10 +0000 (15:37 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 29 Mar 2024 14:37:10 +0000 (15:37 +0100)
bbtk/src/bbcreaContoursSetViewerWindowColorLevel.cxx

index d158ca7621b5b87173729c8181981cf5f8e7423e..a1610bc1a5c90379226699e66840e70b76f18839 100644 (file)
@@ -13,7 +13,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(SetViewerWindowColorLevel,bbtk::AtomicBlackBox);
 //===== 
 void SetViewerWindowColorLevel::Process()
 {
-
 // THE MAIN PROCESSING METHOD BODY
 //   Here we simply set the input 'In' value to the output 'Out'
 //   And print out the output value
@@ -25,11 +24,10 @@ void SetViewerWindowColorLevel::Process()
 //      (the one provided in the attribute 'name' of the tag 'input')
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
-
     if ( (bbGetInputWindowColorLevel().size()==2 ) && (bbGetInputwxContourMainFrame()!=NULL ))
     {
-        double w=bbGetInputWindowColorLevel()[0];
-        double c=bbGetInputWindowColorLevel()[1];
+        double w = bbGetInputWindowColorLevel()[0];
+        double c = bbGetInputWindowColorLevel()[1];
         bbGetInputwxContourMainFrame()->onBrigthnessColorWindowLevel(w,c);
     } // if WindowColorLevel size    &&   wxContourMainFrame
 }