9 #include "sAddonManager.hh" 29 MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
30 if (mpi_rank!=0)
return;
34 std::map<string,maker_projector>::iterator iter;
35 cout << endl <<
"Here is the list of all implemented projectors along with their options:" << endl << endl;
36 for (iter = list.begin(); iter!=list.end(); iter++)
39 cout <<
"------------------------------------------------------------------" << endl;
40 cout <<
"----- \"" << iter->first <<
"\"" << endl;
41 cout <<
"------------------------------------------------------------------" << endl;
66 MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
67 if (mpi_rank!=0)
return;
71 std::map<string,maker_optimizer>::iterator iter;
72 cout << endl <<
"Here is the list of all implemented optimizers along with their options:" << endl << endl;
73 for (iter = list.begin(); iter!=list.end(); iter++)
76 cout <<
"------------------------------------------------------------------" << endl;
77 cout <<
"----- \"" << iter->first <<
"\"" << endl;
78 cout <<
"------------------------------------------------------------------" << endl;
103 MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
104 if (mpi_rank!=0)
return;
108 std::map<string,maker_scanner>::iterator iter;
109 cout << endl <<
"Here is the list of all implemented systems along with their options:" << endl << endl;
110 for (iter = list.begin(); iter!=list.end(); iter++)
113 cout <<
"------------------------------------------------------------------" << endl;
114 cout <<
"----- \"" << iter->first <<
"\"" << endl;
115 cout <<
"------------------------------------------------------------------" << endl;
140 MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
141 if (mpi_rank!=0)
return;
145 std::map<string,maker_image_convolver>::iterator iter;
146 cout << endl <<
"Here is the list of all implemented image convolvers along with their options:" << endl << endl;
147 for (iter = list.begin(); iter!=list.end(); iter++)
150 cout <<
"------------------------------------------------------------------" << endl;
151 cout <<
"----- \"" << iter->first <<
"\"" << endl;
152 cout <<
"------------------------------------------------------------------" << endl;
177 MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
178 if (mpi_rank!=0)
return;
182 std::map<string,maker_image_processing_module>::iterator iter;
183 cout << endl <<
"Here is the list of all implemented image processing modules along with their options:" << endl << endl;
184 for (iter = list.begin(); iter!=list.end(); iter++)
187 cout <<
"------------------------------------------------------------------" << endl;
188 cout <<
"----- \"" << iter->first <<
"\"" << endl;
189 cout <<
"------------------------------------------------------------------" << endl;
214 MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
215 if (mpi_rank!=0)
return;
219 std::map<string,maker_penalty>::iterator iter;
220 cout << endl <<
"Here is the list of all implemented penalties along with their options:" << endl << endl;
221 for (iter = list.begin(); iter!=list.end(); iter++)
224 cout <<
"------------------------------------------------------------------" << endl;
225 cout <<
"----- \"" << iter->first <<
"\"" << endl;
226 cout <<
"------------------------------------------------------------------" << endl;
251 MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
252 if (mpi_rank!=0)
return;
256 std::map<string,maker_dynamic_model>::iterator iter;
257 cout << endl <<
"Here is the list of all implemented models along with their options:" << endl << endl;
258 for (iter = list.begin(); iter!=list.end(); iter++)
261 cout <<
"------------------------------------------------------------------" << endl;
262 cout <<
"----- \"" << iter->first <<
"\"" << endl;
263 cout <<
"------------------------------------------------------------------" << endl;
272 delete dynamic_model;
288 MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
289 if (mpi_rank!=0)
return;
293 std::map<string,maker_deformation>::iterator iter;
294 cout << endl <<
"Here is the list of all implemented image deformation algorithms along with their options:" << endl << endl;
295 for (iter = list.begin(); iter!=list.end(); iter++)
298 cout <<
"------------------------------------------------------------------" << endl;
299 cout <<
"----- \"" << iter->first <<
"\"" << endl;
300 cout <<
"------------------------------------------------------------------" << endl;
void ShowHelpDynamicModel()
Show help about all implemented dynamic models.
This class is designed to manage the automatic declaration of 'addon' classes.
void ShowHelpDeformation()
Show help about all implemented deformations.
This class is designed to generically described any on-the-fly projector.
std::map< string, maker_scanner > mp_listOfScannerTypes
std::map< string, maker_dynamic_model > mp_listOfDynamicModels
virtual void ShowHelp()=0
This function is implemented in child classes Display help specific to the scanner class...
This is the mother class of dynamic model classes.
void ShowHelpImageProcessingModule()
Show help about all implemented image processing modules.
void ShowHelpPenalty()
Show help about all implemented penalties.
std::map< string, maker_deformation > mp_listOfDeformations
virtual void ShowHelpModelSpecific()=0
This function is used to print out specific help about the dynamic model and its options. It is pure virtual so must be implemented by children.
void ShowHelp()
A function used to show help about the penalty.
static sAddonManager * GetInstance()
virtual void ShowHelp()=0
A function used to show help about the child module.
std::map< string, maker_optimizer > mp_listOfOptimizers
This abstract class is the generic image processing module class used by the oImageProcessingManager...
std::map< string, maker_penalty > mp_listOfPenalties
sAddonManager()
The constructor of sAddonManager.
std::map< string, maker_image_convolver > mp_listOfImageConvolvers
This class is designed to generically described any penalty applied to MAP algorithms.
virtual void ShowHelp()=0
A function used to show help about the child module.
std::map< string, maker_projector > mp_listOfProjectors
void ShowHelpProjector()
Show help about all implemented projectors.
This class is designed to generically described any iterative optimizer.
void ShowHelpScanner()
Show help about all implemented scanners.
void ShowHelpOptimizer()
Show help about all implemented optimizers.
void ShowHelp()
A function used to show help about the projector.
static sAddonManager * mp_Instance
void ShowHelp()
A function used to show help about the optimizer.
Generic class for scanner objects.
This abstract class is the generic image convolver class used by the oImageConvolverManager.
void ShowHelpImageConvolver()
Show help about all implemented image convolvers.
std::map< string, maker_image_processing_module > mp_listOfImageProcessingModules