36 #ifndef DISP3DLIB_MNEDATATREEITEM_H
37 #define DISP3DLIB_MNEDATATREEITEM_H
43 #include "../../../../disp3D_global.h"
44 #include "../common/abstracttreeitem.h"
53 #include <Qt3DCore/QTransform>
64 class MNEForwardSolution;
65 class MNESourceEstimate;
89 class RtSourceDataController;
90 class AbstractMeshTreeItem;
91 class GpuInterpolationItem;
104 typedef QSharedPointer<MneDataTreeItem>
SPtr;
105 typedef QSharedPointer<const MneDataTreeItem>
ConstSPtr;
115 explicit MneDataTreeItem(
int iType = Data3DTreeModelItemTypes::MNEDataItem,
116 const QString& text =
"MNE",
117 bool bUseGPU =
false);
137 Qt3DCore::QEntity* p3DEntityParent);
153 inline bool isDataInit()
const;
161 void setLoopState(
bool state);
169 void setStreamingState(
bool state);
177 void setTimeInterval(
int iMSec);
185 void setNumberAverages(
int iNumberAverages);
193 void setColormapType(
const QString& sColormap);
201 void setVisualizationType(
const QString& sVisualizationType);
209 void setThresholds(
const QVector3D& vecThresholds);
226 virtual void setInterpolationFunction(
const QString &sInterpolationFunction);
234 void setSFreq(
const double dSFreq);
242 void setAlpha(
float fAlpha);
250 virtual void setTransform(
const Qt3DCore::QTransform &transform);
267 virtual void applyTransform(
const Qt3DCore::QTransform& transform);
291 void onCheckStateWorkerChanged(
const Qt::CheckState& checkState);
299 virtual void onNewInterpolationMatrixLeftAvailable(QSharedPointer<Eigen::SparseMatrix<float> > pMatInterpolationMatrixLeftHemi);
307 virtual void onNewInterpolationMatrixRightAvailable(QSharedPointer<Eigen::SparseMatrix<float> > pMatInterpolationMatrixRightHemi);
316 void virtual onNewRtRawData(
const Eigen::VectorXd &vecDataVectorLeftHemi,
317 const Eigen::VectorXd &vecDataVectorRightHemi);
326 void onNewRtSmoothedDataAvailable(
const Eigen::MatrixX4f &matColorMatrixLeftHemi,
327 const Eigen::MatrixX4f &matColorMatrixRightHemi);
335 void onColormapTypeChanged(
const QVariant& sColormapType);
343 void onTimeIntervalChanged(
const QVariant &iMSec);
351 void onDataThresholdChanged(
const QVariant &vecThresholds);
359 void onVisualizationTypeChanged(
const QVariant& sVisType);
367 void onCheckStateLoopedStateChanged(
const Qt::CheckState& checkState);
375 void onNumberAveragesChanged(
const QVariant& iNumAvr);
391 virtual void onInterpolationFunctionChanged(
const QVariant& sInterpolationFunction);
416 #endif // DISP3DLIB_MNEESTIMATTREEITEM_H