#include <CellType.h>
Public Member Functions | |
| CellType () | |
| unsigned char | addTransition (Transition *transition) |
| Transition * | getTransition (unsigned char id) |
| unsigned char | update (const Point3D &pt, CellG *cell) |
Private Attributes | |
| BasicArray< Transition * > | transitions |
Definition at line 40 of file CellType.h.
| CompuCell3D::CellType::CellType | ( | ) | [inline] |
Definition at line 45 of file CellType.h.
| unsigned char CompuCell3D::CellType::addTransition | ( | Transition * | transition | ) | [inline] |
Add a transition to another CellType
| transition |
Definition at line 54 of file CellType.h.
References transitions.
Referenced by CompuCell3D::ChickTypePlugin::init(), and CompuCell3D::ChickGrowthTypePlugin::init().
| Transition* CompuCell3D::CellType::getTransition | ( | unsigned char | id | ) | [inline] |
This function will throw a BasicException if id is out of range.
| id | The Transition index or id. |
Definition at line 65 of file CellType.h.
References transitions.
Update cells state.
| cell | The cell to be updated. |
Definition at line 35 of file CellType.cpp.
References transitions, and CompuCell3D::CellG::type.
Referenced by CompuCell3D::Automaton::field3DChange().
BasicArray<Transition *> CompuCell3D::CellType::transitions [private] |
Definition at line 41 of file CellType.h.
Referenced by addTransition(), getTransition(), and update().
1.5.6