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 //=========================================================================================================
75 MNEMshLight(const MNEMshLight& p_mneMshLight);
76
77 //=========================================================================================================
89 MNEMshLight(int state, float posX, float posY, float posZ, float diffX, float diffY, float diffZ);
90
91 //=========================================================================================================
96
97public:
98 bool state; /* On or off? */
99 float pos[3]; /* Where is the light? */
100 float diff[3]; /* Diffuse intensity */
101
102 // ### OLD STRUCT ###
103 // typedef struct { /* Definition of lighting */
104 // int state; /* On or off? */
105 // float pos[3]; /* Where is the light? */
106 // float diff[3]; /* Diffuse intensity */
107 // } *mshLight,mshLightRec; /* We are only using diffuse lights here */
108};
109
110//=============================================================================================================
111// INLINE DEFINITIONS
112//=============================================================================================================
113} // NAMESPACE MNELIB
114
115#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