CASToR  1.0
Tomographic Reconstruction (PET/SPECT)
Classes | Defines
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...

Defines

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


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

Definition at line 324 of file vProjector.hh.

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

Definition at line 320 of file vProjector.hh.

 All Classes Files Functions Variables Typedefs Defines