Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <ApoptoticCellProperty.hpp>
Public Member Functions | |
ApoptoticCellProperty (unsigned colour=6) | |
virtual | ~ApoptoticCellProperty () |
unsigned | GetColour () const |
Public Member Functions inherited from AbstractCellProperty | |
AbstractCellProperty () | |
virtual | ~AbstractCellProperty () |
template<class CLASS > | |
bool | IsType () const |
template<class BASECLASS > | |
bool | IsSubType () const |
bool | IsSame (const AbstractCellProperty *pOther) const |
bool | IsSame (boost::shared_ptr< const AbstractCellProperty > pOther) const |
void | IncrementCellCount () |
void | DecrementCellCount () |
unsigned | GetCellCount () const |
Public Member Functions inherited from Identifiable | |
virtual | ~Identifiable () |
std::string | GetIdentifier () 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.
|
virtual |
Destructor.
Definition at line 44 of file ApoptoticCellProperty.cpp.
unsigned ApoptoticCellProperty::GetColour | ( | ) | const |
|
inlineprivate |
Archive the member variables.
archive | the archive |
version | the current version of this class |
Definition at line 71 of file ApoptoticCellProperty.hpp.
References mColour.
|
friend |
Needed for serialization.
Definition at line 63 of file ApoptoticCellProperty.hpp.
|
private |
Colour for use by visualizer.
Definition at line 60 of file ApoptoticCellProperty.hpp.
Referenced by GetColour(), and serialize().