]> Creatis software - creaCLI.git/blobdiff - ModuleCall/GenSrc/bbSlicerExpertAutomatedRegistration.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / ModuleCall / GenSrc / bbSlicerExpertAutomatedRegistration.h
diff --git a/ModuleCall/GenSrc/bbSlicerExpertAutomatedRegistration.h b/ModuleCall/GenSrc/bbSlicerExpertAutomatedRegistration.h
new file mode 100644 (file)
index 0000000..5c0312d
--- /dev/null
@@ -0,0 +1,112 @@
+#ifndef __bbSlicerExpertAutomatedRegistration_h_INCLUDED__
+#define __bbSlicerExpertAutomatedRegistration_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 ExpertAutomatedRegistration
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( ExpertAutomatedRegistration , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( fixedImage , std::string );
+BBTK_DECLARE_INPUT ( movingImage , std::string );
+BBTK_DECLARE_INPUT ( resampledImage , std::string );
+BBTK_DECLARE_INPUT ( loadTransform , std::string );
+BBTK_DECLARE_INPUT ( saveTransform , std::string );
+BBTK_DECLARE_INPUT ( initialization , std::string );
+BBTK_DECLARE_INPUT ( registration , std::string );
+BBTK_DECLARE_INPUT ( metric , std::string );
+BBTK_DECLARE_INPUT ( expectedOffset , float );
+BBTK_DECLARE_INPUT ( expectedRotation , float );
+BBTK_DECLARE_INPUT ( expectedScale , float );
+BBTK_DECLARE_INPUT ( expectedSkew , float );
+BBTK_DECLARE_INPUT ( verbosityLevel , std::string );
+BBTK_DECLARE_INPUT ( sampleFromOverlap , bool );
+BBTK_DECLARE_INPUT ( fixedImageMask , std::string );
+BBTK_DECLARE_INPUT ( randomNumberSeed , int );
+BBTK_DECLARE_INPUT ( numberOfThreads , int );
+BBTK_DECLARE_INPUT ( minimizeMemory , bool );
+BBTK_DECLARE_INPUT ( interpolation , std::string );
+BBTK_DECLARE_INPUT ( fixedLandmarks , std::vector<std::vector<float> > );
+BBTK_DECLARE_INPUT ( movingLandmarks , std::vector<std::vector<float> > );
+BBTK_DECLARE_INPUT ( rigidMaxIterations , int );
+BBTK_DECLARE_INPUT ( rigidSamplingRatio , float );
+BBTK_DECLARE_INPUT ( affineMaxIterations , int );
+BBTK_DECLARE_INPUT ( affineSamplingRatio , float );
+BBTK_DECLARE_INPUT ( bsplineMaxIterations , int );
+BBTK_DECLARE_INPUT ( bsplineSamplingRatio , float );
+BBTK_DECLARE_INPUT ( controlPointSpacing , int );
+
+        // EO GENERATED ARGS
+
+        BBTK_PROCESS ( Process ) ;
+        void Process ( ) ;
+    private:
+        void execute ( std::string lib , int _argc , char * _argv[] ) ;
+    } ;
+
+    BBTK_BEGIN_DESCRIBE_BLACK_BOX ( ExpertAutomatedRegistration , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "ExpertAutomatedRegistration" ) ;
+    BBTK_AUTHOR ( "Stephen R Aylward, Casey B Goodlett" ) ;
+    BBTK_DESCRIPTION ( "Provides rigid, affine, and BSpline registration methods via a simple GUI" ) ;
+    BBTK_CATEGORY ( "Legacy.Registration" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(ExpertAutomatedRegistration , fixedImage , "fixedImage" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , movingImage , "movingImage" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , resampledImage , "resampledImage" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , loadTransform , "loadTransform" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , saveTransform , "saveTransform" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , initialization , "initialization" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , registration , "registration" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , metric , "metric" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , expectedOffset , "expectedOffset" , float, "");
+BBTK_INPUT(ExpertAutomatedRegistration , expectedRotation , "expectedRotation" , float, "");
+BBTK_INPUT(ExpertAutomatedRegistration , expectedScale , "expectedScale" , float, "");
+BBTK_INPUT(ExpertAutomatedRegistration , expectedSkew , "expectedSkew" , float, "");
+BBTK_INPUT(ExpertAutomatedRegistration , verbosityLevel , "verbosityLevel" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , sampleFromOverlap , "sampleFromOverlap" , bool, "");
+BBTK_INPUT(ExpertAutomatedRegistration , fixedImageMask , "fixedImageMask" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , randomNumberSeed , "randomNumberSeed" , int, "");
+BBTK_INPUT(ExpertAutomatedRegistration , numberOfThreads , "numberOfThreads" , int, "");
+BBTK_INPUT(ExpertAutomatedRegistration , minimizeMemory , "minimizeMemory" , bool, "");
+BBTK_INPUT(ExpertAutomatedRegistration , interpolation , "interpolation" , std::string, "");
+BBTK_INPUT(ExpertAutomatedRegistration , fixedLandmarks , "fixedLandmarks" , std::vector<std::vector<float> >, "");
+BBTK_INPUT(ExpertAutomatedRegistration , movingLandmarks , "movingLandmarks" , std::vector<std::vector<float> >, "");
+BBTK_INPUT(ExpertAutomatedRegistration , rigidMaxIterations , "rigidMaxIterations" , int, "");
+BBTK_INPUT(ExpertAutomatedRegistration , rigidSamplingRatio , "rigidSamplingRatio" , float, "");
+BBTK_INPUT(ExpertAutomatedRegistration , affineMaxIterations , "affineMaxIterations" , int, "");
+BBTK_INPUT(ExpertAutomatedRegistration , affineSamplingRatio , "affineSamplingRatio" , float, "");
+BBTK_INPUT(ExpertAutomatedRegistration , bsplineMaxIterations , "bsplineMaxIterations" , int, "");
+BBTK_INPUT(ExpertAutomatedRegistration , bsplineSamplingRatio , "bsplineSamplingRatio" , float, "");
+BBTK_INPUT(ExpertAutomatedRegistration , controlPointSpacing , "controlPointSpacing" , int, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( ExpertAutomatedRegistration ) ;
+}
+
+#endif // __bbSlicerExpertAutomatedRegistration_h_INCLUDED__
+
+