MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
hemispheretreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
35#ifndef DISP3DLIB_HEMISPHERETREEITEM_H
36#define DISP3DLIB_HEMISPHERETREEITEM_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "../../../../disp3D_global.h"
43#include "../common/abstracttreeitem.h"
44
45//=============================================================================================================
46// QT INCLUDES
47//=============================================================================================================
48
49#include <QPointer>
50
51//=============================================================================================================
52// EIGEN INCLUDES
53//=============================================================================================================
54
55//=============================================================================================================
56// FORWARD DECLARATIONS
57//=============================================================================================================
58
59namespace FSLIB {
60 class Annotation;
61}
62
63namespace MNELIB {
64 class MNEHemisphere;
65 class MNESourceSpace;
66 class MNESourceEstimate;
67 class MNEForwardSolution;
68}
69
70namespace Qt3DCore {
71 class QEntity;
72}
73
74//=============================================================================================================
75// DEFINE NAMESPACE DISP3DLIB
76//=============================================================================================================
77
78namespace DISP3DLIB
79{
80
81//=============================================================================================================
82// DISP3DLIB FORWARD DECLARATIONS
83//=============================================================================================================
84
85class FsSurfaceTreeItem;
86class FsAnnotationTreeItem;
87class SourceSpaceTreeItem;
88
89//=============================================================================================================
96{
97 Q_OBJECT
98
99public:
100 typedef QSharedPointer<HemisphereTreeItem> SPtr;
101 typedef QSharedPointer<const HemisphereTreeItem> ConstSPtr;
103 //=========================================================================================================
110 explicit HemisphereTreeItem(int iType = Data3DTreeModelItemTypes::HemisphereItem,
111 const QString& text = "Unknown");
112
113 //=========================================================================================================
123 FsSurfaceTreeItem* addData(const FSLIB::Surface& tSurface,
124 const FSLIB::Annotation& tAnnotation,
125 Qt3DCore::QEntity* p3DEntityParent = 0);
126
127 //=========================================================================================================
136 SourceSpaceTreeItem* addData(const MNELIB::MNEHemisphere& tHemisphere,
137 Qt3DCore::QEntity* p3DEntityParent = 0);
138
139protected:
140 //=========================================================================================================
144 void initItem();
145};
146} //NAMESPACE DISP3DLIB
147
148#endif // DISP3DLIB_HEMISPHERETREEITEM_H
#define DISP3DSHARED_EXPORT
Provides the basic tree item.
Provides a generic brain tree item.
Provides a generic brain tree item.
QSharedPointer< const HemisphereTreeItem > ConstSPtr
QSharedPointer< HemisphereTreeItem > SPtr
Provides a generic brain tree item.
Free surfer annotation.
Definition annotation.h:81
FreeSurfer surface mesh.
Definition surface.h:76
Hemisphere provides geometry information.