]> Creatis software - creaCLI.git/blobdiff - ModuleCall/GenSrc/bbSlicerBSplinetodeformationfield.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / ModuleCall / GenSrc / bbSlicerBSplinetodeformationfield.h
diff --git a/ModuleCall/GenSrc/bbSlicerBSplinetodeformationfield.h b/ModuleCall/GenSrc/bbSlicerBSplinetodeformationfield.h
new file mode 100644 (file)
index 0000000..4815d58
--- /dev/null
@@ -0,0 +1,62 @@
+#ifndef __bbSlicerBSplinetodeformationfield_h_INCLUDED__
+#define __bbSlicerBSplinetodeformationfield_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 BSplinetodeformationfield
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( BSplinetodeformationfield , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( inputTransformName , std::string );
+BBTK_DECLARE_INPUT ( referenceImageName , std::string );
+BBTK_DECLARE_INPUT ( deformationFieldName , std::string );
+
+        // EO GENERATED ARGS
+
+        BBTK_PROCESS ( Process ) ;
+        void Process ( ) ;
+    private:
+        void execute ( std::string lib , int _argc , char * _argv[] ) ;
+    } ;
+
+    BBTK_BEGIN_DESCRIBE_BLACK_BOX ( BSplinetodeformationfield , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "BSplinetodeformationfield" ) ;
+    BBTK_AUTHOR ( "Andrey Fedorov, BWH" ) ;
+    BBTK_DESCRIPTION ( "Create a dense deformation field from a bspline+bulk transform." ) ;
+    BBTK_CATEGORY ( "Legacy.Converters" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(BSplinetodeformationfield , inputTransformName , "inputTransformName" , std::string, "");
+BBTK_INPUT(BSplinetodeformationfield , referenceImageName , "referenceImageName" , std::string, "");
+BBTK_INPUT(BSplinetodeformationfield , deformationFieldName , "deformationFieldName" , std::string, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( BSplinetodeformationfield ) ;
+}
+
+#endif // __bbSlicerBSplinetodeformationfield_h_INCLUDED__
+
+