36#include "CellLabelWriter.hpp"
37#include "AbstractCellPopulation.hpp"
38#include "CellLabel.hpp"
40template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
47template<
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();
60template<
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();
71 *this->mpOutStream <<
" " << label;
74 *this->mpOutStream <<
" " << location_index;
77 for (
unsigned i=0; i<SPACE_DIM; i++)
79 *this->mpOutStream <<
" " << coords[i];
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
virtual c_vector< double, SPACE_DIM > GetLocationOfCellCentre(CellPtr pCell)=0
unsigned GetLocationIndexUsingCell(CellPtr pCell)
std::string mVtkCellDataName
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
boost::shared_ptr< AbstractCellProperty > GetProperty() const
CellPropertyCollection GetProperties() const