JEMRIS 2.9.1
open-source MRI simulations
Loading...
Searching...
No Matches
TrajectoryRespiration.h
Go to the documentation of this file.
1
7/*
8 * JEMRIS Copyright (C)
9 * 2006-2023 Tony Stoecker
10 * 2007-2018 Kaveh Vahedipour
11 * 2009-2019 Daniel Pflugfelder
12 *
13 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
18 *
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
27 */
28
29#ifndef JEMRIS_TRAJECTORYRESPIRATION_H
30#define JEMRIS_TRAJECTORYRESPIRATION_H
31
32#include "TrajectoryInterface.h"
33#include "NDData.h"
34
36public:
38 virtual ~TrajectoryRespiration();
39
40 virtual void GetValueDerived(double time, double *value);
41
42 virtual void LoadFile(string filename);
43
44 double dx;
45 size_t xi;
46 double dy;
47 size_t yi;
48 double dz;
49 size_t zi;
50 size_t xip;
51 size_t yip;
52 size_t zip;
53
54 double int_part;
55 double store_x;
56 double store_y;
57 double store_z;
58 double m_ap_interpolated[3];
59 double m_si_interpolated[3];
60 double m_model_offset_interpolated[3];
61
62protected:
63 vector<double> m_res;
64 vector<double> m_offset;
65 NDData<double> m_field;
66 NDData<double> m_ap;
67 NDData<double> m_si;
68 NDData<double> m_model_offset;
69 NDData<double> m_breathing_trace;
70};
71
72#endif //JEMRIS_TRAJECTORYRESPIRATION_H
Implementation of JEMRIS TrajectoryInterface.
Simple nd-data structure.
Definition: NDData.h:53
pure virtual base class for all Trajectories
Definition: TrajectoryInterface.h:48
Definition: TrajectoryRespiration.h:35
virtual void GetValueDerived(double time, double *value)
retrieve value at given time-point
Definition: TrajectoryRespiration.cpp:100
virtual void LoadFile(string filename)
load trajectory from file
Definition: TrajectoryRespiration.cpp:41

-- last change 03.10.2023 | Tony Stoecker | Imprint | Data Protection --