![]() |
GemaCoreLib
The GeMA Core library
|
Cell group set consisting of all the mesh cells. More...
#include <gmCellGroupSet.h>
Public Member Functions | |
GmCellMeshGroupSet (GmCellMesh *mesh) | |
Constructor. | |
virtual int | numCells () const |
Returns the number of unique elements in the cell group set. | |
virtual GmCell * | cell (int setIndex) const |
Given an index in the range [0..numCells()-1], returns the respective cell. | |
virtual bool | ordered () const |
Returns true if the the set returned by calls to cell(0) through cell(numCells()-1) is ordered by cell id. | |
virtual int | numNodes () const |
Returns the number of nodes shared by the group elements. | |
virtual int | node (int setIndex) const |
Given an index in the range [0..numNodes()-1], returns the respective mesh node index. | |
virtual void | clear () |
Clear the group set in response to a mesh clear() opeartion. It will not clear the list of cellGroups. | |
virtual const QList< int > & | cellGroups () const |
Returns a list with the cell groups belonging to this group set. Values are the group index in the mesh, ordered by index. | |
virtual GmCellMesh * | mesh () const |
Returns the mesh owning the cell groups. | |
![]() | |
QStringList | cellGroupNames () const |
Returns the result of cellGroups() converted to group names. | |
Private Attributes | |
GmCellMesh * | _mesh |
The associated mesh. | |
Additional Inherited Members | |
![]() | |
static bool | cellGroupIds (const GmCellMesh *mesh, const QStringList &groupNames, QList< int > &idList, QString &err) |
Given a set of cell group names, creates a set of group ids, filling idList. More... | |
Cell group set consisting of all the mesh cells.