]> Creatis software - creaCLI.git/blobdiff - ModuleCall/GenSrc/bbSlicerMultiplyImages.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / ModuleCall / GenSrc / bbSlicerMultiplyImages.h
diff --git a/ModuleCall/GenSrc/bbSlicerMultiplyImages.h b/ModuleCall/GenSrc/bbSlicerMultiplyImages.h
new file mode 100644 (file)
index 0000000..4b41b7e
--- /dev/null
@@ -0,0 +1,64 @@
+#ifndef __bbSlicerMultiplyImages_h_INCLUDED__
+#define __bbSlicerMultiplyImages_h_INCLUDED__
+
+#include "bbSlicer_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+
+#include <vector>
+#include <cstdlib>
+#include <dlfcn.h>
+#include <sstream>
+#include <fstream>
+#include <iostream>
+
+#include <ModuleDescriptionUtilities.h>
+#include <ModuleDescriptionParser.h>
+#include <ModuleParameterGroup.h>
+#include <ModuleDescription.h>
+#include <ModuleParameter.h>
+
+#include "CreationTool.h"
+
+namespace bbSlicer {
+
+    class bbSlicer_EXPORT MultiplyImages
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( MultiplyImages , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( inputVolume1 , std::string );
+BBTK_DECLARE_INPUT ( inputVolume2 , std::string );
+BBTK_DECLARE_INPUT ( outputVolume , std::string );
+BBTK_DECLARE_INPUT ( order , int );
+
+        // EO GENERATED ARGS
+
+        BBTK_PROCESS ( Process ) ;
+        void Process ( ) ;
+    private:
+        void execute ( std::string lib , int _argc , char * _argv[] ) ;
+    } ;
+
+    BBTK_BEGIN_DESCRIBE_BLACK_BOX ( MultiplyImages , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "MultiplyImages" ) ;
+    BBTK_AUTHOR ( "Bill Lorensen" ) ;
+    BBTK_DESCRIPTION ( "Multiplies two images. Although all image types are supported on input, only signed types are produced. The two images do not have to have the same dimensions." ) ;
+    BBTK_CATEGORY ( "Filtering.Arithmetic" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(MultiplyImages , inputVolume1 , "inputVolume1" , std::string, "");
+BBTK_INPUT(MultiplyImages , inputVolume2 , "inputVolume2" , std::string, "");
+BBTK_INPUT(MultiplyImages , outputVolume , "outputVolume" , std::string, "");
+BBTK_INPUT(MultiplyImages , order , "order" , int, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( MultiplyImages ) ;
+}
+
+#endif // __bbSlicerMultiplyImages_h_INCLUDED__
+
+