1 #ifndef PTREE_TISSUE_BUILDER_H_INCLUDED
2 #define PTREE_TISSUE_BUILDER_H_INCLUDED
22 #include <boost/property_tree/ptree.hpp>
41 Tissue Build(
const boost::property_tree::ptree& pt);
47 std::shared_ptr<SimPT_Sim::Mesh> BuildMesh(
48 const boost::property_tree::ptree& mesh_pt);
56 std::shared_ptr<AttributeStore> BuildAttributeStore(
57 const std::string& entity_id,
58 const boost::property_tree::ptree& index_pt,
59 const boost::property_tree::ptree& values_pt);
62 void BuildBoundaryPolygon(
const boost::property_tree::ptree& cells_pt);
64 void BuildCells(
const boost::property_tree::ptree& cells_pt);
66 void BuildNodes(
const boost::property_tree::ptree& nodes_pt);
68 void BuildWalls(
const boost::property_tree::ptree& walls_pt);
70 void ConnectCellsToWalls(
const boost::property_tree::ptree& cells_pt);
73 std::shared_ptr<SimPT_Sim::Mesh> m_mesh;
74 std::shared_ptr<AttributeStore> m_cell_attributes;
75 std::shared_ptr<AttributeStore> m_node_attributes;
76 std::shared_ptr<AttributeStore> m_wall_attributes;
81 #endif // end_of_include_guard
Tissue data with mesh, cell attributes, node attributes and wall attributes.
Class directs ptree based tissue building process.
Namespace for the core simulator.
Tissue Build(const boost::property_tree::ptree &pt)
Build a tissue data set.