GemaCoreLib
The GeMA Core library
Public Member Functions | Private Attributes | List of all members
GmCellMeshGroupSet Class Reference

Cell group set consisting of all the mesh cells. More...

#include <gmCellGroupSet.h>

Inheritance diagram for GmCellMeshGroupSet:
Inheritance graph
[legend]
Collaboration diagram for GmCellMeshGroupSet:
Collaboration graph
[legend]

Public Member Functions

 GmCellMeshGroupSet (GmCellMesh *mesh)
 Constructor.
 
virtual int numCells () const
 Returns the number of unique elements in the cell group set.
 
virtual GmCellcell (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 GmCellMeshmesh () const
 Returns the mesh owning the cell groups.
 
- Public Member Functions inherited from GmCellGroupSet
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. More...
 

Detailed Description

Cell group set consisting of all the mesh cells.


The documentation for this class was generated from the following file: