![]() |
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 geometric 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() operation. 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. | |
| virtual size_t | usedMemory () const |
| Returns the approximate memory used internally by the group set object for storing its data. Might be 0 for groups that only reference a mesh or a set of group sets. | |
| virtual void | applyTransform (std::function< int(int)> &t) |
| See comments on the base class. Does nothing. No stored cell ids. | |
Public Member Functions inherited from GmCellGroupSet | |
| virtual | ~GmCellGroupSet () |
| Virtual destructor. | |
| QStringList | cellGroupNames () const |
| Returns the result of cellGroups() converted to group names. | |
Private Attributes | |
| GmCellMesh * | _mesh |
| The associated mesh. | |
Additional Inherited Members | |
Static Public Member Functions inherited from GmCellGroupSet | |
| 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. | |
Cell group set consisting of all the mesh cells.
|
inlinevirtual |
See comments on the base class. Does nothing. No stored cell ids.
Implements GmCellGroupSet.
|
inlinevirtual |
Given an index in the range [0..numCells()-1], returns the respective cell.
Implements GmCellGroupSet.
|
inlinevirtual |
Returns a list with the cell groups belonging to this group set. Values are the group index in the mesh, ordered by index.
Implements GmCellGroupSet.
|
inlinevirtual |
Clear the group set in response to a mesh clear() operation. It will not clear the list of cellGroups.
Implements GmCellGroupSet.
|
inlinevirtual |
Returns the mesh owning the cell groups.
Implements GmCellGroupSet.
|
inlinevirtual |
Given an index in the range [0..numNodes()-1], returns the respective mesh node index.
Implements GmCellGroupSet.
|
inlinevirtual |
Returns the number of unique elements in the cell group set.
Implements GmCellGroupSet.
|
inlinevirtual |
Returns the number of geometric nodes shared by the group elements.
Implements GmCellGroupSet.
|
inlinevirtual |
Returns true if the the set returned by calls to cell(0) through cell(numCells()-1) is ordered by cell id.
Implements GmCellGroupSet.
|
inlinevirtual |
Returns the approximate memory used internally by the group set object for storing its data. Might be 0 for groups that only reference a mesh or a set of group sets.
Implements GmCellGroupSet.