CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
oSystemMatrix.hh
Go to the documentation of this file.
1 
9 #ifndef OSYSTEMMATRIX_HH
10 #define OSYSTEMMATRIX_HH 1
11 
12 #include "gVariables.hh"
13 #include "oProjectionLine.hh"
14 #include "vScanner.hh"
15 
27 #define SYSTEM_MATRIX_KEYWORD "matrix"
28 
40 {
41  // -------------------------------------------------------------------
42  // Constructor & Destructor
43  public:
50  oSystemMatrix();
59 
60  // -------------------------------------------------------------------
61  // Public member functions
62  public:
76  int Project(int a_direction, oProjectionLine* ap_ProjectionLine, uint32_t* ap_index1, uint32_t* ap_index2, int a_nbIndices);
77 
78 
79  // -------------------------------------------------------------------
80  // Private member functions
81  private:
82 
83 
84  // -------------------------------------------------------------------
85  // Public Get & Set functions
86  public:
93 
94 
95  // -------------------------------------------------------------------
96  // Data members
97  private:
98  map<pair<int,int>,INTNB> mp_nbVoxels;
99  map<pair<int,int>,INTNB*> m2p_voxelIndicesMap;
100  map<pair<int,int>,FLTNB*> m2p_voxelWeightsMap;
103 };
104 
105 #endif
This header file is mainly used to declare some macro definitions and all includes needed from the st...
#define FLTNB
Definition: gVariables.hh:55
bool GetCompatibilityWithSPECTAttenuationCorrection()
map< pair< int, int >, FLTNB * > m2p_voxelWeightsMap
map< pair< int, int >, INTNB > mp_nbVoxels
bool m_compatibleWithSPECTAttenuationCorrection
oSystemMatrix()
The constructor of oSystemMatrix.
~oSystemMatrix()
The destructor of oSystemMatrix.
Declaration of class oProjectionLine.
vScanner * mp_Scanner
Declaration of class vScanner.
This class is designed to manage pre-computed system matrices.
#define INTNB
Definition: gVariables.hh:64
This class is designed to manage and store system matrix elements associated to a vEvent...
map< pair< int, int >, INTNB * > m2p_voxelIndicesMap
int Project(int a_direction, oProjectionLine *ap_ProjectionLine, uint32_t *ap_index1, uint32_t *ap_index2, int a_nbIndices)
Generic class for scanner objects.
Definition: vScanner.hh:48