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

Declaration of class vProjector. More...

#include "gVariables.hh"
#include "vEvent.hh"
#include "oProjectionLine.hh"
#include "vScanner.hh"
#include "oImageDimensionsAndQuantification.hh"

Go to the source code of this file.

Classes

class  vProjector
 This class is designed to generically described any on-the-fly projector. More...
 

Macros

#define USE_TOFBIN   1
 
#define USE_TOFPOS   2
 
#define USE_NOTOF   3
 
#define FUNCTION_PROJECTOR(CLASS)   static vProjector *make_projector() { return new CLASS(); };
 
#define CLASS_PROJECTOR(NAME, CLASS)
 

Detailed Description

Declaration of class vProjector.

Definition in file vProjector.hh.

Macro Definition Documentation

#define CLASS_PROJECTOR (   NAME,
  CLASS 
)
Value:
class NAME##ProjectorCreator \
{ \
public: \
NAME##ProjectorCreator() \
{ sAddonManager::GetInstance()->mp_listOfProjectors[#NAME] = CLASS::make_projector; } \
}; \
static NAME##ProjectorCreator ProjectorCreator##NAME;
static sAddonManager * GetInstance()
std::map< string, maker_projector > mp_listOfProjectors

Definition at line 378 of file vProjector.hh.

#define FUNCTION_PROJECTOR (   CLASS)    static vProjector *make_projector() { return new CLASS(); };

Definition at line 374 of file vProjector.hh.