MNE-CPP  0.1.9
A Framework for Electrophysiology
sourceestimateview.cpp
Go to the documentation of this file.
1 //=============================================================================================================
36 //=============================================================================================================
37 // INCLUDES
38 //=============================================================================================================
39 
40 #include "sourceestimateview.h"
41 
42 #include "../engine/model/data3Dtreemodel.h"
43 #include "../engine/model/items/sourcedata/mnedatatreeitem.h"
44 
45 #include <fs/surfaceset.h>
46 #include <fs/annotationset.h>
47 
49 
50 //=============================================================================================================
51 // QT INCLUDES
52 //=============================================================================================================
53 
54 //=============================================================================================================
55 // USED NAMESPACES
56 //=============================================================================================================
57 
58 using namespace DISP3DLIB;
59 using namespace MNELIB;
60 using namespace FSLIB;
61 
62 //=============================================================================================================
63 // DEFINE MEMBER METHODS
64 //=============================================================================================================
65 
67  Qt::WindowFlags f)
68 : AbstractView(parent, f)
69 {
70 }
71 
72 //=============================================================================================================
73 
75 {
76 }
77 
78 //=============================================================================================================
79 
81  const QString& sMeasurementSetName,
82  const MNESourceEstimate& tSourceEstimate,
83  const MNEForwardSolution& tForwardSolution,
84  const SurfaceSet& tSurfSet,
85  const AnnotationSet& tAnnotSet)
86 {
87  //Add network data
88  return m_pData3DModel->addSourceData(sSubject,
89  sMeasurementSetName,
90  tSourceEstimate,
91  tForwardSolution,
92  tSurfSet,
93  tAnnotSet);
94 }
DISP3DLIB::AbstractView::m_pData3DModel
QSharedPointer< DISP3DLIB::Data3DTreeModel > m_pData3DModel
Definition: abstractview.h:150
DISP3DLIB::AbstractView
Adapter which provides the abstract class for all adapter views.
Definition: abstractview.h:81
DISP3DLIB::MneDataTreeItem
Provides a generic brain tree item to hold real time data.
Definition: mnedatatreeitem.h:99
FSLIB::AnnotationSet
Annotation set.
Definition: annotationset.h:80
annotationset.h
AnnotationSet class declaration.
MNELIB::MNEForwardSolution
Forward operator.
Definition: mne_forwardsolution.h:170
surfaceset.h
SurfaceSet class declaration.
DISP3DLIB::SourceEstimateView::addData
MneDataTreeItem * addData(const QString &sSubject, const QString &sMeasurementSetName, const MNELIB::MNESourceEstimate &tSourceEstimate, const MNELIB::MNEForwardSolution &tForwardSolution, const FSLIB::SurfaceSet &tSurfSet, const FSLIB::AnnotationSet &tAnnotSet)
Definition: sourceestimateview.cpp:80
MNELIB::MNESourceEstimate
Source estimation.
Definition: mne_sourceestimate.h:84
sourceestimateview.h
SourceEstimateView class declaration.
FSLIB::SurfaceSet
A hemisphere set of surfaces.
Definition: surfaceset.h:71
mne_forwardsolution.h
MNEForwardSolution class declaration, which provides the forward solution including the source space ...
DISP3DLIB::SourceEstimateView::SourceEstimateView
SourceEstimateView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
Definition: sourceestimateview.cpp:66
DISP3DLIB::SourceEstimateView::~SourceEstimateView
~SourceEstimateView()
Definition: sourceestimateview.cpp:74