44 #include "ui_VolumeMeshInfoBar.h" 55 template<
typename MeshT>
56 void showCounts(
const char *
typeName,
const MeshT *mesh) {
57 auto v = mesh->n_logical_vertices();
58 cellsLabel->setText(QString(typeName) +
" Cells: ");
59 vertices->setText(QString::number(mesh->n_logical_vertices()));
60 edges->setText(QString::number(mesh->n_logical_edges()));
61 faces->setText(QString::number(mesh->n_logical_faces()));
62 cells->setText(QString::number(mesh->n_logical_cells()));
DLLEXPORT QString typeName(DataType _id)
Get the name of a type with given id.