AbstractCryptStatistics Class Reference

#include <AbstractCryptStatistics.hpp>

Inheritance diagram for AbstractCryptStatistics:

Inheritance graph
[legend]
Collaboration diagram for AbstractCryptStatistics:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AbstractCryptStatistics (MeshBasedTissue< 2 > &rCrypt)
virtual ~AbstractCryptStatistics ()
void LabelSPhaseCells ()
void LabelAllCellsAsHealthy ()
std::vector< bool > GetWhetherCryptSectionCellsAreLabelled (std::vector< TissueCell * > cryptSection)

Protected Attributes

MeshBasedTissue< 2 > & mrCrypt


Detailed Description

Abstract crypt statistics class.

Definition at line 36 of file AbstractCryptStatistics.hpp.


Constructor & Destructor Documentation

AbstractCryptStatistics::AbstractCryptStatistics ( MeshBasedTissue< 2 > &  rCrypt  )  [inline]

Constructor

Parameters:
rCrypt The crypt

Definition at line 50 of file AbstractCryptStatistics.hpp.

virtual AbstractCryptStatistics::~AbstractCryptStatistics (  )  [inline, virtual]

Destructor.

Definition at line 57 of file AbstractCryptStatistics.hpp.


Member Function Documentation

void AbstractCryptStatistics::LabelSPhaseCells (  ) 

To recreate the Meineke labelling experiments

Cells which are in S phase have their mutation state changed from 'HEALTHY' to 'LABELLED'.

In Owen Sansom's experiments this is called twice; once at the beginning and once at the end of an hour to simulate uptake of the label over an hour, so some cells will already be labelled when this is called the second time.

(assumption that S phase lasts longer than one hour is pretty sound)

Definition at line 30 of file AbstractCryptStatistics.cpp.

References AbstractTissue< DIM >::Begin(), AbstractTissue< DIM >::End(), and mrCrypt.

void AbstractCryptStatistics::LabelAllCellsAsHealthy (  ) 

Sets all the cells in the crypt to have a mutation state of 'HEALTHY'

Definition at line 44 of file AbstractCryptStatistics.cpp.

References AbstractTissue< DIM >::Begin(), AbstractTissue< DIM >::End(), and mrCrypt.

std::vector< bool > AbstractCryptStatistics::GetWhetherCryptSectionCellsAreLabelled ( std::vector< TissueCell * >  cryptSection  ) 

Get all cells within a cell width of the section defined as the line between points (xBottom,0) and (xTop,yTop). If a patricular cell is labelled then the boolean true is returned.

Periodicity can be taken into account (if xTop and xBottom are more than half a crypt width apart then a more realistic section will be across the periodic boundary), using the final parameter. This obviously requires the mesh to be cylindrical.

Parameters:
cryptSection A standard vector of pointers to TissueCells (from a call to GetCryptSection in the concrete class)
Returns:
a standard vector of booleans which states whether a labelled cell is present at a corresponding position.

Definition at line 54 of file AbstractCryptStatistics.cpp.


Member Data Documentation


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

Generated on Wed Mar 18 12:52:04 2009 for Chaste by  doxygen 1.5.5