CASToR  1.0
Tomographic Reconstruction (PET/SPECT)
Classes | Defines
vOptimizer.hh File Reference

Declaration of class vOptimizer. More...

#include "gVariables.hh"
#include "oImageDimensionsAndQuantification.hh"
#include "oImageSpace.hh"
#include "vDataFile.hh"
#include "oProjectionLine.hh"

Go to the source code of this file.

Classes

class  vOptimizer
 This class is designed to generically described any iterative optimizer. More...

Defines

#define FUNCTION_OPTIMIZER(CLASS)   static vOptimizer *make_optimizer() { return new CLASS(); };
#define CLASS_OPTIMIZER(NAME, CLASS)

Detailed Description

Declaration of class vOptimizer.

Definition in file vOptimizer.hh.


Define Documentation

#define CLASS_OPTIMIZER (   NAME,
  CLASS 
)
Value:
class NAME##OptimizerCreator                                                                \
  {                                                                                           \
    public:                                                                                   \
      NAME##OptimizerCreator()                                                                \
        { sAddonManager::GetInstance()->mp_listOfOptimizers[#NAME] = CLASS::make_optimizer; } \
  };                                                                                          \
  static NAME##OptimizerCreator OptimizerCreator##NAME;

Definition at line 623 of file vOptimizer.hh.

#define FUNCTION_OPTIMIZER (   CLASS)    static vOptimizer *make_optimizer() { return new CLASS(); };

Definition at line 619 of file vOptimizer.hh.

 All Classes Files Functions Variables Typedefs Defines