#include <CenterOfMassPlugin.h>


Public Member Functions | |
| CenterOfMassPlugin () | |
| virtual | ~CenterOfMassPlugin () |
| void | getCenterOfMass (CellG *cell, float cm[3]) const |
| void | getCenterOfMass (CellG *cell, float &_x, float &_y, float &_z) const |
| Point3D | getCenterOfMass (CellG *cell) const |
| void | field3DCheck (const Point3D &pt, CellG *newCell, CellG *oldCell) |
| virtual void | init (Simulator *simulator, CC3DXMLElement *_xmlData=0) |
| virtual void | field3DChange (const Point3D &pt, CellG *newCell, CellG *oldCell) |
| virtual std::string | toString () |
| virtual std::string | steerableName () |
Private Attributes | |
| Potts3D * | potts |
| Point3D | boundaryConditionIndicator |
| Dim3D | fieldDim |
| BoundaryStrategy * | boundaryStrategy |
Definition at line 50 of file CenterOfMassPlugin.h.
| CenterOfMassPlugin::CenterOfMassPlugin | ( | ) |
Definition at line 54 of file CenterOfMassPlugin.cpp.
| CenterOfMassPlugin::~CenterOfMassPlugin | ( | ) | [virtual] |
Definition at line 56 of file CenterOfMassPlugin.cpp.
| void CompuCell3D::CenterOfMassPlugin::getCenterOfMass | ( | CellG * | cell, | |
| float | cm[3] | |||
| ) | const [inline] |
Definition at line 62 of file CenterOfMassPlugin.h.
References ASSERT_OR_THROW, CompuCell3D::CellG::volume, CompuCell3D::CellG::xCM, CompuCell3D::CellG::yCM, and CompuCell3D::CellG::zCM.
| void CompuCell3D::CenterOfMassPlugin::getCenterOfMass | ( | CellG * | cell, | |
| float & | _x, | |||
| float & | _y, | |||
| float & | _z | |||
| ) | const [inline] |
Definition at line 77 of file CenterOfMassPlugin.h.
References ASSERT_OR_THROW, CompuCell3D::CellG::volume, CompuCell3D::CellG::xCM, CompuCell3D::CellG::yCM, and CompuCell3D::CellG::zCM.
Definition at line 347 of file CenterOfMassPlugin.cpp.
| void CenterOfMassPlugin::init | ( | Simulator * | simulator, | |
| CC3DXMLElement * | _xmlData = 0 | |||
| ) | [virtual] |
Reimplemented from CompuCell3D::SimObject.
Definition at line 58 of file CenterOfMassPlugin.cpp.
References boundaryConditionIndicator, boundaryStrategy, fieldDim, CompuCell3D::Potts3D::getBoundaryXName(), CompuCell3D::Potts3D::getBoundaryYName(), CompuCell3D::Potts3D::getBoundaryZName(), CompuCell3D::Potts3D::getCellFieldG(), CompuCell3D::BoundaryStrategy::getInstance(), CompuCell3D::Simulator::getPotts(), CompuCell3D::SimObject::init(), SimpleVolumeCallFromPython::plugin, CompuCell3D::Simulator::pluginManager, potts, CompuCell3D::Potts3D::registerCellGChangeWatcher(), CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| void CompuCell3D::CenterOfMassPlugin::field3DChange | ( | const Point3D & | pt, | |
| CellG * | newCell, | |||
| CellG * | oldCell | |||
| ) | [virtual] |
Definition at line 80 of file CenterOfMassPlugin.cpp.
References boundaryConditionIndicator, boundaryStrategy, CompuCell3D::BoundaryStrategy::calculatePointCoordinates(), fieldDim, CompuCell3D::CellG::volume, Coordinates3D< T >::x, CompuCell3D::Point3D::x, CompuCell3D::CellG::xCM, Coordinates3D< T >::y, CompuCell3D::Point3D::y, CompuCell3D::CellG::yCM, Coordinates3D< T >::z, CompuCell3D::Point3D::z, and CompuCell3D::CellG::zCM.
| std::string CenterOfMassPlugin::toString | ( | ) | [virtual] |
Reimplemented from CompuCell3D::Plugin.
Definition at line 343 of file CenterOfMassPlugin.cpp.
Referenced by steerableName().
| std::string CenterOfMassPlugin::steerableName | ( | ) | [virtual] |
Reimplemented from CompuCell3D::SteerableObject.
Definition at line 344 of file CenterOfMassPlugin.cpp.
References toString().
Potts3D* CompuCell3D::CenterOfMassPlugin::potts [private] |
1.5.6