55 icon.addFile(QString::fromUtf8(
":/qv_mesh_tree_icon.png"), QSize(),
QIcon::Normal, QIcon::Off);
57 setText(0,
"Triangle Mesh");
62 QTreeWidgetItem* vertItem =
new QTreeWidgetItem(
this);
64 vertItem->setText(0,
"Num Points:");
65 vertItem->setText(1, numVerts.setNum(
m_meshBridge->getNumVertices()));
68 QTreeWidgetItem* faceItem =
new QTreeWidgetItem(
this);
70 faceItem->setText(0,
"Num Triangles:");
71 faceItem->setText(1, numFaces.setNum(
m_meshBridge->getNumTriangles()));
83 m_meshBridge->setBaseColor(c.redF(), c.greenF(), c.blueF());
88 m_meshBridge->setBaseColor(c.redF(), c.greenF(), c.blueF());