MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
digitizertreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
36#ifndef DISP3DLIB_DIGITIZERTREEITEM_H
37#define DISP3DLIB_DIGITIZERTREEITEM_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "../../../../disp3D_global.h"
44#include "../common/abstract3Dtreeitem.h"
45
46//=============================================================================================================
47// QT INCLUDES
48//=============================================================================================================
49
50//=============================================================================================================
51// EIGEN INCLUDES
52//=============================================================================================================
53
54//=============================================================================================================
55// FORWARD DECLARATIONS
56//=============================================================================================================
57
58namespace FIFFLIB{
59 class FiffDigPoint;
60}
61
62namespace Qt3DCore {
63 class QEntity;
64}
65
66//=============================================================================================================
67// DEFINE NAMESPACE DISP3DLIB
68//=============================================================================================================
69
70namespace DISP3DLIB
71{
72
73//=============================================================================================================
74// DISP3DLIB FORWARD DECLARATIONS
75//=============================================================================================================
76
77class GeometryMultiplier;
78
79//=============================================================================================================
86{
87 Q_OBJECT
88
89public:
90 typedef QSharedPointer<DigitizerTreeItem> SPtr;
91 typedef QSharedPointer<const DigitizerTreeItem> ConstSPtr;
93 //=========================================================================================================
101 explicit DigitizerTreeItem(Qt3DCore::QEntity* p3DEntityParent = 0,
102 int iType = Data3DTreeModelItemTypes::DigitizerItem,
103 const QString& text = "Digitizer");
104
105 //=========================================================================================================
113 void addData(const QList<FIFFLIB::FiffDigPoint>& tDigitizer,
114 const float tSphereRadius,
115 const QColor &tSphereColor);
116
117protected:
118 //=========================================================================================================
122 void initItem();
123
124 QPointer<GeometryMultiplier> m_pSphereMesh;
125};
126} //NAMESPACE DISP3DLIB
127
128#endif // DISP3DLIB_DIGITIZERTREEITEM_H
#define DISP3DSHARED_EXPORT
Provides the basic tree item.
DigitizerTreeItem provides a generic tree item to hold and visualize digitizer data.
QSharedPointer< DigitizerTreeItem > SPtr
QSharedPointer< const DigitizerTreeItem > ConstSPtr