]> Creatis software - creaCLI.git/blobdiff - ModuleCall/GenSrc/bbSlicerACPCTransform.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / ModuleCall / GenSrc / bbSlicerACPCTransform.h
diff --git a/ModuleCall/GenSrc/bbSlicerACPCTransform.h b/ModuleCall/GenSrc/bbSlicerACPCTransform.h
new file mode 100644 (file)
index 0000000..f5da823
--- /dev/null
@@ -0,0 +1,64 @@
+#ifndef __bbSlicerACPCTransform_h_INCLUDED__
+#define __bbSlicerACPCTransform_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 ACPCTransform
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( ACPCTransform , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( ACPC , std::vector<std::vector<float> > );
+BBTK_DECLARE_INPUT ( Midline , std::vector<std::vector<float> > );
+BBTK_DECLARE_INPUT ( OutputTransform , std::string );
+BBTK_DECLARE_INPUT ( debugSwitch , bool );
+
+        // EO GENERATED ARGS
+
+        BBTK_PROCESS ( Process ) ;
+        void Process ( ) ;
+    private:
+        void execute ( std::string lib , int _argc , char * _argv[] ) ;
+    } ;
+
+    BBTK_BEGIN_DESCRIBE_BLACK_BOX ( ACPCTransform , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "ACPCTransform" ) ;
+    BBTK_AUTHOR ( "Nicole Aucoin, BWH Ron Kikinis, BWH" ) ;
+    BBTK_DESCRIPTION ( "pCalculate a transformation from two lists of fiducial points./ppACPC line is two fiducial points, one at the anterior commissure and one at the posterior commissure. The resulting transform will bring the line connecting them to horizontal to the AP axis./ppThe midline is a series of points defining the division between the hemispheres of the brain the mid sagittal plane. The resulting transform will put the output volume with the mid sagittal plane lined up with the AS plane./ppUse the Filtering module bResample Scalar/Vector/DWI Volume/b to apply the transformation to a volume./p" ) ;
+    BBTK_CATEGORY ( "Registration.Specialized" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(ACPCTransform , ACPC , "ACPC" , std::vector<std::vector<float> >, "");
+BBTK_INPUT(ACPCTransform , Midline , "Midline" , std::vector<std::vector<float> >, "");
+BBTK_INPUT(ACPCTransform , OutputTransform , "OutputTransform" , std::string, "");
+BBTK_INPUT(ACPCTransform , debugSwitch , "debugSwitch" , bool, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( ACPCTransform ) ;
+}
+
+#endif // __bbSlicerACPCTransform_h_INCLUDED__
+
+