JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
Trajectory1D.h
Go to the documentation of this file.
1
9/*
10 * JEMRIS Copyright (C)
11 * 2006-2025 Tony Stoecker
12 * 2007-2018 Kaveh Vahedipour
13 * 2009-2019 Daniel Pflugfelder
14 *
15 *
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or
19 * (at your option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software
28 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
29 */
30
31#ifndef TRAJECTORY1D_H_
32#define TRAJECTORY1D_H_
33
34#include "TrajectoryInterface.h"
35
40public:
42 virtual ~Trajectory1D();
43
44 virtual void LoadFile(string filename);
45
46 virtual void GetValueDerived(double time, double * values);
47
48private:
49 vector<double> m_data;
50
51protected:
52 virtual void LinearInterpolation(double time, double *value);
53
54};
55
56#endif /* TRAJECTORY1D_H_ */
Implementation of JEMRIS TrajectoryInterface.
one-dimensional Trajectory
Definition Trajectory1D.h:39
virtual void GetValueDerived(double time, double *values)
retrieve value at given time-point
Definition Trajectory1D.cpp:99
virtual void LoadFile(string filename)
load trajectory from file
Definition Trajectory1D.cpp:43
pure virtual base class for all Trajectories
Definition TrajectoryInterface.h:48

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