v2.0.0
Loading...
Searching...
No Matches
mne_msh_light.h
Go to the documentation of this file.
1//=============================================================================================================
16
17#ifndef MNEMSHLIGHT_H
18#define MNEMSHLIGHT_H
19
20//=============================================================================================================
21// INCLUDES
22//=============================================================================================================
23
24#include "mne_global.h"
25
26//=============================================================================================================
27// EIGEN INCLUDES
28//=============================================================================================================
29
30//=============================================================================================================
31// QT INCLUDES
32//=============================================================================================================
33
34#include <QSharedPointer>
35
36//=============================================================================================================
37// FORWARD DECLARATIONS
38//=============================================================================================================
39
40//=============================================================================================================
41// DEFINE NAMESPACE MNELIB
42//=============================================================================================================
43
44namespace MNELIB
45{
46
47//=============================================================================================================
48// MNELIB FORWARD DECLARATIONS
49//=============================================================================================================
50
51//=============================================================================================================
58{
59public:
60 typedef QSharedPointer<MNEMshLight> SPtr;
61 typedef QSharedPointer<const MNEMshLight> ConstSPtr;
62
63 //=========================================================================================================
68
69 //=========================================================================================================
73 MNEMshLight(const MNEMshLight &p_mneMshLight);
74
75 //=========================================================================================================
79 MNEMshLight(int state, float posX, float posY,float posZ,float diffX,float diffY,float diffZ);
80
81 //=========================================================================================================
86
87public:
88 bool state; /* On or off? */
89 float pos[3]; /* Where is the light? */
90 float diff[3]; /* Diffuse intensity */
91
92// ### OLD STRUCT ###
93// typedef struct { /* Definition of lighting */
94// int state; /* On or off? */
95// float pos[3]; /* Where is the light? */
96// float diff[3]; /* Diffuse intensity */
97// } *mshLight,mshLightRec; /* We are only using diffuse lights here */
98};
99
100//=============================================================================================================
101// INLINE DEFINITIONS
102//=============================================================================================================
103} // NAMESPACE MNELIB
104
105#endif // MNEMSHLIGHT_H
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Core MNE data structures (source spaces, source estimates, hemispheres).
QSharedPointer< MNEMshLight > SPtr
QSharedPointer< const MNEMshLight > ConstSPtr