All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | List of all members
Eegeo::Graphs::TiledGraph Class Reference
Inheritance diagram for Eegeo::Graphs::TiledGraph:
Eegeo::NonCopyable

Public Types

typedef std::unordered_map
< Streaming::MortonKey,
TiledGraphCell
*, Streaming::MortonKeyHash
TKeyToCell
 

Public Member Functions

 TiledGraph (const ITiledGraphLinker &tiledGraphLinker)
 
void RegisterCellAddedCallback (ITiledGraphCellAddedCallback &callback)
 
void RegisterCellRemovedCallback (ITiledGraphCellRemovedCallback &callback)
 
void RegisterCellUpdatedCallback (ITiledGraphCellUpdatedCallback &callback)
 
void UnregisterCellAddedCallback (ITiledGraphCellAddedCallback &callback)
 
void UnregisterCellRemovedCallback (ITiledGraphCellRemovedCallback &callback)
 
void UnregisterCellUpdatedCallback (ITiledGraphCellUpdatedCallback &callback)
 
void Add (TiledGraphCell &cell)
 
void Remove (TiledGraphCell &cell)
 
bool CellExists (const Streaming::MortonKey &cellKey) const
 
TiledGraphCellGetCell (const Streaming::MortonKey &cellKey) const
 
const TKeyToCell & GetCells () const
 
size_t CountNodes () const
 
size_t CountEdges () const
 
size_t CountUniqueEdgeAttributes () const
 
dv3 GetNodePoint (const TiledGraphNodeId &nodeId) const
 
const TiledGraphNodeGetNode (const TiledGraphNodeId &nodeId) const
 
const TiledGraphEdgeGetEdge (const TiledGraphEdgeId &edgeId) const
 
bool NodeExists (const TiledGraphNodeId &nodeId) const
 
bool EdgeExists (const TiledGraphEdgeId &edgeId) const
 
void GetIncidentEdgeIds (const TiledGraphNodeId &nodeId, std::vector< TiledGraphEdgeId > &out_incidentEdgeIds) const
 
bool FindEdgeId (const TiledGraphNodeId &nodeIdA, const TiledGraphNodeId &nodeIdB, TiledGraphEdgeId &out_edgeId) const
 
bool TryGetPointOnEdge (const TiledGraphEdgeId &graphEdgeId, const double param, dv3 &out_pointOnEdge) const
 
bool ValidateAllUnlinked (const Streaming::MortonKey &cellKey) const
 
bool ValidateExternalNodesExist () const
 

Additional Inherited Members

- Private Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

The documentation for this class was generated from the following files: