#include <seqvec.h>

Public Member Functions | |
| SeqVector (const STD_string &object_label="unnamedSeqVector") | |
| SeqVector (const STD_string &object_label, unsigned int nindices, int slope=1, int offset=0) | |
| SeqVector (const SeqVector &sv) | |
| virtual | ~SeqVector () |
| SeqVector & | operator= (const SeqVector &sv) |
| virtual unsigned int | get_vectorsize () const |
| virtual unsigned int | get_numof_iterations () const |
| virtual bool | needs_unrolling_check () const |
| virtual bool | prep_iteration () const |
| virtual int | get_current_index () const |
| int | get_acq_index () const |
| virtual bool | is_qualvector () const |
| virtual bool | is_acq_vector () const |
| virtual bool | is_obj_vector () const |
| virtual svector | get_vector_commands (const STD_string &iterator) const |
| virtual STD_string | get_loopcommand () const |
| SeqVector & | set_indexvec (const ivector &iv) |
| ivector | get_indexvec () const |
| SeqVector & | set_reorder_scheme (reorderScheme scheme, unsigned int nsegments=1) |
| SeqVector & | set_encoding_scheme (encodingScheme scheme) |
| const SeqVector & | get_reorder_vector () const |
| virtual nestingRelation | get_nesting_relation () const |
| iarray | get_index_matrix () const |
| int | get_current_reord_index () const |
| STD_string | get_reord_iterator (const STD_string &iterator) const |
Protected Member Functions | |
| virtual svector | get_reord_vector_commands (const STD_string &iterator) const |
| bool | is_handled () const |
Friends | |
| class | SeqReorderVector |
| class | SeqCounter |
| class | SeqObjLoop |
| class | SeqSimultanVector |
Definition at line 70 of file seqvec.h.
| SeqVector::SeqVector | ( | const STD_string & | object_label = "unnamedSeqVector" |
) |
Default Constructor
| SeqVector::SeqVector | ( | const STD_string & | object_label, | |
| unsigned int | nindices, | |||
| int | slope = 1, |
|||
| int | offset = 0 | |||
| ) |
Constructs an index vector labeled 'object_label' with the following properties:
| SeqVector::SeqVector | ( | const SeqVector & | sv | ) |
Copy Constructor
| virtual SeqVector::~SeqVector | ( | ) | [virtual] |
Destructor
Assignment operator that makes this vector become a copy of 'sv'
| virtual unsigned int SeqVector::get_vectorsize | ( | ) | const [inline, virtual] |
Overload this function to return the number of elements in the vector (regardless of reordering)
Reimplemented in SeqFreqChan, SeqObjVector, SeqFlipAngVector, SeqRotMatrixVector, and SeqSimultanVector.
| virtual unsigned int SeqVector::get_numof_iterations | ( | ) | const [virtual] |
Returns the number of iterations with proper consideration of reordering, e.g. if the vector has N values distributed over M reordering segments, this function will return N/M.
Reimplemented in SeqSimultanVector.
| virtual bool SeqVector::needs_unrolling_check | ( | ) | const [inline, virtual] |
Overload this function to trigger a check whether the loop must possibly be unrolled in pulse or gradient program
Reimplemented in SeqObjVector, SeqFlipAngVector, SeqRotMatrixVector, and SeqSimultanVector.
| virtual bool SeqVector::prep_iteration | ( | ) | const [inline, virtual] |
Overload this function to prepare objects at run-time before the execution of a loop repetition return 'false' when preparation fails
Reimplemented in SeqFreqChan, SeqFlipAngVector, SeqRotMatrixVector, and SeqSimultanVector.
| virtual int SeqVector::get_current_index | ( | ) | const [virtual] |
Overload this function to return the current index, intended to use it in combination with reordering of phase encoding steps or slices
| int SeqVector::get_acq_index | ( | ) | const |
Returns the current index relevant for acquisition (reco dimensions). This is the value of the index vector (set_indexvec) at the position returned by 'get_current_index'.
| virtual bool SeqVector::is_qualvector | ( | ) | const [virtual] |
Overload this function to tell whether the vector qualitatively alters the sequence concerning timings and RF power deposition. This is useful for accelerating duration and SAR calculations (Siemens).
Reimplemented in SeqDiffWeight, SeqDiffWeightFlowComp, SeqFreqChan, SeqObjVector, SeqRotMatrixVector, and SeqSimultanVector.
| virtual bool SeqVector::is_acq_vector | ( | ) | const [virtual] |
Returns whether this vector is used to specify an acquisition dimension through the set_*_vector(...) functions of all classes derived from SeqAcqInterface
Reimplemented in SeqObjVector.
| virtual bool SeqVector::is_obj_vector | ( | ) | const [inline, virtual] |
Returns whether this vector uses a different set of sequence objects at each repetition
Reimplemented in SeqObjVector.
| virtual svector SeqVector::get_vector_commands | ( | const STD_string & | iterator | ) | const [inline, virtual] |
If the vector is used as a variable in the code-generated pulse program, overload this function to return a unique label/command for the vector which is either attached to the loop (Bruker), or executed at the beginning of the loop (EPIC).
Reimplemented in SeqFreqChan, SeqFlipAngVector, SeqRotMatrixVector, and SeqSimultanVector.
| virtual STD_string SeqVector::get_loopcommand | ( | ) | const [inline, virtual] |
Overload this function to return the command to iterate to the next item at the end of the loop
Reimplemented in SeqSimultanVector.
| ivector SeqVector::get_indexvec | ( | ) | const [inline] |
| SeqVector& SeqVector::set_reorder_scheme | ( | reorderScheme | scheme, | |
| unsigned int | nsegments = 1 | |||
| ) |
Sets the reordering scheme and the number of segments
Reimplemented in SeqFreqChan.
| SeqVector& SeqVector::set_encoding_scheme | ( | encodingScheme | scheme | ) |
Sets the encoding scheme
Reimplemented in SeqFreqChan.
| const SeqVector& SeqVector::get_reorder_vector | ( | ) | const |
Returns the reordering vector (for loop insertion)
Reimplemented in SeqFreqChan.
| virtual nestingRelation SeqVector::get_nesting_relation | ( | ) | const [virtual] |
Returns the nesting relation between the vector and its reordering vector
Reimplemented in SeqSimultanVector.
| iarray SeqVector::get_index_matrix | ( | ) | const |
Returns a matrix whereby the elements of rows (second dimension) contain the reordered index for each iteration. The other dimension (first dimension) represents reordering iterations.
| int SeqVector::get_current_reord_index | ( | ) | const |
Returns the current index of the reordering vector
| STD_string SeqVector::get_reord_iterator | ( | const STD_string & | iterator | ) | const |
Returns the iterator as modified by the reorder vector as C code
| virtual svector SeqVector::get_reord_vector_commands | ( | const STD_string & | iterator | ) | const [inline, protected, virtual] |
| bool SeqVector::is_handled | ( | ) | const [inline, protected] |
1.5.6