]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerFiducialRegistration.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerFiducialRegistration.h
diff --git a/bbtk_Slicer_PKG/src/bbSlicerFiducialRegistration.h b/bbtk_Slicer_PKG/src/bbSlicerFiducialRegistration.h
new file mode 100644 (file)
index 0000000..46870b4
--- /dev/null
@@ -0,0 +1,64 @@
+#ifndef __bbSlicerFiducialRegistration_h_INCLUDED__
+#define __bbSlicerFiducialRegistration_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 FiducialRegistration
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( FiducialRegistration , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( fixedLandmarks , std::vector<std::vector<float> > );
+BBTK_DECLARE_INPUT ( movingLandmarks , std::vector<std::vector<float> > );
+BBTK_DECLARE_INPUT ( saveTransform , std::string );
+BBTK_DECLARE_INPUT ( transformType , 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 ( FiducialRegistration , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "FiducialRegistration" ) ;
+    BBTK_AUTHOR ( "Casey B Goodlett" ) ;
+    BBTK_DESCRIPTION ( "Computes a rigid, similarity or affine transform from a matched list of fiducials" ) ;
+    BBTK_CATEGORY ( "Registration.Specialized" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(FiducialRegistration , fixedLandmarks , "fixedLandmarks" , std::vector<std::vector<float> >, "");
+BBTK_INPUT(FiducialRegistration , movingLandmarks , "movingLandmarks" , std::vector<std::vector<float> >, "");
+BBTK_INPUT(FiducialRegistration , saveTransform , "saveTransform" , std::string, "");
+BBTK_INPUT(FiducialRegistration , transformType , "transformType" , std::string, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( FiducialRegistration ) ;
+}
+
+#endif // __bbSlicerFiducialRegistration_h_INCLUDED__
+
+