37 #ifndef DISP3DLIB_DATA3DTREEMODEL_H
38 #define DISP3DLIB_DATA3DTREEMODEL_H
44 #include "../../disp3D_global.h"
57 #include <QStandardItemModel>
84 class MNESourceEstimate;
90 class FiffDigPointSet;
108 class MneDataTreeItem;
109 class NetworkTreeItem;
110 class EcdDataTreeItem;
111 class FsSurfaceTreeItem;
112 class SourceSpaceTreeItem;
114 class SensorSetTreeItem;
115 class DigitizerSetTreeItem;
116 class SubjectTreeItem;
117 class MeasurementTreeItem;
118 class SensorDataTreeItem;
131 typedef QSharedPointer<Data3DTreeModel>
SPtr;
132 typedef QSharedPointer<const Data3DTreeModel>
ConstSPtr;
146 QVariant data(
const QModelIndex& index,
int role = Qt::DisplayRole)
const;
147 int columnCount(
const QModelIndex &parent)
const;
148 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
149 Qt::ItemFlags flags(
const QModelIndex &index)
const;
164 QList<FsSurfaceTreeItem*> addSurfaceSet(
const QString& sSubject,
165 const QString& sMriSetName,
195 QList<SourceSpaceTreeItem*> addSourceSpace(
const QString& sSubject,
196 const QString& sMeasurementSetName,
209 QList<SourceSpaceTreeItem*> addForwardSolution(
const QString& sSubject,
210 const QString& sMeasurementSetName,
227 const QString& sMeasurementSetName,
257 QList<NetworkTreeItem*> addConnectivityData(
const QString& sSubject,
258 const QString& sMeasurementSetName,
259 const QList<CONNECTIVITYLIB::Network>& networkData);
272 const QString& sMeasurementSetName,
286 const QString& sBemSetName,
302 const QString& sSensorSetName,
303 const QList<FIFFLIB::FiffChInfo>& lChInfo,
305 const QStringList &bads = QStringList());
319 const QString& sSensorSetName,
320 const QList<FIFFLIB::FiffChInfo>& lChInfo,
321 const QStringList &bads = QStringList());
334 const QString& sMeasurementSetName,
351 const QString& sMeasurementSetName,
352 const Eigen::MatrixXd& matSensorData,
355 const QString &sDataType);
363 QPointer<Qt3DCore::QEntity> getRootEntity();
392 const QString& sMeasurementSetName,
393 const Eigen::MatrixXd& matSensorData,
396 const QString &sDataType,
397 const double dCancelDist,
398 const QString &sInterpolationFunction);
416 const QString& sMeasurementSetName,
417 const Eigen::MatrixXd& matSensorData,
420 const QString &sDataType,
421 const double dCancelDist,
422 const QString &sInterpolationFunction);
428 void initMetatypes();
435 #endif // DISP3DLIB_DATA3DTREEMODEL_H