CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/projector/oSystemMatrix.hh
Go to the documentation of this file.
1 
8 #ifndef OSYSTEMMATRIX_HH
9 #define OSYSTEMMATRIX_HH 1
10 
11 #include "gVariables.hh"
12 #include "oProjectionLine.hh"
13 #include "vScanner.hh"
14 
26 #define SYSTEM_MATRIX_KEYWORD "matrix"
27 
38 class oSystemMatrix
39 {
40  // -------------------------------------------------------------------
41  // Constructor & Destructor
42  public:
49  oSystemMatrix();
58 
59  // -------------------------------------------------------------------
60  // Public member functions
61  public:
75  int Project(int a_direction, oProjectionLine* ap_ProjectionLine, uint32_t* ap_index1, uint32_t* ap_index2, int a_nbIndices);
76 
77 
78  // -------------------------------------------------------------------
79  // Private member functions
80  private:
81 
82 
83  // -------------------------------------------------------------------
84  // Public Get & Set functions
85  public:
92 
93 
94  // -------------------------------------------------------------------
95  // Data members
96  private:
97  map<pair<int,int>,INTNB> mp_nbVoxels;
98  map<pair<int,int>,INTNB*> m2p_voxelIndicesMap;
99  map<pair<int,int>,FLTNB*> m2p_voxelWeightsMap;
100 // vScanner* mp_Scanner; /*!< The pointer to the vScanner in use */
102 };
103 
104 #endif
Declaration of class oProjectionLine.
oSystemMatrix()
The constructor of oSystemMatrix.
~oSystemMatrix()
The destructor of oSystemMatrix.
map< pair< int, int >, INTNB > mp_nbVoxels
This class is designed to manage pre-computed system matrices.
map< pair< int, int >, FLTNB * > m2p_voxelWeightsMap
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)