20class vtkUnstructuredGridAlgorithm;
45 void setElement(vtkUnstructuredGridAlgorithm
const*
const grid,
const unsigned elem_index);
Definition of the TreeModel class.
void setElement(vtkUnstructuredGridAlgorithm const *const grid, const unsigned elem_index)
Displays information of the element with the given index from the given grid.
~ElementTreeModel() override
vtkUnstructuredGridAlgorithm const * getSource() const
vtkUnstructuredGridAlgorithm const * _mesh_source
void clearView()
Clears the tree.
ElementTreeModel(QObject *parent=nullptr)
void setMesh(MeshLib::Mesh const &mesh)
Displays information of the given mesh.
QModelIndex parent(const QModelIndex &index) const override
TreeModel(QObject *parent=nullptr)