]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkCreateImage.cxx
#3492 SaveLstPoints
[bbtk.git] / packages / vtk / src / bbvtkCreateImage.cxx
index 2cdb383f495994e172d5303a775aa6ea5123b095..2c75a26041084cd93d041a8fcc734e6aef1c948f 100644 (file)
@@ -53,15 +53,11 @@ void CreateImage::Process()
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
 
-
-       int             dim[3]; 
+    int                dim[3];
        dim[0]  = bbGetInputDimensions()[0];
        dim[1]  = bbGetInputDimensions()[1];
        dim[2]  = bbGetInputDimensions()[2];
-
-
-
-       if (imageoutput!=NULL) 
+       if (imageoutput!=NULL)
        {
                imageoutput->Delete();
                imageoutput = NULL;
@@ -168,10 +164,8 @@ void CreateImage::Process()
        #endif
                imageoutput->Modified();
        } // if dim = 0
-
        bbSetOutputOut(imageoutput);
-       
-}      
+}
        
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)