SIRF  3.4.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sirf::TrajectoryPreparation< D > Class Template Referenceabstract

Abstract class defining the interface to set trajectories. More...

#include "TrajectoryPreparation.h"

Inheritance diagram for sirf::TrajectoryPreparation< D >:
sirf::GRPETrajectoryPrep sirf::NonCartesian2DTrajPrep sirf::GoldenAngle2DTrajprep sirf::Radial2DTrajprep

Public Types

typedef std::array< float, D > TrajPointType
 
typedef std::vector< TrajPointType > TrajPointSet
 

Public Member Functions

virtual void set_trajectory (MRAcquisitionData &mr_acq)
 
virtual TrajPointSet get_trajectory (const MRAcquisitionData &mr_acq) const
 

Protected Member Functions

virtual void set_acquisition_trajectory (ISMRMRD::Acquisition &acq) const
 Sets the trajectory field in an ISMRMRD::Acquisition. More...
 
virtual void overwrite_trajectory_name (sirf::MRAcquisitionData &mr_acq)
 Overwrites the trajectory name in the argument with the traj_type_ member.
 
virtual TrajPointSet calculate_trajectory (ISMRMRD::Acquisition &acq) const =0
 
virtual void append_to_trajectory (TrajPointSet &tps, ISMRMRD::Acquisition &acq) const =0
 

Protected Attributes

ISMRMRD::Encoding kspace_encoding_
 
ISMRMRD::TrajectoryType traj_type_
 Labels which trajectory type the TrajectoryPreparation is for.
 

Detailed Description

template<std::uint16_t D>
class sirf::TrajectoryPreparation< D >

Abstract class defining the interface to set trajectories.

The strategy is to perform the trajectory computation as a pre-processsing step to the reconstruction. The ISMRMRD format has a 3D trajectory data field in their ISRMRMRD::Acquisition classe. The interface provides set_trajectory() which populates this data field depending on the implementation.

Member Function Documentation

◆ set_acquisition_trajectory()

template<std::uint16_t D>
virtual void sirf::TrajectoryPreparation< D >::set_acquisition_trajectory ( ISMRMRD::Acquisition &  acq) const
inlineprotectedvirtual

Sets the trajectory field in an ISMRMRD::Acquisition.

Depending on the virtual method calculate_trajectory(...) which is overloaded for child classes, this method fills the trajectory data field of the acquisition with the correct locations in k-space. The trajectory information is later picked up by the forward() and backward() methods of the MRAcquisitionModel.


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