![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
Structure designed for basic matrices operations. More...
#include <oMatrix.hh>
Public Member Functions | |
oMatrix () | |
oMatrix constructor. Initialize the member variables to their default values. More... | |
~oMatrix () | |
oMatrix destructor. Free memory of the oMatrix object. More... | |
oMatrix (uint16_t nl, uint16_t nc) | |
oMatrix constructor. Instanciate a matrix structure with the number of lines and colons provided in parameters More... | |
void | Allocate (uint16_t nl, uint16_t nc) |
int | SetMatriceElt (uint16_t l, uint16_t c, HPFLTNB a_val) |
HPFLTNB | GetMatriceElt (uint16_t l, uint16_t c) |
HPFLTNB ** | GetMtx () |
int | Multiplication (oMatrix *ap_Mtx, oMatrix *ap_MtxResult) |
int | Transpose (oMatrix *a_MtxResult) |
int | Inverse (oMatrix *ap_MtxResult) |
int | SetXRotMtx (HPFLTNB ang) |
int | SetYRotMtx (HPFLTNB ang) |
int | SetZRotMtx (HPFLTNB ang) |
void | Describe () |
Display the element of the matrix. More... | |
oMatrix () | |
oMatrix constructor. Initialize the member variables to their default values. More... | |
~oMatrix () | |
oMatrix destructor. Free memory of the oMatrix object. More... | |
oMatrix (uint16_t nl, uint16_t nc) | |
oMatrix constructor. Instanciate a matrix structure with the number of lines and colons provided in parameters More... | |
void | Allocate (uint16_t nl, uint16_t nc) |
int | SetMatriceElt (uint16_t l, uint16_t c, HPFLTNB a_val) |
HPFLTNB | GetMatriceElt (uint16_t l, uint16_t c) |
HPFLTNB ** | GetMtx () |
int | Multiplication (oMatrix *ap_Mtx, oMatrix *ap_MtxResult) |
int | Transpose (oMatrix *a_MtxResult) |
int | Inverse (oMatrix *ap_MtxResult) |
int | SetXRotMtx (HPFLTNB ang) |
int | SetYRotMtx (HPFLTNB ang) |
int | SetZRotMtx (HPFLTNB ang) |
void | Describe () |
Public Attributes | |
uint16_t | m_lin |
uint16_t | m_col |
Private Attributes | |
HPFLTNB ** | m2p_Mat |
Structure designed for basic matrices operations.
This structure is mostly used in scanner classes, for geometrical rotation purposes
Definition at line 19 of file code/include/scanner/oMatrix.hh.
oMatrix::oMatrix | ( | ) |
oMatrix constructor. Initialize the member variables to their default values.
Definition at line 18 of file code/src/scanner/oMatrix.cc.
oMatrix::~oMatrix | ( | ) |
oMatrix destructor. Free memory of the oMatrix object.
Definition at line 58 of file code/src/scanner/oMatrix.cc.
oMatrix::oMatrix | ( | uint16_t | nl, |
uint16_t | nc | ||
) |
oMatrix constructor. Instanciate a matrix structure with the number of lines and colons provided in parameters
nl | : a number of lines |
nc | : a number of colons |
Definition at line 38 of file code/src/scanner/oMatrix.cc.
oMatrix::oMatrix | ( | ) |
oMatrix constructor. Initialize the member variables to their default values.
oMatrix::oMatrix | ( | uint16_t | nl, |
uint16_t | nc | ||
) |
oMatrix constructor. Instanciate a matrix structure with the number of lines and colons provided in parameters
nl | : a number of lines |
nc | : a number of colons |
void oMatrix::Allocate | ( | uint16_t | nl, |
uint16_t | nc | ||
) |
Definition at line 78 of file code/src/scanner/oMatrix.cc.
void oMatrix::Allocate | ( | uint16_t | nl, |
uint16_t | nc | ||
) |
void oMatrix::Describe | ( | ) |
Display the element of the matrix.
Definition at line 450 of file code/src/scanner/oMatrix.cc.
void oMatrix::Describe | ( | ) |
HPFLTNB oMatrix::GetMatriceElt | ( | uint16_t | l, |
uint16_t | c | ||
) |
Definition at line 143 of file code/src/scanner/oMatrix.cc.
HPFLTNB oMatrix::GetMatriceElt | ( | uint16_t | l, |
uint16_t | c | ||
) |
|
inline |
Definition at line 73 of file code/include/scanner/oMatrix.hh.
|
inline |
int oMatrix::Inverse | ( | oMatrix * | ap_MtxResult | ) |
int oMatrix::Inverse | ( | oMatrix * | ap_MtxResult | ) |
Definition at line 263 of file code/src/scanner/oMatrix.cc.
Definition at line 162 of file code/src/scanner/oMatrix.cc.
int oMatrix::SetMatriceElt | ( | uint16_t | l, |
uint16_t | c, | ||
HPFLTNB | a_val | ||
) |
Definition at line 116 of file code/src/scanner/oMatrix.cc.
int oMatrix::SetMatriceElt | ( | uint16_t | l, |
uint16_t | c, | ||
HPFLTNB | a_val | ||
) |
int oMatrix::SetXRotMtx | ( | HPFLTNB | ang | ) |
int oMatrix::SetXRotMtx | ( | HPFLTNB | ang | ) |
Definition at line 350 of file code/src/scanner/oMatrix.cc.
int oMatrix::SetYRotMtx | ( | HPFLTNB | ang | ) |
Definition at line 384 of file code/src/scanner/oMatrix.cc.
int oMatrix::SetYRotMtx | ( | HPFLTNB | ang | ) |
int oMatrix::SetZRotMtx | ( | HPFLTNB | ang | ) |
int oMatrix::SetZRotMtx | ( | HPFLTNB | ang | ) |
Definition at line 418 of file code/src/scanner/oMatrix.cc.
int oMatrix::Transpose | ( | oMatrix * | a_MtxResult | ) |
Definition at line 206 of file code/src/scanner/oMatrix.cc.
int oMatrix::Transpose | ( | oMatrix * | a_MtxResult | ) |
|
private |
2D pointer containing the matrix elements. Default =NULL
Definition at line 137 of file code/include/scanner/oMatrix.hh.
uint16_t oMatrix::m_col |
Number of colons in the matrix. Default =0
Definition at line 135 of file code/include/scanner/oMatrix.hh.
uint16_t oMatrix::m_lin |
Number of lines in the matrix. Default =0
Definition at line 134 of file code/include/scanner/oMatrix.hh.