36 #include "CellProliferativeTypesWriter.hpp"
38 #include "AbstractCellPopulation.hpp"
39 #include "ApoptoticCellProperty.hpp"
40 #include "CellLabel.hpp"
41 #include "WildTypeCellMutationState.hpp"
43 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
50 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
53 double colour = pCell->GetCellProliferativeType()->GetColour();
58 colour = pCell->GetMutationState()->GetColour();
63 boost::shared_ptr<CellLabel> p_label = boost::static_pointer_cast<
CellLabel>(collection.
GetProperty());
64 colour = p_label->GetColour();
75 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
78 unsigned colour = pCell->GetCellProliferativeType()->GetColour();
83 colour = pCell->GetMutationState()->GetColour();
88 boost::shared_ptr<CellLabel> p_label = boost::static_pointer_cast<
CellLabel>(collection.
GetProperty());
89 colour = p_label->GetColour();
97 *this->mpOutStream << colour <<
" ";
std::string mVtkCellDataName
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
boost::shared_ptr< AbstractCellProperty > GetProperty() const
double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
CellPropertyCollection GetProperties() const
CellProliferativeTypesWriter()
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)