CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
oSystemMatrix Class Reference

This class is designed to manage pre-computed system matrices. More...

#include <oSystemMatrix.hh>

Collaboration diagram for oSystemMatrix:
Collaboration graph

Public Member Functions

 oSystemMatrix ()
 The constructor of oSystemMatrix. More...
 
 ~oSystemMatrix ()
 The destructor of oSystemMatrix. More...
 
int Project (int a_direction, oProjectionLine *ap_ProjectionLine, uint32_t *ap_index1, uint32_t *ap_index2, int a_nbIndices)
 
bool GetCompatibilityWithSPECTAttenuationCorrection ()
 

Private Attributes

map< pair< int, int >, INTNBmp_nbVoxels
 
map< pair< int, int >, INTNB * > m2p_voxelIndicesMap
 
map< pair< int, int >, FLTNB * > m2p_voxelWeightsMap
 
vScannermp_Scanner
 
bool m_compatibleWithSPECTAttenuationCorrection
 

Detailed Description

This class is designed to manage pre-computed system matrices.

This class is basically a container for pre-computed system matrices able to read/write oProjectionLines. It can be used during the reconstruction process by the oProjectorManager. Everything needs to be implemented !

Definition at line 39 of file oSystemMatrix.hh.

Constructor & Destructor Documentation

oSystemMatrix::oSystemMatrix ( )

The constructor of oSystemMatrix.

This is the default and unique constructor. It does not take any parameter and its role is only to affect default values to each member of the class.

Definition at line 26 of file oSystemMatrix.cc.

Here is the call graph for this function:

oSystemMatrix::~oSystemMatrix ( )

The destructor of oSystemMatrix.

This is the default and unique destructor. It does not take any parameter and its role is only to free or delete all structures that were built by this class. It is virtual, so that it is automatically called when a child object is deleted.

Definition at line 40 of file oSystemMatrix.cc.

Member Function Documentation

public bool oSystemMatrix::GetCompatibilityWithSPECTAttenuationCorrection ( )
inline
Returns
m_compatibleWithSPECTAttenuationCorrection

Definition at line 91 of file oSystemMatrix.hh.

Here is the caller graph for this function:

int oSystemMatrix::Project ( int  a_direction,
oProjectionLine ap_ProjectionLine,
uint32_t *  ap_index1,
uint32_t *  ap_index2,
int  a_nbIndices 
)

Definition at line 47 of file oSystemMatrix.cc.

Here is the caller graph for this function:

Member Data Documentation

map<pair<int,int>,INTNB*> oSystemMatrix::m2p_voxelIndicesMap
private

The map associating pairs of indices to the list of voxels indices

Definition at line 99 of file oSystemMatrix.hh.

map<pair<int,int>,FLTNB*> oSystemMatrix::m2p_voxelWeightsMap
private

The map associating pairs of indices to the list of voxels weights

Definition at line 100 of file oSystemMatrix.hh.

bool oSystemMatrix::m_compatibleWithSPECTAttenuationCorrection
private

Boolean that says if the projector is compatible with SPECT attenuation correction

Definition at line 102 of file oSystemMatrix.hh.

map<pair<int,int>,INTNB> oSystemMatrix::mp_nbVoxels
private

The map associating pairs of indices to the number of contributing voxels

Definition at line 98 of file oSystemMatrix.hh.

vScanner* oSystemMatrix::mp_Scanner
private

The pointer to the vScanner in use

Definition at line 101 of file oSystemMatrix.hh.


The documentation for this class was generated from the following files: