35 #include "AbstractCryptStatistics.hpp"
36 #include "CellPropertyRegistry.hpp"
37 #include "AbstractPhaseBasedCellCycleModel.hpp"
38 #include "CellLabel.hpp"
39 #include "WildTypeCellMutationState.hpp"
56 if (static_cast <AbstractPhaseBasedCellCycleModel*>(cell_iter->GetCellCycleModel())->GetCurrentCellCyclePhase()== S_PHASE)
62 if (!cell_iter->HasCellProperty<
CellLabel>())
83 cell_iter->RemoveCellProperty<
CellLabel>();
89 std::vector<bool> crypt_section_labelled(rCryptSection.size());
91 for (
unsigned vector_index=0; vector_index<rCryptSection.size(); vector_index++)
93 if (rCryptSection[vector_index]->HasCellProperty<CellLabel>())
95 crypt_section_labelled[vector_index] =
true;
99 crypt_section_labelled[vector_index] =
false;
103 return crypt_section_labelled;
virtual ~AbstractCryptStatistics()
AbstractCryptStatistics(MeshBasedCellPopulation< 2 > &rCrypt)
boost::shared_ptr< CellPropertyRegistry > GetCellPropertyRegistry()
MeshBasedCellPopulation< 2 > & mrCrypt
std::vector< bool > AreCryptSectionCellsLabelled(std::vector< CellPtr > &rCryptSection)
void LabelAllCellsAsHealthy()