40#include "../common/metatreeitem.h"
41#include "../../3dhelpers/renderable3Dentity.h"
42#include "../../materials/pervertexphongalphamaterial.h"
43#include "../../3dhelpers/custommesh.h"
59using namespace DISP3DLIB;
61using namespace MNELIB;
94 Qt3DRender::QGeometryRenderer::Triangles);
102 data.setValue(tBemSurface.
rr.rows());
103 this->
setData(data, Data3DTreeModelItemRoles::NumberVertices);
MNEBem class declaration.
BemSurfaceTreeItem class declaration.
virtual void initItem() override
void addData(const MNELIB::MNEBemSurface &tBemSurface)
BemSurfaceTreeItem(Qt3DCore::QEntity *p3DEntityParent=0, int iType=Data3DTreeModelItemTypes::BemSurfaceItem, const QString &text="BEM Surface Item")
static Eigen::MatrixX4f createVertColor(int numVert, const QColor &color=QColor(0, 49, 69))
Provides a generic mesh tree item.
virtual void setData(const QVariant &value, int role=Qt::UserRole+1)
QPointer< CustomMesh > m_pCustomMesh
BEM surface provides geometry information.
static QString id_name(int id)