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

Declaration of class vScanner. More...

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

Go to the source code of this file.

Classes

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

Defines

#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.


Define 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;

Definition at line 371 of file vScanner.hh.

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

Definition at line 367 of file vScanner.hh.

 All Classes Files Functions Variables Typedefs Defines