36 #include "CellLabelWriter.hpp" 37 #include "AbstractCellPopulation.hpp" 38 #include "CellLabel.hpp" 40 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
47 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
54 boost::shared_ptr<CellLabel> p_label = boost::static_pointer_cast<
CellLabel>(collection.
GetProperty());
55 label = p_label->GetColour();
60 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
67 boost::shared_ptr<CellLabel> p_label = boost::static_pointer_cast<
CellLabel>(collection.
GetProperty());
68 label = p_label->GetColour();
77 for (
unsigned i=0; i<SPACE_DIM; i++)
std::string mVtkCellDataName
unsigned GetLocationIndexUsingCell(CellPtr pCell)
boost::shared_ptr< AbstractCellProperty > GetProperty() const
CellPropertyCollection GetProperties() const
double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
virtual c_vector< double, SPACE_DIM > GetLocationOfCellCentre(CellPtr pCell)=0
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)