36 #include "CellProliferativeTypesWriter.hpp"
37 #include "AbstractCellPopulation.hpp"
39 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
46 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
49 double colour = pCell->GetCellProliferativeType()->GetColour();
54 colour = pCell->GetMutationState()->GetColour();
59 boost::shared_ptr<CellLabel> p_label = boost::static_pointer_cast<
CellLabel>(collection.
GetProperty());
60 colour = p_label->GetColour();
71 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
74 unsigned colour = pCell->GetCellProliferativeType()->GetColour();
79 colour = pCell->GetMutationState()->GetColour();
84 boost::shared_ptr<CellLabel> p_label = boost::static_pointer_cast<
CellLabel>(collection.
GetProperty());
85 colour = p_label->GetColour();
93 *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)