CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs 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 16 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 233 of file vDeformation.hh.

#define FORWARD_DEFORMATION   0

Definition at line 15 of file vDeformation.hh.

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

Definition at line 229 of file vDeformation.hh.