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

Declaration of class vScanner. More...

#include "gVariables.hh"
#include "sOutputManager.hh"
#include "oMatrix.hh"
#include "sRandomNumberGenerator.hh"

Go to the source code of this file.

Classes

class  vScanner
 Generic class for scanner objects. More...
 

Macros

#define GEO_ROT_CW   0
 
#define GEO_ROT_CCW   1
 
#define FUNCTION_SCANNER(CLASS)   static vScanner *make_scanner() { return new CLASS(); };
 
#define CLASS_SCANNER(NAME, CLASS)
 

Detailed Description

Declaration of class vScanner.

Definition in file vScanner.hh.

Macro Definition Documentation

#define CLASS_SCANNER (   NAME,
  CLASS 
)
Value:
class NAME##ScannerCreator \
{ \
public: \
NAME##ScannerCreator() \
{ sAddonManager::GetInstance()->mp_listOfScannerTypes[#NAME] = CLASS::make_scanner; } \
}; \
static NAME##ScannerCreator ScannerCreator##NAME;
std::map< string, maker_scanner > mp_listOfScannerTypes
static sAddonManager * GetInstance()

Definition at line 458 of file vScanner.hh.

#define FUNCTION_SCANNER (   CLASS)    static vScanner *make_scanner() { return new CLASS(); };

Definition at line 454 of file vScanner.hh.