GemaMesh
The GeMA Mesh Plugin
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GmpCellBaseWithId< Base, Proxy, CellMeshData, T, N, VN > Class Template Reference

Adds cell id and active information to a GmpCellBase class. More...

#include <gmpCellBase.h>

Inheritance diagram for GmpCellBaseWithId< Base, Proxy, CellMeshData, T, N, VN >:
Inheritance graph
[legend]
Collaboration diagram for GmpCellBaseWithId< Base, Proxy, CellMeshData, T, N, VN >:
Collaboration graph
[legend]

Public Member Functions

virtual int cellId () const
 
virtual GmCellMeshmesh () const
 
virtual int meshId () const
 
virtual bool active () const
 
virtual void setActive (bool active)
 
virtual void replaceCellId (int id, bool keepActiveFlag)
 
- Public Member Functions inherited from GmpCellBase< Base, Proxy, CellMeshData, T, N, VN >
 GmpCellBase ()
 Constructs a cell.
 
virtual int numNodes () const
 
virtual void pushProxy (lua_State *L, const GmLogCategory &logger)
 
virtual GmCellType type () const
 
virtual int propertyIndex (int propertySet) const
 
virtual bool setProperties (const int *propList, int nprop)
 

Protected Member Functions

 GmpCellBaseWithId (int cellId, int meshId)
 Constructs a cell given its id and associated mesh id.
 
- Protected Member Functions inherited from GmpCellBase< Base, Proxy, CellMeshData, T, N, VN >
CellMeshData * meshData () const
 Returns the mesh data object associated with this cell's mesh.
 

Protected Attributes

int _cellId
 The cell index inside the mesh. MSB is used to control if the cell is active or not.
 

Detailed Description

template<class Base, class Proxy, class CellMeshData, GmCellType T, int N, int VN>
class GmpCellBaseWithId< Base, Proxy, CellMeshData, T, N, VN >

Adds cell id and active information to a GmpCellBase class.


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