CASToR  2.0
Tomographic Reconstruction (PET/SPECT/CT)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Macros
vDeformation.hh File Reference

Declaration of class vDeformation. More...

#include "gVariables.hh"

Go to the source code of this file.

Classes

class  vDeformation
 This is the mother class of image-based transformation class. More...
 

Macros

#define FORWARD_DEFORMATION   0
 
#define BACKWARD_DEFORMATION   1
 
#define FUNCTION_DEFORMATION(CLASS)   static vDeformation *make_deformation() { return new CLASS(); };
 
#define CLASS_DEFORMATION(NAME, CLASS)
 

Detailed Description

Declaration of class vDeformation.

Definition in file vDeformation.hh.

Macro Definition Documentation

#define BACKWARD_DEFORMATION   1

Definition at line 38 of file vDeformation.hh.

#define CLASS_DEFORMATION (   NAME,
  CLASS 
)
Value:
class NAME##DeformationCreator \
{ \
public: \
NAME##DeformationCreator() \
{ sAddonManager::GetInstance()->mp_listOfDeformations[#NAME] = CLASS::make_deformation; } \
}; \
static NAME##DeformationCreator DeformationCreator##NAME;
static sAddonManager * GetInstance()
std::map< string, maker_deformation > mp_listOfDeformations

Definition at line 277 of file vDeformation.hh.

#define FORWARD_DEFORMATION   0

Definition at line 37 of file vDeformation.hh.

#define FUNCTION_DEFORMATION (   CLASS)    static vDeformation *make_deformation() { return new CLASS(); };

Definition at line 273 of file vDeformation.hh.