v2.0.0
Loading...
Searching...
No Matches
src
libraries
mne
mne_msh_light.cpp
Go to the documentation of this file.
1
//=============================================================================================================
15
16
//=============================================================================================================
17
// INCLUDES
18
//=============================================================================================================
19
20
#include "
mne_msh_light.h
"
21
22
//=============================================================================================================
23
// USED NAMESPACES
24
//=============================================================================================================
25
26
using namespace
MNELIB
;
27
28
//=============================================================================================================
29
// DEFINE MEMBER METHODS
30
//=============================================================================================================
31
32
MNEMshLight::MNEMshLight
()
33
{
34
}
35
36
//=============================================================================================================
37
38
MNEMshLight::MNEMshLight
(
const
MNEMshLight
&p_mneMshLight)
39
:
state
(p_mneMshLight.
state
)
40
{
41
this->
pos
[0] = p_mneMshLight.
pos
[0];
42
this->
pos
[1] = p_mneMshLight.
pos
[1];
43
this->
pos
[2] = p_mneMshLight.
pos
[2];
44
this->
diff
[0] = p_mneMshLight.
diff
[0];
45
this->
diff
[1] = p_mneMshLight.
diff
[1];
46
this->
diff
[2] = p_mneMshLight.
diff
[2];
47
}
48
49
//=============================================================================================================
50
51
MNEMshLight::MNEMshLight
(
int
state
,
float
posX,
float
posY,
float
posZ,
float
diffX,
float
diffY,
float
diffZ)
52
{
53
this->state =
state
;
54
this->
pos
[0] = posX;
55
this->
pos
[1] = posY;
56
this->
pos
[2] = posZ;
57
this->
diff
[0] = diffX;
58
this->
diff
[1] = diffY;
59
this->
diff
[2] = diffZ;
60
}
61
62
//=============================================================================================================
63
64
MNEMshLight::~MNEMshLight
()
65
{
66
}
mne_msh_light.h
Single directional / positional light source for the mesh viewer.
MNELIB
Core MNE data structures (source spaces, source estimates, hemispheres).
Definition
connectivitysettings.h:58
MNELIB::MNEMshLight::MNEMshLight
MNEMshLight()
Definition
mne_msh_light.cpp:32
MNELIB::MNEMshLight::diff
float diff[3]
Definition
mne_msh_light.h:90
MNELIB::MNEMshLight::~MNEMshLight
~MNEMshLight()
Definition
mne_msh_light.cpp:64
MNELIB::MNEMshLight::pos
float pos[3]
Definition
mne_msh_light.h:89
MNELIB::MNEMshLight::state
bool state
Definition
mne_msh_light.h:88
Generated on
for MNE-CPP by
1.16.1