5 #include "TiledGraphNode.h"
6 #include "TiledGraphEdge.h"
7 #include "TiledGraphCell.h"
8 #include "CallbackCollection.h"
10 #include <unordered_map>
16 typedef Helpers::ICallback1<const Streaming::MortonKey> ITiledGraphCellAddedCallback;
17 typedef Helpers::ICallback1<const Streaming::MortonKey> ITiledGraphCellRemovedCallback;
18 typedef Helpers::ICallback1<const Streaming::MortonKey> ITiledGraphCellUpdatedCallback;
23 typedef std::unordered_map<Streaming::MortonKey, TiledGraphCell*, Streaming::MortonKeyHash> TKeyToCell;
42 const TKeyToCell& GetCells()
const {
return m_cells; }
43 size_t CountNodes()
const;
44 size_t CountEdges()
const;
45 size_t CountUniqueEdgeAttributes()
const;
54 void GetIncidentEdgeIds(
const TiledGraphNodeId& nodeId, std::vector<TiledGraphEdgeId>& out_incidentEdgeIds)
const;
58 bool TryGetPointOnEdge(
const TiledGraphEdgeId& graphEdgeId,
const double param,
dv3& out_pointOnEdge)
const;
61 bool ValidateExternalNodesExist()
const;