MNE-CPP
0.1.9
A Framework for Electrophysiology
src
libraries
mne
c
mne_msh_color_scale_def.h
Go to the documentation of this file.
1
//=============================================================================================================
36
#ifndef MNEMSHCOLORSCALEDEF_H
37
#define MNEMSHCOLORSCALEDEF_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
// DEFINE NAMESPACE MNELIB
57
//=============================================================================================================
58
59
namespace
MNELIB
60
{
61
62
//=============================================================================================================
63
// FORWARD DECLARATIONS
64
//=============================================================================================================
65
66
//=============================================================================================================
72
class
MNESHARED_EXPORT
MneMshColorScaleDef
73
{
74
public
:
75
typedef
QSharedPointer<MneMshColorScaleDef>
SPtr
;
76
typedef
QSharedPointer<const MneMshColorScaleDef>
ConstSPtr
;
78
//=========================================================================================================
82
MneMshColorScaleDef
();
83
84
//=========================================================================================================
88
~
MneMshColorScaleDef
();
89
90
public
:
91
int
type;
/* What is this scale setting good for? */
92
float
mult;
/* Convenience multiplier from internal units to displayed numbers */
93
float
fthresh;
/* Threshold */
94
float
fmid;
/* This is in the middle */
95
float
fslope;
/* We still use the slope internally (sigh) */
96
float
tc_mult;
/* Multiply the scales by this value for timecourses */
97
int
relative;
/* Are fthresh and fmid relative to the maximum value over the surface? */
98
99
// ### OLD STRUCT ###
100
//typedef struct { /* The celebrated tksurfer-style values */
101
// int type; /* What is this scale setting good for? */
102
// float mult; /* Convenience multiplier from internal units to displayed numbers */
103
// float fthresh; /* Threshold */
104
// float fmid; /* This is in the middle */
105
// float fslope; /* We still use the slope internally (sigh) */
106
// float tc_mult; /* Multiply the scales by this value for timecourses */
107
// int relative; /* Are fthresh and fmid relative to the maximum value over the surface? */
108
//} *mshColorScaleDef,mshColorScaleDefRec;
109
};
110
111
//=============================================================================================================
112
// INLINE DEFINITIONS
113
//=============================================================================================================
114
}
// NAMESPACE MNELIB
115
116
#endif // MNEMSHCOLORSCALEDEF_H
MNELIB::MneMshColorScaleDef::SPtr
QSharedPointer< MneMshColorScaleDef > SPtr
Definition:
mne_msh_color_scale_def.h:75
MNESHARED_EXPORT
#define MNESHARED_EXPORT
Definition:
mne_global.h:56
MNELIB::MneMshColorScaleDef::ConstSPtr
QSharedPointer< const MneMshColorScaleDef > ConstSPtr
Definition:
mne_msh_color_scale_def.h:76
MNELIB::MneMshColorScaleDef
The MneMshColorScaleDef class.
Definition:
mne_msh_color_scale_def.h:72
Generated on Wed Aug 9 2023 17:55:42 for MNE-CPP by
1.8.17