]> Creatis software - creaCLI.git/blobdiff - ModuleCall/GenSrc/bbSlicerLinearregistration.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / ModuleCall / GenSrc / bbSlicerLinearregistration.h
diff --git a/ModuleCall/GenSrc/bbSlicerLinearregistration.h b/ModuleCall/GenSrc/bbSlicerLinearregistration.h
new file mode 100644 (file)
index 0000000..3f1013c
--- /dev/null
@@ -0,0 +1,80 @@
+#ifndef __bbSlicerLinearregistration_h_INCLUDED__
+#define __bbSlicerLinearregistration_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 Linearregistration
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( Linearregistration , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( FixedImageSmoothingFactor , int );
+BBTK_DECLARE_INPUT ( MovingImageSmoothingFactor , int );
+BBTK_DECLARE_INPUT ( HistogramBins , int );
+BBTK_DECLARE_INPUT ( SpatialSamples , int );
+BBTK_DECLARE_INPUT ( Iterations , std::vector<int> );
+BBTK_DECLARE_INPUT ( LearningRate , std::vector<double> );
+BBTK_DECLARE_INPUT ( TranslationScale , double );
+BBTK_DECLARE_INPUT ( InitialTransform , std::string );
+BBTK_DECLARE_INPUT ( FixedImageFileName , std::string );
+BBTK_DECLARE_INPUT ( MovingImageFileName , std::string );
+BBTK_DECLARE_INPUT ( OutputTransform , std::string );
+BBTK_DECLARE_INPUT ( ResampledImageFileName , 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 ( Linearregistration , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "Linearregistration" ) ;
+    BBTK_AUTHOR ( "Daniel Blezek" ) ;
+    BBTK_DESCRIPTION ( "Registers two images together using a rigid transform and mutual information." ) ;
+    BBTK_CATEGORY ( "Legacy.Registration" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(Linearregistration , FixedImageSmoothingFactor , "FixedImageSmoothingFactor" , int, "");
+BBTK_INPUT(Linearregistration , MovingImageSmoothingFactor , "MovingImageSmoothingFactor" , int, "");
+BBTK_INPUT(Linearregistration , HistogramBins , "HistogramBins" , int, "");
+BBTK_INPUT(Linearregistration , SpatialSamples , "SpatialSamples" , int, "");
+BBTK_INPUT(Linearregistration , Iterations , "Iterations" , std::vector<int>, "");
+BBTK_INPUT(Linearregistration , LearningRate , "LearningRate" , std::vector<double>, "");
+BBTK_INPUT(Linearregistration , TranslationScale , "TranslationScale" , double, "");
+BBTK_INPUT(Linearregistration , InitialTransform , "InitialTransform" , std::string, "");
+BBTK_INPUT(Linearregistration , FixedImageFileName , "FixedImageFileName" , std::string, "");
+BBTK_INPUT(Linearregistration , MovingImageFileName , "MovingImageFileName" , std::string, "");
+BBTK_INPUT(Linearregistration , OutputTransform , "OutputTransform" , std::string, "");
+BBTK_INPUT(Linearregistration , ResampledImageFileName , "ResampledImageFileName" , std::string, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( Linearregistration ) ;
+}
+
+#endif // __bbSlicerLinearregistration_h_INCLUDED__
+
+