]> Creatis software - creaCLI.git/blob - bbtk_Slicer_PKG/src/bbSlicerRobustMultiresolutionAffineRegistration.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerRobustMultiresolutionAffineRegistration.h
1 #ifndef __bbSlicerRobustMultiresolutionAffineRegistration_h_INCLUDED__
2 #define __bbSlicerRobustMultiresolutionAffineRegistration_h_INCLUDED__
3
4 #include "bbSlicer_EXPORT.h"
5 #include "bbtkAtomicBlackBox.h"
6
7 #include <vector>
8 #include <cstdlib>
9 #include <dlfcn.h>
10 #include <sstream>
11 #include <fstream>
12 #include <iostream>
13
14 #include <ModuleDescriptionUtilities.h>
15 #include <ModuleDescriptionParser.h>
16 #include <ModuleParameterGroup.h>
17 #include <ModuleDescription.h>
18 #include <ModuleParameter.h>
19
20 #include "CreationTool.h"
21
22 namespace bbSlicer {
23
24     class bbSlicer_EXPORT RobustMultiresolutionAffineRegistration
25     :
26     public bbtk::AtomicBlackBox {
27         BBTK_BLACK_BOX_INTERFACE ( RobustMultiresolutionAffineRegistration , bbtk::AtomicBlackBox ) ;
28
29         // GENERATED ARGS        
30         
31 BBTK_DECLARE_INPUT ( fixedImage , std::string );
32 BBTK_DECLARE_INPUT ( movingImage , std::string );
33 BBTK_DECLARE_INPUT ( resampledImage , std::string );
34 BBTK_DECLARE_INPUT ( outputTransform , std::string );
35 BBTK_DECLARE_INPUT ( fixedImageMask , std::string );
36 BBTK_DECLARE_INPUT ( fixedImageROI , std::vector<float> );
37 BBTK_DECLARE_INPUT ( numIterations , int );
38 BBTK_DECLARE_INPUT ( numLineIterations , int );
39 BBTK_DECLARE_INPUT ( stepSize , float );
40 BBTK_DECLARE_INPUT ( stepTolerance , float );
41 BBTK_DECLARE_INPUT ( metricTolerance , float );
42
43         // EO GENERATED ARGS
44
45         BBTK_PROCESS ( Process ) ;
46         void Process ( ) ;
47     private:
48         void execute ( std::string lib , int _argc , char * _argv[] ) ;
49     } ;
50
51     BBTK_BEGIN_DESCRIBE_BLACK_BOX ( RobustMultiresolutionAffineRegistration , bbtk::AtomicBlackBox ) ;
52     BBTK_NAME ( "RobustMultiresolutionAffineRegistration" ) ;
53     BBTK_AUTHOR ( "Casey B Goodlett" ) ;
54     BBTK_DESCRIPTION ( "Provides affine registration using multiple resolution levels and decomposed affine transforms." ) ;
55     BBTK_CATEGORY ( "Legacy.Registration" ) ;
56
57     // GENERATED DESCRPTION
58     
59 BBTK_INPUT(RobustMultiresolutionAffineRegistration , fixedImage , "fixedImage" , std::string, "");
60 BBTK_INPUT(RobustMultiresolutionAffineRegistration , movingImage , "movingImage" , std::string, "");
61 BBTK_INPUT(RobustMultiresolutionAffineRegistration , resampledImage , "resampledImage" , std::string, "");
62 BBTK_INPUT(RobustMultiresolutionAffineRegistration , outputTransform , "outputTransform" , std::string, "");
63 BBTK_INPUT(RobustMultiresolutionAffineRegistration , fixedImageMask , "fixedImageMask" , std::string, "");
64 BBTK_INPUT(RobustMultiresolutionAffineRegistration , fixedImageROI , "fixedImageROI" , std::vector<float>, "");
65 BBTK_INPUT(RobustMultiresolutionAffineRegistration , numIterations , "numIterations" , int, "");
66 BBTK_INPUT(RobustMultiresolutionAffineRegistration , numLineIterations , "numLineIterations" , int, "");
67 BBTK_INPUT(RobustMultiresolutionAffineRegistration , stepSize , "stepSize" , float, "");
68 BBTK_INPUT(RobustMultiresolutionAffineRegistration , stepTolerance , "stepTolerance" , float, "");
69 BBTK_INPUT(RobustMultiresolutionAffineRegistration , metricTolerance , "metricTolerance" , float, "");
70
71     // EO GENERATED DESCRIPTION
72
73     BBTK_END_DESCRIBE_BLACK_BOX ( RobustMultiresolutionAffineRegistration ) ;
74 }
75
76 #endif // __bbSlicerRobustMultiresolutionAffineRegistration_h_INCLUDED__
77
78