MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
sensorsettreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
35#ifndef DISP3DLIB_SENSORSETTREEITEM_H
36#define DISP3DLIB_SENSORSETTREEITEM_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "../../../../disp3D_global.h"
43
44#include "../common/abstracttreeitem.h"
45
46//=============================================================================================================
47// QT INCLUDES
48//=============================================================================================================
49
50#include <QPointer>
51
52//=============================================================================================================
53// EIGEN INCLUDES
54//=============================================================================================================
55
56//=============================================================================================================
57// FORWARD DECLARATIONS
58//=============================================================================================================
59
60namespace MNELIB {
61 class MNEBem;
62}
63
64namespace FIFFLIB {
65 class FiffChInfo;
66}
67
68namespace Qt3DCore {
69 class QEntity;
70 class QTransform;
71}
72
73//=============================================================================================================
74// DEFINE NAMESPACE DISP3DLIB
75//=============================================================================================================
76
77namespace DISP3DLIB
78{
79
80//=============================================================================================================
81// DISP3DLIB FORWARD DECLARATIONS
82//=============================================================================================================
83
84class Renderable3DEntity;
85
86//=============================================================================================================
93{
94 Q_OBJECT
95
96public:
97 typedef QSharedPointer<SensorSetTreeItem> SPtr;
98 typedef QSharedPointer<const SensorSetTreeItem> ConstSPtr;
100 //=========================================================================================================
107 explicit SensorSetTreeItem(int iType = Data3DTreeModelItemTypes::BemItem, const QString& text = "");
108
109 //=========================================================================================================
119 void addData(const MNELIB::MNEBem& tSensor,
120 const QList<FIFFLIB::FiffChInfo>& lChInfo,
121 const QString &sDataType,
122 const QStringList &bads = QStringList(),
123 Qt3DCore::QEntity* p3DEntityParent = 0);
124
125 //=========================================================================================================
131 virtual void setTransform(const Qt3DCore::QTransform &transform);
132
133 //=========================================================================================================
140 virtual void setTransform(const FIFFLIB::FiffCoordTrans& transform, bool bApplyInverse = false);
141
142 //=========================================================================================================
148 virtual void applyTransform(const Qt3DCore::QTransform& transform);
149
150 //=========================================================================================================
157 virtual void applyTransform(const FIFFLIB::FiffCoordTrans& transform, bool bApplyInverse = false);
158
159protected:
160 //=========================================================================================================
164 void initItem();
165
166 QPointer<Renderable3DEntity> m_pRenderable3DEntity;
167};
168} //NAMESPACE DISP3DLIB
169
170#endif // DISP3DLIB_SENSORSETTREEITEM_H
#define DISP3DSHARED_EXPORT
Provides the basic tree item.
Provides a generic SensorSetTreeItem.
QSharedPointer< const SensorSetTreeItem > ConstSPtr
QPointer< Renderable3DEntity > m_pRenderable3DEntity
QSharedPointer< SensorSetTreeItem > SPtr
Coordinate transformation description.
BEM descritpion.
Definition mne_bem.h:90