Chaste Release::3.1
|
#include <ApoptoticCellProperty.hpp>
Public Member Functions | |
ApoptoticCellProperty (unsigned colour=6) | |
virtual | ~ApoptoticCellProperty () |
unsigned | GetColour () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
unsigned | mColour |
Friends | |
class | boost::serialization::access |
Apoptotic cell property.
Each Cell owns a CellPropertyCollection, which may include a shared pointer to an object of this type.
The ApoptoticCellProperty object keeps track of the number of cells that are apoptotic, as well as what colour should be used by the visualizer to display cells that are apoptotic.
Definition at line 53 of file ApoptoticCellProperty.hpp.
ApoptoticCellProperty::ApoptoticCellProperty | ( | unsigned | colour = 6 | ) |
Constructor.
colour | what colour cells with this property should be in the visualizer (defaults to 6) |
Definition at line 38 of file ApoptoticCellProperty.cpp.
ApoptoticCellProperty::~ApoptoticCellProperty | ( | ) | [virtual] |
Destructor.
Definition at line 44 of file ApoptoticCellProperty.cpp.
unsigned ApoptoticCellProperty::GetColour | ( | ) | const |
void ApoptoticCellProperty::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Archive the member variables.
archive | the archive |
version | the current version of this class |
Reimplemented from AbstractCellProperty.
Definition at line 71 of file ApoptoticCellProperty.hpp.
References mColour.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellProperty.
Definition at line 63 of file ApoptoticCellProperty.hpp.
unsigned ApoptoticCellProperty::mColour [private] |
Colour for use by visualizer.
Definition at line 60 of file ApoptoticCellProperty.hpp.
Referenced by GetColour(), and serialize().