MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
ecddatatreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
35#ifndef DISP3DLIB_ECDDATATREEITEM_H
36#define DISP3DLIB_ECDDATATREEITEM_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "../../../../disp3D_global.h"
43#include "../common/abstract3Dtreeitem.h"
44
45//=============================================================================================================
46// QT INCLUDES
47//=============================================================================================================
48
49//=============================================================================================================
50// EIGEN INCLUDES
51//=============================================================================================================
52
53//=============================================================================================================
54// FORWARD DECLARATIONS
55//=============================================================================================================
56
57namespace INVERSELIB {
58 class ECDSet;
59}
60
61namespace Qt3DCore {
62 class QEntity;
63}
64
65namespace DISP3DLIB {
66 class GeometryMultiplier;
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<EcdDataTreeItem> SPtr;
92 typedef QSharedPointer<const EcdDataTreeItem> ConstSPtr;
94 //=========================================================================================================
102 explicit EcdDataTreeItem(Qt3DCore::QEntity* p3DEntityParent = 0,
103 int iType = Data3DTreeModelItemTypes::ECDDataItem,
104 const QString& text = "ECD");
105
106 //=========================================================================================================
112 void addData(const INVERSELIB::ECDSet& pECDSet);
113
114protected:
115 //=========================================================================================================
119 void initItem();
120
121 //=========================================================================================================
127 void plotDipoles(const INVERSELIB::ECDSet& tECDSet);
128
129private:
130
131 QPointer<GeometryMultiplier> m_pDipolMesh;
132
133 QPointer<MetaTreeItem> m_pItemNumDipoles;
134};
135
136//=============================================================================================================
137// INLINE DEFINITIONS
138//=============================================================================================================
139} //NAMESPACE DISP3DLIB
140
141#endif // DISP3DLIB_ECDDATATREEITEM_H
#define DISP3DSHARED_EXPORT
Provides the basic tree item.
Provides a generic brain tree item to hold real time data.
QSharedPointer< EcdDataTreeItem > SPtr
QSharedPointer< const EcdDataTreeItem > ConstSPtr
Holds a set of Electric Current Dipoles.
Definition ecd_set.h:81