]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerImageLabelCombine.h
The following boxxes compilated with no errors
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerImageLabelCombine.h
diff --git a/bbtk_Slicer_PKG/src/bbSlicerImageLabelCombine.h b/bbtk_Slicer_PKG/src/bbSlicerImageLabelCombine.h
new file mode 100644 (file)
index 0000000..6404950
--- /dev/null
@@ -0,0 +1,64 @@
+#ifndef __bbSlicerImageLabelCombine_h_INCLUDED__
+#define __bbSlicerImageLabelCombine_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 ImageLabelCombine
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( ImageLabelCombine , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( InputLabelMap_A , std::string );
+BBTK_DECLARE_INPUT ( InputLabelMap_B , std::string );
+BBTK_DECLARE_INPUT ( OutputLabelMap , std::string );
+BBTK_DECLARE_INPUT ( FirstOverwrites , bool );
+
+        // EO GENERATED ARGS
+
+        BBTK_PROCESS ( Process ) ;
+        void Process ( ) ;
+    private:
+        void execute ( std::string lib , int _argc , char * _argv[] ) ;
+    } ;
+
+    BBTK_BEGIN_DESCRIBE_BLACK_BOX ( ImageLabelCombine , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "ImageLabelCombine" ) ;
+    BBTK_AUTHOR ( "Alex Yarmarkovich" ) ;
+    BBTK_DESCRIPTION ( "Combine two label maps into one" ) ;
+    BBTK_CATEGORY ( "Filtering" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(ImageLabelCombine , InputLabelMap_A , "InputLabelMap_A" , std::string, "");
+BBTK_INPUT(ImageLabelCombine , InputLabelMap_B , "InputLabelMap_B" , std::string, "");
+BBTK_INPUT(ImageLabelCombine , OutputLabelMap , "OutputLabelMap" , std::string, "");
+BBTK_INPUT(ImageLabelCombine , FirstOverwrites , "FirstOverwrites" , bool, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( ImageLabelCombine ) ;
+}
+
+#endif // __bbSlicerImageLabelCombine_h_INCLUDED__
+
+