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

A node set wrapper over a common mesh. Constant (no support for setNodeData()) More...

#include <gmNodeSet.h>

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

Public Member Functions

 GmMeshNodeSet (GmMesh *mesh)
 Simple constructor.
 
virtual QString id () const
 Returns the set name.
 
virtual GmMeshmesh () const
 Returns the mesh that this set is tied to.
 
virtual int numNodes () const
 Returns the number of nodes stored in this set.
 
virtual int node (int i) const
 Returns the node id of the i'th entry stored in this set. More...
 
virtual size_t usedMemory () const
 Returns an estimative of the memory used by the node set in bytes.
 
- Public Member Functions inherited from GmNodeSet
virtual ~GmNodeSet ()
 Virtual destructor.
 
virtual bool setNodeData (int numNodes, int *nodeList)
 Updates the node list in the set object. More...
 

Private Attributes

GmMesh_mesh
 The wrapped mesh.
 

Detailed Description

A node set wrapper over a common mesh. Constant (no support for setNodeData())

Member Function Documentation

◆ node()

virtual int GmMeshNodeSet::node ( int  i) const
inlinevirtual

Returns the node id of the i'th entry stored in this set.

If the node is a ghost node, it will have its 'ghost bit' set.

Implements GmNodeSet.


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