MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
sourcespacetreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
36#ifndef DISP3DLIB_SOURCESPACETREEITEM_H
37#define DISP3DLIB_SOURCESPACETREEITEM_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "../../../../disp3D_global.h"
44#include "../common/abstractmeshtreeitem.h"
45#include "../common/types.h"
46
47//=============================================================================================================
48// QT INCLUDES
49//=============================================================================================================
50
51#include <QPointer>
52
53//=============================================================================================================
54// EIGEN INCLUDES
55//=============================================================================================================
56
57//=============================================================================================================
58// FORWARD DECLARATIONS
59//=============================================================================================================
60
61namespace MNELIB {
62 class MNEHemisphere;
63}
64
65namespace Qt3DCore {
66 class QEntity;
67}
68
69//=============================================================================================================
70// DEFINE NAMESPACE DISP3DLIB
71//=============================================================================================================
72
73namespace DISP3DLIB
74{
75
76//=============================================================================================================
77// DISP3DLIB FORWARD DECLARATIONS
78//=============================================================================================================
79
80//=============================================================================================================
87{
88 Q_OBJECT
89
90public:
91 typedef QSharedPointer<SourceSpaceTreeItem> SPtr;
92 typedef QSharedPointer<const SourceSpaceTreeItem> ConstSPtr;
94 //=========================================================================================================
102 explicit SourceSpaceTreeItem(Qt3DCore::QEntity *p3DEntityParent = 0, int iType = Data3DTreeModelItemTypes::SourceSpaceItem, const QString& text = "Source space");
103
104 //=========================================================================================================
110 void addData(const MNELIB::MNEHemisphere& tHemisphere);
111
112protected:
113 //=========================================================================================================
119 void plotSources(const MNELIB::MNEHemisphere& tHemisphere);
120
121 //=========================================================================================================
125 void initItem();
126};
127} //NAMESPACE DISP3DLIB
128
129#endif // DISP3DLIB_SOURCESPACETREEITEM_H
#define DISP3DSHARED_EXPORT
Provides a generic mesh tree item.
Provides a generic brain tree item.
QSharedPointer< const SourceSpaceTreeItem > ConstSPtr
QSharedPointer< SourceSpaceTreeItem > SPtr
Hemisphere provides geometry information.