]> Creatis software - creaCLI.git/blob - bbtk_Slicer_PKG/src/bbSlicerExecutionModelTour.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerExecutionModelTour.h
1 #ifndef __bbSlicerExecutionModelTour_h_INCLUDED__
2 #define __bbSlicerExecutionModelTour_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 ExecutionModelTour
25     :
26     public bbtk::AtomicBlackBox {
27         BBTK_BLACK_BOX_INTERFACE ( ExecutionModelTour , bbtk::AtomicBlackBox ) ;
28
29         // GENERATED ARGS        
30         
31 BBTK_DECLARE_INPUT ( integerVariable , int );
32 BBTK_DECLARE_INPUT ( doubleVariable , double );
33 BBTK_DECLARE_INPUT ( floatVector , std::vector<float> );
34 BBTK_DECLARE_INPUT ( stringVector , std::vector<std::string> );
35 BBTK_DECLARE_INPUT ( stringChoice , std::string );
36 BBTK_DECLARE_INPUT ( boolean1 , bool );
37 BBTK_DECLARE_INPUT ( boolean2 , bool );
38 BBTK_DECLARE_INPUT ( boolean3 , bool );
39 BBTK_DECLARE_INPUT ( file1 , std::string );
40 BBTK_DECLARE_INPUT ( files , std::vector<std::string> );
41 BBTK_DECLARE_INPUT ( directory1 , std::string );
42 BBTK_DECLARE_INPUT ( image1 , std::string );
43 BBTK_DECLARE_INPUT ( image2 , std::string );
44 BBTK_DECLARE_INPUT ( transform1 , std::string );
45 BBTK_DECLARE_INPUT ( transform2 , std::string );
46 BBTK_DECLARE_INPUT ( seed , std::vector<std::vector<float> > );
47 BBTK_DECLARE_INPUT ( arg0 , std::string );
48 BBTK_DECLARE_INPUT ( arg1 , std::string );
49 BBTK_DECLARE_INPUT ( regions , std::vector<std::vector<float> > );
50 BBTK_DECLARE_INPUT ( inputFA , std::string );
51 BBTK_DECLARE_INPUT ( outputFA , std::string );
52 BBTK_DECLARE_INPUT ( anintegerreturn , int );
53 BBTK_DECLARE_INPUT ( abooleanreturn , bool );
54 BBTK_DECLARE_INPUT ( afloatreturn , float );
55 BBTK_DECLARE_INPUT ( adoublereturn , double );
56 BBTK_DECLARE_INPUT ( astringreturn , std::string );
57 BBTK_DECLARE_INPUT ( anintegervectorreturn , std::vector<int> );
58 BBTK_DECLARE_INPUT ( astringchoicereturn , std::string );
59
60         // EO GENERATED ARGS
61
62         BBTK_PROCESS ( Process ) ;
63         void Process ( ) ;
64     private:
65         void execute ( std::string lib , int _argc , char * _argv[] ) ;
66     } ;
67
68     BBTK_BEGIN_DESCRIBE_BLACK_BOX ( ExecutionModelTour , bbtk::AtomicBlackBox ) ;
69     BBTK_NAME ( "ExecutionModelTour" ) ;
70     BBTK_AUTHOR ( "Daniel Blezek, Bill Lorensen" ) ;
71     BBTK_DESCRIPTION ( "Shows one of each type of parameter." ) ;
72     BBTK_CATEGORY ( "Developer Tools" ) ;
73
74     // GENERATED DESCRPTION
75     
76 BBTK_INPUT(ExecutionModelTour , integerVariable , "integerVariable" , int, "");
77 BBTK_INPUT(ExecutionModelTour , doubleVariable , "doubleVariable" , double, "");
78 BBTK_INPUT(ExecutionModelTour , floatVector , "floatVector" , std::vector<float>, "");
79 BBTK_INPUT(ExecutionModelTour , stringVector , "stringVector" , std::vector<std::string>, "");
80 BBTK_INPUT(ExecutionModelTour , stringChoice , "stringChoice" , std::string, "");
81 BBTK_INPUT(ExecutionModelTour , boolean1 , "boolean1" , bool, "");
82 BBTK_INPUT(ExecutionModelTour , boolean2 , "boolean2" , bool, "");
83 BBTK_INPUT(ExecutionModelTour , boolean3 , "boolean3" , bool, "");
84 BBTK_INPUT(ExecutionModelTour , file1 , "file1" , std::string, "");
85 BBTK_INPUT(ExecutionModelTour , files , "files" , std::vector<std::string>, "");
86 BBTK_INPUT(ExecutionModelTour , directory1 , "directory1" , std::string, "");
87 BBTK_INPUT(ExecutionModelTour , image1 , "image1" , std::string, "");
88 BBTK_INPUT(ExecutionModelTour , image2 , "image2" , std::string, "");
89 BBTK_INPUT(ExecutionModelTour , transform1 , "transform1" , std::string, "");
90 BBTK_INPUT(ExecutionModelTour , transform2 , "transform2" , std::string, "");
91 BBTK_INPUT(ExecutionModelTour , seed , "seed" , std::vector<std::vector<float> >, "");
92 BBTK_INPUT(ExecutionModelTour , arg0 , "arg0" , std::string, "");
93 BBTK_INPUT(ExecutionModelTour , arg1 , "arg1" , std::string, "");
94 BBTK_INPUT(ExecutionModelTour , regions , "regions" , std::vector<std::vector<float> >, "");
95 BBTK_INPUT(ExecutionModelTour , inputFA , "inputFA" , std::string, "");
96 BBTK_INPUT(ExecutionModelTour , outputFA , "outputFA" , std::string, "");
97 BBTK_INPUT(ExecutionModelTour , anintegerreturn , "anintegerreturn" , int, "");
98 BBTK_INPUT(ExecutionModelTour , abooleanreturn , "abooleanreturn" , bool, "");
99 BBTK_INPUT(ExecutionModelTour , afloatreturn , "afloatreturn" , float, "");
100 BBTK_INPUT(ExecutionModelTour , adoublereturn , "adoublereturn" , double, "");
101 BBTK_INPUT(ExecutionModelTour , astringreturn , "astringreturn" , std::string, "");
102 BBTK_INPUT(ExecutionModelTour , anintegervectorreturn , "anintegervectorreturn" , std::vector<int>, "");
103 BBTK_INPUT(ExecutionModelTour , astringchoicereturn , "astringchoicereturn" , std::string, "");
104
105     // EO GENERATED DESCRIPTION
106
107     BBTK_END_DESCRIBE_BLACK_BOX ( ExecutionModelTour ) ;
108 }
109
110 #endif // __bbSlicerExecutionModelTour_h_INCLUDED__
111
112