#include <MitosisPlugin.h>


Public Member Functions | |
| MitosisPlugin () | |
| virtual | ~MitosisPlugin () |
| virtual void | init (Simulator *simulator, CC3DXMLElement *_xmlData=0) |
| virtual void | field3DChange (const Point3D &pt, CellG *newCell, CellG *oldCell) |
| virtual void | step () |
| virtual void | update (CC3DXMLElement *_xmlData, bool _fullInitFlag=false) |
| virtual std::string | steerableName () |
| virtual std::string | toString () |
| virtual void | turnOn () |
| virtual void | turnOff () |
| virtual bool | doMitosis () |
| virtual void | updateAttributes () |
| actually does mitosis - returns true if mitosis was done , false otherwise | |
| CellG * | getChildCell () |
| updates some of the cell attributes | |
| CellG * | getParentCell () |
| void | setPotts (Potts3D *_potts) |
| unsigned int | getDoublingVolume () |
| void | setDoublingVolume (unsigned int _doublingVolume) |
Protected Attributes | |
| Potts3D * | potts |
| unsigned int | doublingVolume |
| CellG * | childCell |
| CellG * | parentCell |
| Point3D | splitPt |
| bool | split |
| bool | on |
| BasicArray< Point3D > | arrays [2] |
| unsigned int | maxNeighborIndex |
| BoundaryStrategy * | boundaryStrategy |
Definition at line 41 of file MitosisPlugin.h.
| MitosisPlugin::MitosisPlugin | ( | ) |
| MitosisPlugin::~MitosisPlugin | ( | ) | [virtual] |
Definition at line 46 of file MitosisPlugin.cpp.
| void MitosisPlugin::init | ( | Simulator * | simulator, | |
| CC3DXMLElement * | _xmlData = 0 | |||
| ) | [virtual] |
Reimplemented from CompuCell3D::SimObject.
Reimplemented in CompuCell3D::MitosisSimplePlugin.
Definition at line 48 of file MitosisPlugin.cpp.
References boundaryStrategy, CompuCell3D::BoundaryStrategy::getInstance(), CompuCell3D::BoundaryStrategy::getMaxNeighborIndexFromNeighborOrder(), CompuCell3D::Simulator::getPotts(), CompuCell3D::SimObject::init(), maxNeighborIndex, SimpleVolumeCallFromPython::plugin, CompuCell3D::Simulator::pluginManager, potts, CompuCell3D::Potts3D::registerCellGChangeWatcher(), CompuCell3D::Simulator::registerSteerableObject(), CompuCell3D::Potts3D::registerStepper(), turnOn(), and update().
| void MitosisPlugin::field3DChange | ( | const Point3D & | pt, | |
| CellG * | newCell, | |||
| CellG * | oldCell | |||
| ) | [virtual] |
Definition at line 80 of file MitosisPlugin.cpp.
References doublingVolume, split, splitPt, and CompuCell3D::CellG::volume.
| void MitosisPlugin::step | ( | ) | [virtual] |
Implements CompuCell3D::Stepper.
Definition at line 104 of file MitosisPlugin.cpp.
References doMitosis(), and updateAttributes().
| void MitosisPlugin::update | ( | CC3DXMLElement * | _xmlData, | |
| bool | _fullInitFlag = false | |||
| ) | [virtual] |
Reimplemented from CompuCell3D::SteerableObject.
Definition at line 73 of file MitosisPlugin.cpp.
References doublingVolume, CC3DXMLElement::getFirstElement(), and CC3DXMLElement::getUInt().
Referenced by init().
| std::string MitosisPlugin::steerableName | ( | ) | [virtual] |
Reimplemented from CompuCell3D::SteerableObject.
Definition at line 244 of file MitosisPlugin.cpp.
References toString().
| std::string MitosisPlugin::toString | ( | ) | [virtual] |
Reimplemented from CompuCell3D::Plugin.
Definition at line 239 of file MitosisPlugin.cpp.
Referenced by steerableName().
| void MitosisPlugin::turnOn | ( | ) | [virtual] |
Definition at line 101 of file MitosisPlugin.cpp.
References on.
Referenced by CompuCell3D::MitosisSimplePlugin::init(), init(), and CompuCell3D::GrowthPlugin::step().
| void MitosisPlugin::turnOff | ( | ) | [virtual] |
Definition at line 102 of file MitosisPlugin.cpp.
References on.
Referenced by CompuCell3D::GrowthPlugin::step().
| bool MitosisPlugin::doMitosis | ( | ) | [virtual] |
Definition at line 124 of file MitosisPlugin.cpp.
References ASSERT_OR_THROW, boundaryStrategy, childCell, CompuCell3D::Potts3D::createCellG(), CompuCell3D::Neighbor::distance, distance(), CompuCell3D::Field3DImpl< T >::get(), CompuCell3D::Potts3D::getCellFieldG(), CompuCell3D::BoundaryStrategy::getNeighborDirect(), maxNeighborIndex, on, parentCell, potts, CompuCell3D::Neighbor::pt, CompuCell3D::WatchableField3D< T >::set(), split, splitPt, and CompuCell3D::CellG::volume.
Referenced by step().
| void MitosisPlugin::updateAttributes | ( | ) | [virtual] |
actually does mitosis - returns true if mitosis was done , false otherwise
copying type and target volume of the parent cell to the new cell
Definition at line 117 of file MitosisPlugin.cpp.
References childCell, parentCell, CompuCell3D::CellG::targetVolume, and CompuCell3D::CellG::type.
Referenced by step().
| CellG * MitosisPlugin::getChildCell | ( | ) |
updates some of the cell attributes
Definition at line 113 of file MitosisPlugin.cpp.
References childCell.
| CellG * MitosisPlugin::getParentCell | ( | ) |
| void CompuCell3D::MitosisPlugin::setPotts | ( | Potts3D * | _potts | ) | [inline] |
Definition at line 87 of file MitosisPlugin.h.
| unsigned int CompuCell3D::MitosisPlugin::getDoublingVolume | ( | ) | [inline] |
Definition at line 89 of file MitosisPlugin.h.
| void CompuCell3D::MitosisPlugin::setDoublingVolume | ( | unsigned int | _doublingVolume | ) | [inline] |
Definition at line 90 of file MitosisPlugin.h.
Potts3D* CompuCell3D::MitosisPlugin::potts [protected] |
Definition at line 44 of file MitosisPlugin.h.
Referenced by doMitosis(), CompuCell3D::MitosisSimplePlugin::init(), init(), MitosisPlugin(), and CompuCell3D::MitosisSimplePlugin::MitosisSimplePlugin().
unsigned int CompuCell3D::MitosisPlugin::doublingVolume [protected] |
CellG* CompuCell3D::MitosisPlugin::childCell [protected] |
Definition at line 48 of file MitosisPlugin.h.
Referenced by doMitosis(), getChildCell(), and updateAttributes().
CellG* CompuCell3D::MitosisPlugin::parentCell [protected] |
Definition at line 49 of file MitosisPlugin.h.
Referenced by doMitosis(), getParentCell(), and updateAttributes().
Point3D CompuCell3D::MitosisPlugin::splitPt [protected] |
bool CompuCell3D::MitosisPlugin::split [protected] |
Definition at line 52 of file MitosisPlugin.h.
Referenced by doMitosis(), field3DChange(), and MitosisPlugin().
bool CompuCell3D::MitosisPlugin::on [protected] |
BasicArray<Point3D> CompuCell3D::MitosisPlugin::arrays[2] [protected] |
Definition at line 55 of file MitosisPlugin.h.
unsigned int CompuCell3D::MitosisPlugin::maxNeighborIndex [protected] |
Definition at line 56 of file MitosisPlugin.h.
Referenced by doMitosis(), CompuCell3D::MitosisSimplePlugin::init(), and init().
Definition at line 57 of file MitosisPlugin.h.
Referenced by doMitosis(), CompuCell3D::MitosisSimplePlugin::init(), and init().
1.5.6