#include <ChickTypePlugin.h>


Public Member Functions | |
| ChickTypePlugin () | |
| virtual | ~ChickTypePlugin () |
| virtual void | init (Simulator *simulator) |
| unsigned char | getCellType (const CellG *cell) const |
| std::string | getTypeName (const char type) const |
| unsigned char | getTypeId (const std::string typeName) const |
| float | getThreshold () |
| float | getConcentration (Point3D pt) |
| virtual void | readXML (XMLPullParser &in) |
| virtual void | writeXML (XMLSerializer &out) |
Private Attributes | |
| Simulator * | sim |
| Potts3D * | potts |
| std::string | fieldSource |
| std::string | fieldName |
| float | threshold |
Definition at line 36 of file ChickTypePlugin.h.
| ChickTypePlugin::ChickTypePlugin | ( | ) |
Definition at line 43 of file ChickTypePlugin.cpp.
| ChickTypePlugin::~ChickTypePlugin | ( | ) | [virtual] |
Definition at line 45 of file ChickTypePlugin.cpp.
| void ChickTypePlugin::init | ( | Simulator * | simulator | ) | [virtual] |
Definition at line 47 of file ChickTypePlugin.cpp.
References CompuCell3D::CellType::addTransition(), CompuCell3D::Automaton::classType, CompuCell3D::Simulator::getPotts(), potts, CompuCell3D::Potts3D::registerAutomaton(), CompuCell3D::Potts3D::registerCellGChangeWatcher(), and sim.
| unsigned char ChickTypePlugin::getCellType | ( | const CellG * | cell | ) | const [virtual] |
| string ChickTypePlugin::getTypeName | ( | const char | type | ) | const [virtual] |
Implements CompuCell3D::Automaton.
Definition at line 69 of file ChickTypePlugin.cpp.
References THROW.
| unsigned char CompuCell3D::ChickTypePlugin::getTypeId | ( | const std::string | typeName | ) | const [virtual] |
Implements CompuCell3D::Automaton.
| float CompuCell3D::ChickTypePlugin::getThreshold | ( | ) | [inline] |
Definition at line 53 of file ChickTypePlugin.h.
References threshold.
Referenced by CompuCell3D::ChickNonCondensingTransition::checkCondition(), and CompuCell3D::ChickCondensingTransition::checkCondition().
| float ChickTypePlugin::getConcentration | ( | Point3D | pt | ) |
Definition at line 57 of file ChickTypePlugin.cpp.
References fieldName, fieldSource, CompuCell3D::Simulator::getClassRegistry(), CompuCell3D::ClassRegistry::getStepper(), and sim.
Referenced by CompuCell3D::ChickNonCondensingTransition::checkCondition(), and CompuCell3D::ChickCondensingTransition::checkCondition().
| void ChickTypePlugin::readXML | ( | XMLPullParser & | in | ) | [virtual] |
Definition at line 85 of file ChickTypePlugin.cpp.
References fieldName, fieldSource, BasicString::parseDouble(), and threshold.
| void ChickTypePlugin::writeXML | ( | XMLSerializer & | out | ) | [virtual] |
Definition at line 108 of file ChickTypePlugin.cpp.
Simulator* CompuCell3D::ChickTypePlugin::sim [private] |
Potts3D* CompuCell3D::ChickTypePlugin::potts [private] |
Reimplemented from CompuCell3D::Automaton.
Definition at line 38 of file ChickTypePlugin.h.
Referenced by init().
std::string CompuCell3D::ChickTypePlugin::fieldSource [private] |
std::string CompuCell3D::ChickTypePlugin::fieldName [private] |
float CompuCell3D::ChickTypePlugin::threshold [private] |
1.5.6