MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
bemsurfacetreeitem.h
Go to the documentation of this file.
1 //=============================================================================================================
36#ifndef DISP3DLIB_BEMSURFACETREEITEM_H
37#define DISP3DLIB_BEMSURFACETREEITEM_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "../../../../disp3D_global.h"
44
45#include "../common/abstractmeshtreeitem.h"
46#include "../common/types.h"
47
48//=============================================================================================================
49// QT INCLUDES
50//=============================================================================================================
51
52#include <QPointer>
53
54//=============================================================================================================
55// EIGEN INCLUDES
56//=============================================================================================================
57
58#include <Eigen/Core>
59
60//=============================================================================================================
61// FORWARD DECLARATIONS
62//=============================================================================================================
63
64namespace MNELIB {
65 class MNEBemSurface;
66}
67
68namespace Qt3DCore {
69 class QEntity;
70}
71
72//=============================================================================================================
73// DEFINE NAMESPACE DISP3DLIB
74//=============================================================================================================
75
76namespace DISP3DLIB
77{
78
79//=============================================================================================================
80// DISP3DLIB FORWARD DECLARATIONS
81//=============================================================================================================
82
83//=============================================================================================================
90{
91 Q_OBJECT
92
93public:
94 typedef QSharedPointer<BemSurfaceTreeItem> SPtr;
95 typedef QSharedPointer<const BemSurfaceTreeItem> ConstSPtr;
97 //=========================================================================================================
105 explicit BemSurfaceTreeItem(Qt3DCore::QEntity *p3DEntityParent = 0,
106 int iType = Data3DTreeModelItemTypes::BemSurfaceItem,
107 const QString& text = "BEM Surface Item");
108
109 //=========================================================================================================
115 void addData(const MNELIB::MNEBemSurface &tBemSurface);
116
117protected:
118 //=========================================================================================================
122 virtual void initItem() override;
123};
124} //NAMESPACE DISP3DLIB
125
126#endif // DISP3DLIB_BEMSURFACETREEITEM_H
#define DISP3DSHARED_EXPORT
BemSurfaceTreeItem provides a generic brain tree item to hold BEM surfaces.
QSharedPointer< BemSurfaceTreeItem > SPtr
QSharedPointer< const BemSurfaceTreeItem > ConstSPtr
Provides a generic mesh tree item.
BEM surface provides geometry information.