v2.0.0
Loading...
Searching...
No Matches
mne_msh_light.h
Go to the documentation of this file.
1//=============================================================================================================
35
36#ifndef MNEMSHLIGHT_H
37#define MNEMSHLIGHT_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "mne_global.h"
44
45//=============================================================================================================
46// EIGEN INCLUDES
47//=============================================================================================================
48
49//=============================================================================================================
50// QT INCLUDES
51//=============================================================================================================
52
53#include <QSharedPointer>
54
55//=============================================================================================================
56// FORWARD DECLARATIONS
57//=============================================================================================================
58
59//=============================================================================================================
60// DEFINE NAMESPACE MNELIB
61//=============================================================================================================
62
63namespace MNELIB
64{
65
66//=============================================================================================================
67// MNELIB FORWARD DECLARATIONS
68//=============================================================================================================
69
70//=============================================================================================================
77{
78public:
79 typedef QSharedPointer<MNEMshLight> SPtr;
80 typedef QSharedPointer<const MNEMshLight> ConstSPtr;
81
82 //=========================================================================================================
87
88 //=========================================================================================================
92 MNEMshLight(const MNEMshLight &p_mneMshLight);
93
94 //=========================================================================================================
98 MNEMshLight(int state, float posX, float posY,float posZ,float diffX,float diffY,float diffZ);
99
100 //=========================================================================================================
104 ~MNEMshLight();
105
106public:
107 int state; /* On or off? */
108 float pos[3]; /* Where is the light? */
109 float diff[3]; /* Diffuse intensity */
110
111// ### OLD STRUCT ###
112// typedef struct { /* Definition of lighting */
113// int state; /* On or off? */
114// float pos[3]; /* Where is the light? */
115// float diff[3]; /* Diffuse intensity */
116// } *mshLight,mshLightRec; /* We are only using diffuse lights here */
117};
118
119//=============================================================================================================
120// INLINE DEFINITIONS
121//=============================================================================================================
122} // NAMESPACE MNELIB
123
124#endif // MNEMSHLIGHT_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
Core MNE data structures (source spaces, source estimates, hemispheres).
QSharedPointer< MNEMshLight > SPtr
QSharedPointer< const MNEMshLight > ConstSPtr