v2.0.0
Loading...
Searching...
No Matches
filter_thread_arg.h
Go to the documentation of this file.
1//=============================================================================================================
36
37#ifndef FILTERTHREADARG_H
38#define FILTERTHREADARG_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "mne_global.h"
45
46#include "mne_source_space.h"
47#include "mne_surface.h"
48
49//=============================================================================================================
50// EIGEN INCLUDES
51//=============================================================================================================
52
53#include <Eigen/Core>
54
55//=============================================================================================================
56// QT INCLUDES
57//=============================================================================================================
58
59#include <QSharedPointer>
60#include <QWeakPointer>
61#include <QTextStream>
62
63#include <memory>
64
65namespace FIFFLIB { class FiffCoordTrans; }
66
67//=============================================================================================================
68// DEFINE NAMESPACE MNELIB
69//=============================================================================================================
70
71namespace MNELIB
72{
73
74//=============================================================================================================
81{
82public:
83 typedef QSharedPointer<FilterThreadArg> SPtr;
84 typedef QSharedPointer<const FilterThreadArg> ConstSPtr;
85
86 //=========================================================================================================
92
93 //=========================================================================================================
99
100public:
102 std::unique_ptr<FIFFLIB::FiffCoordTrans> mri_head_t;
103 QWeakPointer<MNESurface> surf;
104 float limit;
105 QTextStream *filtered;
106 int stat;
107
108// ### OLD STRUCT ###
109//typedef struct {
110// MNESourceSpace* s; /* The source space to process */
111// FiffCoordTransOld* mri_head_t; /* Coordinate transformation */
112// MNESurface* surf; /* The inner skull surface */
113// float limit; /* Distance limit */
114// FILE *filtered; /* Log omitted point locations here */
115// int stat; /* How was it? */
116//} *filterThreadArg,filterThreadArgRec;
117};
118
119//=============================================================================================================
120// INLINE DEFINITIONS
121//=============================================================================================================
122} // NAMESPACE MNELIB
123
124#endif // FILTERTHREADARG_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
MNESurface class declaration.
MNESourceSpace class declaration.
Core MNE data structures (source spaces, source estimates, hemispheres).
FIFF file I/O and data structures (raw, epochs, evoked, covariance, forward).
Coordinate transformation description.
QWeakPointer< MNESurface > surf
QSharedPointer< const FilterThreadArg > ConstSPtr
std::unique_ptr< FIFFLIB::FiffCoordTrans > mri_head_t
QSharedPointer< FilterThreadArg > SPtr
This defines a source space.