36 #ifndef DISP3DLIB_NETWORKTREEITEM_H
37 #define DISP3DLIB_NETWORKTREEITEM_H
43 #include "../../../../disp3D_global.h"
45 #include "../common/abstractmeshtreeitem.h"
46 #include "../common/types.h"
65 class MNEForwardSolution;
76 namespace Qt3DExtras {
77 class QCylinderGeometry;
78 class QSphereGeometry;
93 class GeometryMultiplier;
106 typedef QSharedPointer<NetworkTreeItem>
SPtr;
107 typedef QSharedPointer<const NetworkTreeItem>
ConstSPtr;
118 int iType = Data3DTreeModelItemTypes::NetworkItem,
119 const QString& text =
"Connectivity Data");
135 void setThresholds(
const QVector3D& vecThresholds);
150 void onNetworkThresholdChanged(
const QVariant &vecThresholds);
158 virtual void onColorChanged(
const QVariant& color);
166 void onColormapTypeChanged(
const QVariant& sColormapType);
192 QPointer<MetaTreeItem> m_pItemNetworkThreshold;
194 QPointer<QEntity> m_pNodesEntity;
195 QSharedPointer<Qt3DExtras::QSphereGeometry> m_pNodesGeometry;
196 QPointer<GeometryMultiplier> m_pNodes;
198 QPointer<QEntity> m_pEdgeEntity;
199 QSharedPointer<Qt3DExtras::QCylinderGeometry> m_pEdgesGeometry;
200 QPointer<GeometryMultiplier> m_pEdges;
208 #endif // DISP3DLIB_NETWORKTREEITEM_H