Public Member Functions | Friends

SeqRotMatrixVector Class Reference
[Classes for sequence design (odinseq library)]

Vector of SeqRotMatrix's. More...

#include <seqrotmatrixvector.h>

Inheritance diagram for SeqRotMatrixVector:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SeqRotMatrixVector (const STD_string &object_label="unnamedSeqRotMatrixVector")
 SeqRotMatrixVector (const SeqRotMatrixVector &srmv)
 ~SeqRotMatrixVector ()
SeqRotMatrixVectoroperator= (const SeqRotMatrixVector &srmv)
const RotMatrixoperator[] (unsigned long index) const
const RotMatrixget_current_matrix () const
SeqRotMatrixVectorcreate_inplane_rotation (unsigned int nsegments)
SeqRotMatrixVectorclear ()
SeqRotMatrixVectorappend (const RotMatrix &srm)
RotMatrix get_maxMatrix () const

Friends

class SeqGradChan

Detailed Description

Vector of SeqRotMatrix's.

This class keeps an arry of rotation matrices. It can be used consecutively by a gradient object within a loop via the function SeqObjList::set_gradrotmatrixvector().

Definition at line 34 of file seqrotmatrixvector.h.


Constructor & Destructor Documentation

SeqRotMatrixVector::SeqRotMatrixVector ( const STD_string &  object_label = "unnamedSeqRotMatrixVector"  ) 

default constructor

SeqRotMatrixVector::SeqRotMatrixVector ( const SeqRotMatrixVector srmv  ) 

constructs a rot-matrix vector from an existing rot-matrix vector

SeqRotMatrixVector::~SeqRotMatrixVector (  ) 

Destructor


Member Function Documentation

SeqRotMatrixVector& SeqRotMatrixVector::append ( const RotMatrix srm  )  [inline]

adds a new rotation matrix at the end of the vector

Definition at line 87 of file seqrotmatrixvector.h.

SeqRotMatrixVector& SeqRotMatrixVector::clear (  )  [inline]

clears the list of rotation matrices

Definition at line 78 of file seqrotmatrixvector.h.

SeqRotMatrixVector& SeqRotMatrixVector::create_inplane_rotation ( unsigned int  nsegments  ) 

Makes this a vector of 'nsegments' matrices that rotate the first and second dimension (read, phase) with a constant angle increment of 2*PI/nsegments.

const RotMatrix& SeqRotMatrixVector::get_current_matrix (  )  const

returns the currently active matrix when used inside a loop

RotMatrix SeqRotMatrixVector::get_maxMatrix (  )  const

returns values with max. absolute values for each element of the matrix vector

SeqRotMatrixVector& SeqRotMatrixVector::operator= ( const SeqRotMatrixVector srmv  ) 

assignment operator

const RotMatrix& SeqRotMatrixVector::operator[] ( unsigned long  index  )  const

returns the index'th matrix


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