36 #ifndef BRAINSURFACEMESH_H
37 #define BRAINSURFACEMESH_H
45 #include "disp3DNew_global.h"
57 #include <Qt3DRenderer/qt3drenderer_global.h>
58 #include <Qt3DRenderer/QMesh.h>
82 class BrainSurfaceMeshPrivate;
92 using namespace FSLIB;
111 typedef QSharedPointer<BrainSurfaceMesh>
SPtr;
112 typedef QSharedPointer<const BrainSurfaceMesh>
ConstSPtr;
132 QAbstractMeshFunctorPtr meshFunctor() const Q_DECL_OVERRIDE;
134 void updateActivation(const QMap<
int, QColor> &vertexColor);
136 int getNumberOfVertices();
139 void copy(const QNode *ref) Q_DECL_OVERRIDE;
142 QMap<
int, QColor> m_qmVertexColor;
143 QAbstractMeshFunctorPtr m_pMeshFunctorPtr;
156 QMeshDataPtr operator ()() Q_DECL_OVERRIDE;
157 bool operator ==(
const QAbstractMeshFunctor &other)
const Q_DECL_OVERRIDE;
161 const QMap<int, QColor> m_qmVertexColor;
162 QMeshDataPtr m_qMeshDataPtr;
164 QMeshDataPtr createSurfaceMesh(
const Surface &surface,
const QMap<int, QColor> &qmVertexColor);
169 #endif // BRAINSURFACEMESH_H
QSharedPointer< const BrainSurfaceMesh > ConstSPtr
Holds the data of one hemisphere in form of a mesh.
SurfaceSet class declaration.
QSharedPointer< BrainSurfaceMesh > SPtr
MNESourceSpace class declaration.
AnnotationSet class declaration.