119 #define FUNCTION_PENALTY(CLASS) \
120 static vPenalty *make_penalty() { return new CLASS(); };
123 #define CLASS_PENALTY(NAME,CLASS) \
124 class NAME##PenaltyCreator \
127 NAME##PenaltyCreator() \
128 { sAddonManager::GetInstance()->mp_listOfPenalties[#NAME] = CLASS::make_penalty; } \
130 static NAME##PenaltyCreator PenaltyCreator##NAME;
This header file is mainly used to declare some macro definitions and all includes needed from the st...
Declaration of class oImageDimensionsAndQuantification.
vPenalty()
The constructor of vPenalty.
virtual ~vPenalty()
The destructor of vPenalty.
oImageDimensionsAndQuantification * mp_ImageDimensionsAndQuantification
This class is designed to generically described any penalty applied to MAP algorithms.
void SetVerbose(int a_verbose)
Set the verbose level.
void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
Set the pointer to the image dimensions in use.
This class is designed to manage all dimensions and quantification related stuff. ...