JEMRIS  2.8.1
open-source MRI simulations
List of all members | Classes | Public Member Functions | Private Attributes
TPOI Class Reference
+ Collaboration diagram for TPOI:

Classes

struct  set
 The set of data of each time point of interest. More...
 

Public Member Functions

 TPOI ()
 
void Reset ()
 
 ~TPOI ()
 
void operator+= (const TPOI &tpoi)
 
TPOIoperator+ (const TPOI &tpoi)
 
void operator+ (const set &data)
 
int GetSize () const
 
void Print (std::ostream &os) const
 
double GetTime (const size_t pos) const
 
double GetPhase (const size_t pos) const
 
bool IsADC (const size_t pos)
 
bool IsExcitation (const size_t pos)
 
bool IsRefocussing (const size_t pos)
 
size_t GetMask (const size_t pos) const
 
void Sort ()
 
void Purge ()
 

Private Attributes

vector< double > m_time
 
vector< double > m_phase
 
vector< size_t > m_mask
 

Constructor & Destructor Documentation

TPOI::TPOI ( )
inline

Constructor

The Cunstructor will Initialize a new data acquisition repository with initial size of 1000.

TPOI::~TPOI ( )
inline

Destructor

Free memory of the data;

Member Function Documentation

double TPOI::GetPhase ( const size_t  pos) const
inline

Get the phase of a pos-th point

Parameters
posThe particular position in the list
Returns
The pos-th phase

+ Here is the caller graph for this function:

int TPOI::GetSize ( ) const

Get the size of this repository

Returns
Size of this repository

+ Here is the caller graph for this function:

double TPOI::GetTime ( const size_t  pos) const
inline

Get the time of a pos-th point

Parameters
posThe particular position in the list
Returns
The pos-th time

+ Here is the caller graph for this function:

TPOI & TPOI::operator+ ( const TPOI tpoi)

Add two sets of time points.

Merge two sets of time points. Elimintaing overlapping times and sorting on the time axis.

Parameters
tpoiTime points of interest to be added
Returns
Sum
void TPOI::operator+ ( const set data)

Append new single time point.

Add a new time point of interest to the set.

Parameters
dataNew set
void TPOI::operator+= ( const TPOI tpoi)

Add two sets of time points.

Merge two sets of time points. Elimintaing overlapping times and sorting on the time axis.

Parameters
tpoiTime points of interest to be added

+ Here is the call graph for this function:

void TPOI::Purge ( )

Purge my own data

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TPOI::Reset ( )
inline

Reset my data repository

+ Here is the caller graph for this function:

void TPOI::Sort ( )

Sort my own data

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

vector<size_t> TPOI::m_mask
private

vector of bitmasks

vector<double> TPOI::m_phase
private

vector of corresponding receiver phase.

vector<double> TPOI::m_time
private

vector of time points.


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

-- last change 17.06.2016 | Tony Stoecker | Imprint --