v2.0.0
Loading...
Searching...
No Matches
filter_thread_arg.h
Go to the documentation of this file.
1//=============================================================================================================
18
19#ifndef FILTERTHREADARG_H
20#define FILTERTHREADARG_H
21
22//=============================================================================================================
23// INCLUDES
24//=============================================================================================================
25
26#include "mne_global.h"
27
28#include "mne_source_space.h"
29#include "mne_surface.h"
30
31//=============================================================================================================
32// EIGEN INCLUDES
33//=============================================================================================================
34
35#include <Eigen/Core>
36
37//=============================================================================================================
38// QT INCLUDES
39//=============================================================================================================
40
41#include <QSharedPointer>
42#include <QWeakPointer>
43#include <QTextStream>
44
45#include <memory>
46
47namespace FIFFLIB { class FiffCoordTrans; }
48
49//=============================================================================================================
50// DEFINE NAMESPACE MNELIB
51//=============================================================================================================
52
53namespace MNELIB
54{
55
56//=============================================================================================================
63{
64public:
65 typedef QSharedPointer<FilterThreadArg> SPtr;
66 typedef QSharedPointer<const FilterThreadArg> ConstSPtr;
67
68 //=========================================================================================================
74
75 //=========================================================================================================
81
82public:
84 std::unique_ptr<FIFFLIB::FiffCoordTrans> mri_head_t;
85 QWeakPointer<MNESurface> surf;
86 float limit;
87 QTextStream *filtered;
88 int stat;
89
90// ### OLD STRUCT ###
91//typedef struct {
92// MNESourceSpace* s; /* The source space to process */
93// FiffCoordTransOld* mri_head_t; /* Coordinate transformation */
94// MNESurface* surf; /* The inner skull surface */
95// float limit; /* Distance limit */
96// FILE *filtered; /* Log omitted point locations here */
97// int stat; /* How was it? */
98//} *filterThreadArg,filterThreadArgRec;
99};
100
101//=============================================================================================================
102// INLINE DEFINITIONS
103//=============================================================================================================
104} // NAMESPACE MNELIB
105
106#endif // FILTERTHREADARG_H
Lightweight triangulated surface (vertices, triangles, normals) used by surface-based routines.
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Single-hemisphere source space (cortical surface or volume grid) loaded from FIFF.
Core MNE data structures (source spaces, source estimates, hemispheres).
FIFF file I/O, in-memory data structures and high-level readers/writers.
Labelled 4x4 FIFF affine: source frame, destination frame, rotation, translation and cached inverse.
QWeakPointer< MNESurface > surf
QSharedPointer< const FilterThreadArg > ConstSPtr
std::unique_ptr< FIFFLIB::FiffCoordTrans > mri_head_t
QSharedPointer< FilterThreadArg > SPtr
This defines a source space.