v2.0.0
Loading...
Searching...
No Matches
fiff_ch_pos.cpp
Go to the documentation of this file.
1//=============================================================================================================
18
19//=============================================================================================================
20// INCLUDES
21//=============================================================================================================
22
23#include "fiff_ch_pos.h"
24
25//=============================================================================================================
26// USED NAMESPACES
27//=============================================================================================================
28
29using namespace FIFFLIB;
30
31//=============================================================================================================
32// DEFINE MEMBER METHODS
33//=============================================================================================================
34
36: coil_type(0)
37, r0(Eigen::Vector3f::Zero())
38, ex(Eigen::Vector3f::Zero())
39, ey(Eigen::Vector3f::Zero())
40, ez(Eigen::Vector3f::Zero())
41{
42}
43
44//=============================================================================================================
45
47: coil_type(p_FiffChPos.coil_type)
48{
49 for (qint32 i = 0; i < 3; ++i) {
50 r0[i] = p_FiffChPos.r0[i];
51 ex[i] = p_FiffChPos.ex[i];
52 ey[i] = p_FiffChPos.ey[i];
53 ez[i] = p_FiffChPos.ez[i];
54 }
55}
56
57//=============================================================================================================
58
Coil-frame position record embedded inside FIFF_CH_INFO: coil location and 3x3 EX/EY/EZ orientation t...
FIFF file I/O, in-memory data structures and high-level readers/writers.
Eigen::Vector3f r0
fiff_int_t coil_type
Eigen::Vector3f ey
Eigen::Vector3f ex
Eigen::Vector3f ez