v2.0.0
Loading...
Searching...
No Matches
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
26using namespace MNELIB;
27
28//=============================================================================================================
29// DEFINE MEMBER METHODS
30//=============================================================================================================
31
35
36//=============================================================================================================
37
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
51MNEMshLight::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
Single directional / positional light source for the mesh viewer.
Core MNE data structures (source spaces, source estimates, hemispheres).