#include <BlobFieldInitializer.h>


Public Member Functions | |
| BlobFieldInitializer () | |
| virtual | ~BlobFieldInitializer () |
| void | setPotts (Potts3D *potts) |
| double | distance (double, double, double, double, double, double) |
| Dim3D | getBlobDim () |
| virtual void | init (Simulator *simulator, CC3DXMLElement *_xmlData=0) |
| virtual void | start () |
| virtual void | step (const unsigned int currentStep) |
| virtual void | finish () |
| Dim3D | getBlobDimensions (const Dim3D &dim, int size) |
| void | initializeCellTypesCellSort () |
| void | initializeEngulfment () |
| virtual std::string | steerableName () |
| virtual std::string | toString () |
Public Attributes | |
| CC3DXMLElement * | moduleXMLDataPtr |
Protected Member Functions | |
| void | layOutCells (const BlobFieldInitializerData &_initData) |
| unsigned char | initCellType (const BlobFieldInitializerData &_initData) |
Protected Attributes | |
| Potts3D * | potts |
| Dim3D | blobDim |
| bool | cellSortInit |
| std::vector < BlobFieldInitializerData > | blobInitializerData |
| BlobFieldInitializerData | oldStyleInitData |
| EngulfmentData | engulfmentData |
Definition at line 76 of file BlobFieldInitializer.h.
| BlobFieldInitializer::BlobFieldInitializer | ( | ) |
Definition at line 66 of file BlobFieldInitializer.cpp.
| virtual CompuCell3D::BlobFieldInitializer::~BlobFieldInitializer | ( | ) | [inline, virtual] |
Definition at line 104 of file BlobFieldInitializer.h.
| void BlobFieldInitializer::layOutCells | ( | const BlobFieldInitializerData & | _initData | ) | [protected] |
Definition at line 157 of file BlobFieldInitializer.cpp.
References ASSERT_OR_THROW, CompuCell3D::BlobFieldInitializerData::center, CompuCell3D::Potts3D::createCellG(), TypeChangeWatcherExample::dim, distance(), CompuCell3D::BlobFieldInitializerData::gap, getBlobDimensions(), CompuCell3D::Potts3D::getCellFieldG(), CompuCell3D::Field3DImpl< T >::getDim(), CompuCell3D::BoundaryStrategy::getInstance(), initCellType(), potts, CompuCell3D::BlobFieldInitializerData::radius, CompuCell3D::WatchableField3D< T >::set(), CompuCell3D::CellG::type, CompuCell3D::BlobFieldInitializerData::width, CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
Referenced by start().
| unsigned char BlobFieldInitializer::initCellType | ( | const BlobFieldInitializerData & | _initData | ) | [protected] |
Definition at line 232 of file BlobFieldInitializer.cpp.
References CompuCell3D::Potts3D::getAutomaton(), BasicRandomNumberGenerator::getInstance(), BasicRandomNumberGenerator::getInteger(), CompuCell3D::Automaton::getTypeId(), potts, and CompuCell3D::BlobFieldInitializerData::typeNames.
Referenced by layOutCells().
| void CompuCell3D::BlobFieldInitializer::setPotts | ( | Potts3D * | potts | ) | [inline] |
Definition at line 105 of file BlobFieldInitializer.h.
| double BlobFieldInitializer::distance | ( | double | ax, | |
| double | ay, | |||
| double | az, | |||
| double | bx, | |||
| double | by, | |||
| double | bz | |||
| ) |
| Dim3D CompuCell3D::BlobFieldInitializer::getBlobDim | ( | ) | [inline] |
Definition at line 107 of file BlobFieldInitializer.h.
| void BlobFieldInitializer::init | ( | Simulator * | simulator, | |
| CC3DXMLElement * | _xmlData = 0 | |||
| ) | [virtual] |
Reimplemented from CompuCell3D::SimObject.
Definition at line 69 of file BlobFieldInitializer.cpp.
References ASSERT_OR_THROW, blobInitializerData, CompuCell3D::EngulfmentData::bottomType, cellSortInit, CompuCell3D::BlobFieldInitializerData::center, TypeChangeWatcherExample::dim, CompuCell3D::EngulfmentData::engulfment, CompuCell3D::EngulfmentData::engulfmentCoordinate, CompuCell3D::EngulfmentData::engulfmentCutoff, engulfmentData, CompuCell3D::BlobFieldInitializerData::gap, CC3DXMLElement::getAttribute(), CC3DXMLElement::getAttributeAsUInt(), CompuCell3D::Potts3D::getCellFieldG(), CompuCell3D::Field3DImpl< T >::getDim(), CC3DXMLElement::getElements(), CC3DXMLElement::getFirstElement(), CompuCell3D::Simulator::getPotts(), CC3DXMLElement::getText(), CC3DXMLElement::getUInt(), oldStyleInitData, parseStringIntoList(), potts, CompuCell3D::BlobFieldInitializerData::radius, CompuCell3D::EngulfmentData::topType, CompuCell3D::BlobFieldInitializerData::typeNames, CompuCell3D::BlobFieldInitializerData::typeNamesString, CompuCell3D::BlobFieldInitializerData::width, CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| void BlobFieldInitializer::start | ( | ) | [virtual] |
I am changing here so that now I will work with cellFieldG - the field of CellG
Implements CompuCell3D::Steppable.
Definition at line 246 of file BlobFieldInitializer.cpp.
References ASSERT_OR_THROW, blobInitializerData, cellSortInit, CompuCell3D::BlobFieldInitializerData::center, TypeChangeWatcherExample::dim, CompuCell3D::EngulfmentData::engulfment, engulfmentData, CompuCell3D::Potts3D::getCellFieldG(), CompuCell3D::Field3DImpl< T >::getDim(), initializeCellTypesCellSort(), initializeEngulfment(), layOutCells(), oldStyleInitData, potts, CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| virtual void CompuCell3D::BlobFieldInitializer::step | ( | const unsigned int | currentStep | ) | [inline, virtual] |
| virtual void CompuCell3D::BlobFieldInitializer::finish | ( | ) | [inline, virtual] |
Definition at line 285 of file BlobFieldInitializer.cpp.
References blobDim, CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
Referenced by layOutCells().
| void BlobFieldInitializer::initializeCellTypesCellSort | ( | ) |
will initialize cell type here depending on the position of the cells
loop over all the cells in the inventory
randomly assign types for cell sort
Definition at line 375 of file BlobFieldInitializer.cpp.
References CompuCell3D::CellInventory::cellInventoryBegin(), CompuCell3D::CellInventory::cellInventoryEnd(), CompuCell3D::Potts3D::getCellInventory(), BasicRandomNumberGenerator::getInstance(), BasicRandomNumberGenerator::getRatio(), potts, and CompuCell3D::CellG::type.
Referenced by start().
| void BlobFieldInitializer::initializeEngulfment | ( | ) |
will initialize cell type to be 1
loop over all the cells in the inventory
Definition at line 302 of file BlobFieldInitializer.cpp.
References ASSERT_OR_THROW, CompuCell3D::EngulfmentData::bottomType, CompuCell3D::CellInventory::cellInventoryBegin(), CompuCell3D::CellInventory::cellInventoryEnd(), TypeChangeWatcherExample::dim, CompuCell3D::EngulfmentData::engulfmentCoordinate, CompuCell3D::EngulfmentData::engulfmentCutoff, engulfmentData, CompuCell3D::Field3DImpl< T >::get(), CompuCell3D::Potts3D::getCellFieldG(), CompuCell3D::Potts3D::getCellInventory(), CompuCell3D::Field3DImpl< T >::getDim(), CompuCell3D::CellTypePlugin::getTypeId(), CompuCell3D::Simulator::pluginManager, potts, CompuCell3D::EngulfmentData::topType, CompuCell3D::CellG::type, CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
Referenced by start().
| std::string BlobFieldInitializer::steerableName | ( | ) | [virtual] |
Reimplemented from CompuCell3D::SteerableObject.
Definition at line 57 of file BlobFieldInitializer.cpp.
References toString().
| std::string BlobFieldInitializer::toString | ( | ) | [virtual] |
Reimplemented from CompuCell3D::Steppable.
Definition at line 61 of file BlobFieldInitializer.cpp.
Referenced by steerableName().
Potts3D* CompuCell3D::BlobFieldInitializer::potts [protected] |
Definition at line 78 of file BlobFieldInitializer.h.
Referenced by init(), initCellType(), initializeCellTypesCellSort(), initializeEngulfment(), layOutCells(), and start().
Dim3D CompuCell3D::BlobFieldInitializer::blobDim [protected] |
bool CompuCell3D::BlobFieldInitializer::cellSortInit [protected] |
std::vector<BlobFieldInitializerData> CompuCell3D::BlobFieldInitializer::blobInitializerData [protected] |
Definition at line 87 of file BlobFieldInitializer.h.
Referenced by init(), initializeEngulfment(), and start().
Definition at line 101 of file BlobFieldInitializer.h.
1.5.6