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
48{
49class FiffCoordTrans;
50}
51
52//=============================================================================================================
53// DEFINE NAMESPACE MNELIB
54//=============================================================================================================
55
56namespace MNELIB
57{
58
59//=============================================================================================================
66{
67public:
68 typedef QSharedPointer<FilterThreadArg> SPtr;
69 typedef QSharedPointer<const FilterThreadArg> ConstSPtr;
70
71 //=========================================================================================================
77
78 //=========================================================================================================
84
85public:
87 std::unique_ptr<FIFFLIB::FiffCoordTrans> mri_head_t;
88 QWeakPointer<MNESurface> surf;
89 float limit;
90 QTextStream* filtered;
91 int stat;
92
93 // ### OLD STRUCT ###
94 //typedef struct {
95 // MNESourceSpace* s; /* The source space to process */
96 // FiffCoordTransOld* mri_head_t; /* Coordinate transformation */
97 // MNESurface* surf; /* The inner skull surface */
98 // float limit; /* Distance limit */
99 // FILE *filtered; /* Log omitted point locations here */
100 // int stat; /* How was it? */
101 //} *filterThreadArg,filterThreadArgRec;
102};
103
104//=============================================================================================================
105// INLINE DEFINITIONS
106//=============================================================================================================
107} // NAMESPACE MNELIB
108
109#endif // FILTERTHREADARG_H
Lightweight triangulated surface (vertices, triangles, normals) used by surface-based routines.
Single-hemisphere source space (cortical surface or volume grid) loaded from FIFF.
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).
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.