#include <AbstractCellWriter.hpp>
Inherits AbstractCellBasedWriter< ELEMENT_DIM, SPACE_DIM >.
Inherited by CellAgesWriter< ELEMENT_DIM, SPACE_DIM >, CellAncestorWriter< ELEMENT_DIM, SPACE_DIM >, CellBetaCateninWriter< ELEMENT_DIM, SPACE_DIM >, CellIdWriter< ELEMENT_DIM, SPACE_DIM >, CellLabelWriter< ELEMENT_DIM, SPACE_DIM >, CellLocationWriter< ELEMENT_DIM, SPACE_DIM >, CellMutationStatesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativePhasesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativeTypesWriter< ELEMENT_DIM, SPACE_DIM >, CellVariablesWriter< ELEMENT_DIM, SPACE_DIM >, and CellVolumesWriter< ELEMENT_DIM, SPACE_DIM >.

Public Member Functions | |
| AbstractCellWriter (const std::string &rFileName) | |
| std::string | GetVtkCellDataName () |
| virtual double | GetCellDataForVtkOutput (CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)=0 |
| virtual void | VisitCell (CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)=0 |
Protected Attributes | |
| std::string | mVtkCellDataName |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &archive, const unsigned int version) |
Friends | |
| class | boost::serialization::access |
An abstract class for a writer that visits individual cells of a population and writes their data.
Definition at line 51 of file AbstractCellWriter.hpp.
| AbstractCellWriter< ELEMENT_DIM, SPACE_DIM >::AbstractCellWriter | ( | const std::string & | rFileName | ) | [inline] |
Default constructor.
| rFileName | the name of the file to write to. |
Definition at line 39 of file AbstractCellWriter.cpp.
| virtual double AbstractCellWriter< ELEMENT_DIM, SPACE_DIM >::GetCellDataForVtkOutput | ( | CellPtr | pCell, | |
| AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > * | pCellPopulation | |||
| ) | [pure virtual] |
Get a double associated with a cell. This method reduces duplication of code between the methods VisitCell() and AddVtkData().
| pCell | a cell | |
| pCellPopulation | a pointer to the cell population owning the cell. |
Implemented in CellAgesWriter< ELEMENT_DIM, SPACE_DIM >, CellAncestorWriter< ELEMENT_DIM, SPACE_DIM >, CellIdWriter< ELEMENT_DIM, SPACE_DIM >, CellLabelWriter< ELEMENT_DIM, SPACE_DIM >, CellLocationWriter< ELEMENT_DIM, SPACE_DIM >, CellMutationStatesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativePhasesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativeTypesWriter< ELEMENT_DIM, SPACE_DIM >, CellVariablesWriter< ELEMENT_DIM, SPACE_DIM >, CellVolumesWriter< ELEMENT_DIM, SPACE_DIM >, and CellBetaCateninWriter< ELEMENT_DIM, SPACE_DIM >.
| std::string AbstractCellWriter< ELEMENT_DIM, SPACE_DIM >::GetVtkCellDataName | ( | ) | [inline] |
Definition at line 45 of file AbstractCellWriter.cpp.
References AbstractCellWriter< ELEMENT_DIM, SPACE_DIM >::mVtkCellDataName.
| void AbstractCellWriter< ELEMENT_DIM, SPACE_DIM >::serialize | ( | Archive & | archive, | |
| const unsigned int | version | |||
| ) | [inline, private] |
Serialize the object and its member variables.
| archive | the archive | |
| version | the current version of this class |
Reimplemented from AbstractCellBasedWriter< ELEMENT_DIM, SPACE_DIM >.
Reimplemented in CellAgesWriter< ELEMENT_DIM, SPACE_DIM >, CellAncestorWriter< ELEMENT_DIM, SPACE_DIM >, CellIdWriter< ELEMENT_DIM, SPACE_DIM >, CellLabelWriter< ELEMENT_DIM, SPACE_DIM >, CellLocationWriter< ELEMENT_DIM, SPACE_DIM >, CellMutationStatesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativePhasesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativeTypesWriter< ELEMENT_DIM, SPACE_DIM >, CellVariablesWriter< ELEMENT_DIM, SPACE_DIM >, CellVolumesWriter< ELEMENT_DIM, SPACE_DIM >, and CellBetaCateninWriter< ELEMENT_DIM, SPACE_DIM >.
Definition at line 64 of file AbstractCellWriter.hpp.
| virtual void AbstractCellWriter< ELEMENT_DIM, SPACE_DIM >::VisitCell | ( | CellPtr | pCell, | |
| AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > * | pCellPopulation | |||
| ) | [pure virtual] |
Visit a cell and write its data.
| pCell | a cell | |
| pCellPopulation | a pointer to the cell population owning the cell. |
Implemented in CellAgesWriter< ELEMENT_DIM, SPACE_DIM >, CellAncestorWriter< ELEMENT_DIM, SPACE_DIM >, CellIdWriter< ELEMENT_DIM, SPACE_DIM >, CellLabelWriter< ELEMENT_DIM, SPACE_DIM >, CellLocationWriter< ELEMENT_DIM, SPACE_DIM >, CellMutationStatesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativePhasesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativeTypesWriter< ELEMENT_DIM, SPACE_DIM >, CellVariablesWriter< ELEMENT_DIM, SPACE_DIM >, CellVolumesWriter< ELEMENT_DIM, SPACE_DIM >, and CellBetaCateninWriter< ELEMENT_DIM, SPACE_DIM >.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellBasedWriter< ELEMENT_DIM, SPACE_DIM >.
Reimplemented in CellAgesWriter< ELEMENT_DIM, SPACE_DIM >, CellAncestorWriter< ELEMENT_DIM, SPACE_DIM >, CellIdWriter< ELEMENT_DIM, SPACE_DIM >, CellLabelWriter< ELEMENT_DIM, SPACE_DIM >, CellLocationWriter< ELEMENT_DIM, SPACE_DIM >, CellMutationStatesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativePhasesWriter< ELEMENT_DIM, SPACE_DIM >, CellProliferativeTypesWriter< ELEMENT_DIM, SPACE_DIM >, CellVariablesWriter< ELEMENT_DIM, SPACE_DIM >, CellVolumesWriter< ELEMENT_DIM, SPACE_DIM >, and CellBetaCateninWriter< ELEMENT_DIM, SPACE_DIM >.
Definition at line 56 of file AbstractCellWriter.hpp.
std::string AbstractCellWriter< ELEMENT_DIM, SPACE_DIM >::mVtkCellDataName [protected] |
The name of the cell data used in VTK output.
Definition at line 74 of file AbstractCellWriter.hpp.
Referenced by CellAgesWriter< ELEMENT_DIM, SPACE_DIM >::CellAgesWriter(), CellAncestorWriter< ELEMENT_DIM, SPACE_DIM >::CellAncestorWriter(), CellBetaCateninWriter< ELEMENT_DIM, SPACE_DIM >::CellBetaCateninWriter(), CellIdWriter< ELEMENT_DIM, SPACE_DIM >::CellIdWriter(), CellLabelWriter< ELEMENT_DIM, SPACE_DIM >::CellLabelWriter(), CellLocationWriter< ELEMENT_DIM, SPACE_DIM >::CellLocationWriter(), CellMutationStatesWriter< ELEMENT_DIM, SPACE_DIM >::CellMutationStatesWriter(), CellProliferativePhasesWriter< ELEMENT_DIM, SPACE_DIM >::CellProliferativePhasesWriter(), CellProliferativeTypesWriter< ELEMENT_DIM, SPACE_DIM >::CellProliferativeTypesWriter(), CellVariablesWriter< ELEMENT_DIM, SPACE_DIM >::CellVariablesWriter(), CellVolumesWriter< ELEMENT_DIM, SPACE_DIM >::CellVolumesWriter(), and AbstractCellWriter< ELEMENT_DIM, SPACE_DIM >::GetVtkCellDataName().
1.6.2