CompuCell3D::BoxWatcher Class Reference

#include <BoxWatcher.h>

Inheritance diagram for CompuCell3D::BoxWatcher:

Inheritance graph
[legend]
Collaboration diagram for CompuCell3D::BoxWatcher:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BoxWatcher ()
virtual ~BoxWatcher ()
virtual void init (Simulator *simulator, CC3DXMLElement *_xmlData=0)
virtual void extraInit (Simulator *simulator)
virtual void start ()
virtual void step (const unsigned int currentStep)
virtual void finish ()
Point3D getMinCoordinates ()
Point3D getMaxCoordinates ()
Point3DgetMinCoordinatesPtr ()
Point3DgetMaxCoordinatesPtr ()
Point3D getMargins ()
virtual void update (CC3DXMLElement *_xmlData, bool _fullInitFlag=false)
virtual std::string steerableName ()
virtual std::string toString ()

Private Member Functions

void adjustBox ()
void adjustCoordinates (Point3D pt)
bool checkIfFrozen (unsigned char _type)

Private Attributes

WatchableField3D< CellG * > * cellFieldG
Simulatorsim
Potts3Dpotts
Dim3D fieldDim
Point3D minCoordinates
Point3D maxCoordinates
std::vector< unsigned char > frozenTypeVector
unsigned int xMargin
unsigned int yMargin
unsigned int zMargin


Detailed Description

Definition at line 44 of file BoxWatcher.h.


Constructor & Destructor Documentation

BoxWatcher::BoxWatcher (  ) 

Definition at line 38 of file BoxWatcher.cpp.

BoxWatcher::~BoxWatcher (  )  [virtual]

Definition at line 40 of file BoxWatcher.cpp.


Member Function Documentation

void BoxWatcher::adjustBox (  )  [private]

void BoxWatcher::adjustCoordinates ( Point3D  pt  )  [private]

bool BoxWatcher::checkIfFrozen ( unsigned char  _type  )  [private]

Definition at line 185 of file BoxWatcher.cpp.

References frozenTypeVector.

Referenced by adjustBox().

void BoxWatcher::init ( Simulator simulator,
CC3DXMLElement _xmlData = 0 
) [virtual]

void BoxWatcher::extraInit ( Simulator simulator  )  [virtual]

Reimplemented from CompuCell3D::SimObject.

Definition at line 67 of file BoxWatcher.cpp.

References frozenTypeVector, CompuCell3D::Potts3D::getFrozenTypeVector(), and potts.

void BoxWatcher::start (  )  [virtual]

void BoxWatcher::step ( const unsigned int  currentStep  )  [virtual]

virtual void CompuCell3D::BoxWatcher::finish (  )  [inline, virtual]

Implements CompuCell3D::Steppable.

Definition at line 72 of file BoxWatcher.h.

Point3D BoxWatcher::getMinCoordinates (  ) 

Definition at line 43 of file BoxWatcher.cpp.

References minCoordinates.

Point3D BoxWatcher::getMaxCoordinates (  ) 

Definition at line 44 of file BoxWatcher.cpp.

References minCoordinates.

Point3D* CompuCell3D::BoxWatcher::getMinCoordinatesPtr (  )  [inline]

Point3D* CompuCell3D::BoxWatcher::getMaxCoordinatesPtr (  )  [inline]

Point3D BoxWatcher::getMargins (  ) 

Definition at line 46 of file BoxWatcher.cpp.

References xMargin, yMargin, and zMargin.

void BoxWatcher::update ( CC3DXMLElement _xmlData,
bool  _fullInitFlag = false 
) [virtual]

std::string BoxWatcher::steerableName (  )  [virtual]

Reimplemented from CompuCell3D::SteerableObject.

Definition at line 211 of file BoxWatcher.cpp.

References toString().

std::string BoxWatcher::toString (  )  [virtual]

Reimplemented from CompuCell3D::Steppable.

Definition at line 206 of file BoxWatcher.cpp.

Referenced by steerableName().


Member Data Documentation

Definition at line 46 of file BoxWatcher.h.

Referenced by adjustBox(), and init().

Definition at line 47 of file BoxWatcher.h.

Referenced by init().

Definition at line 48 of file BoxWatcher.h.

Referenced by adjustBox(), extraInit(), and init().

Definition at line 49 of file BoxWatcher.h.

Referenced by adjustBox(), init(), start(), and step().

Definition at line 52 of file BoxWatcher.h.

Referenced by adjustBox(), adjustCoordinates(), init(), start(), and step().

std::vector<unsigned char> CompuCell3D::BoxWatcher::frozenTypeVector [private]

Definition at line 53 of file BoxWatcher.h.

Referenced by checkIfFrozen(), and extraInit().

unsigned int CompuCell3D::BoxWatcher::xMargin [private]

Definition at line 58 of file BoxWatcher.h.

Referenced by adjustBox(), getMargins(), and update().

unsigned int CompuCell3D::BoxWatcher::yMargin [private]

Definition at line 59 of file BoxWatcher.h.

Referenced by adjustBox(), getMargins(), and update().

unsigned int CompuCell3D::BoxWatcher::zMargin [private]

Definition at line 60 of file BoxWatcher.h.

Referenced by adjustBox(), getMargins(), and update().


The documentation for this class was generated from the following files:

Generated on Thu Dec 4 11:42:50 2008 for CompuCell3D by  doxygen 1.5.6