CompuCell3D::CenterOfMassPlugin Class Reference

#include <CenterOfMassPlugin.h>

Inheritance diagram for CompuCell3D::CenterOfMassPlugin:

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

Collaboration graph
[legend]

List of all members.

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

Potts3Dpotts
Point3D boundaryConditionIndicator
Dim3D fieldDim
BoundaryStrategyboundaryStrategy


Detailed Description

Definition at line 50 of file CenterOfMassPlugin.h.


Constructor & Destructor Documentation

CenterOfMassPlugin::CenterOfMassPlugin (  ) 

Definition at line 54 of file CenterOfMassPlugin.cpp.

CenterOfMassPlugin::~CenterOfMassPlugin (  )  [virtual]

Definition at line 56 of file CenterOfMassPlugin.cpp.


Member Function Documentation

void CompuCell3D::CenterOfMassPlugin::getCenterOfMass ( CellG cell,
float  cm[3] 
) const [inline]

void CompuCell3D::CenterOfMassPlugin::getCenterOfMass ( CellG cell,
float &  _x,
float &  _y,
float &  _z 
) const [inline]

Point3D CompuCell3D::CenterOfMassPlugin::getCenterOfMass ( CellG cell  )  const [inline]

Definition at line 93 of file CenterOfMassPlugin.h.

References roundf.

void CenterOfMassPlugin::field3DCheck ( const Point3D pt,
CellG newCell,
CellG oldCell 
)

Definition at line 347 of file CenterOfMassPlugin.cpp.

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

void CompuCell3D::CenterOfMassPlugin::field3DChange ( const Point3D pt,
CellG newCell,
CellG oldCell 
) [virtual]

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().


Member Data Documentation

Definition at line 51 of file CenterOfMassPlugin.h.

Referenced by init().

Definition at line 54 of file CenterOfMassPlugin.h.

Referenced by field3DChange(), and init().

Definition at line 55 of file CenterOfMassPlugin.h.

Referenced by field3DChange(), and init().

Definition at line 56 of file CenterOfMassPlugin.h.

Referenced by field3DChange(), and init().


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

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