Template Class graph3D_view_entity
Defined in File graph3D_view_entity.hpp
Inheritance Relationships
Base Types
public cosm::repr::entity3D
(Class entity3D)public cosm::repr::base_graph_view_entity< TGraphType, TGraphViewType >
(Template Class base_graph_view_entity)public rer::client< graph3D_view_entity< TGraphType, TGraphViewType > >
Derived Type
public cosm::repr::base_graph_los< graph3D_view_entity< rdgraph::hgrid3D< TSpecType >, rdgraph::hgrid3D_view< TSpecType > > >
(Template Class base_graph_los)
Class Documentation
-
template<typename TGraphType, typename TGraphViewType>
class graph3D_view_entity : public cosm::repr::entity3D, public cosm::repr::base_graph_view_entity<TGraphType, TGraphViewType>, public rer::client<graph3D_view_entity<TGraphType, TGraphViewType>> An abstract entity which is built on a view from a graph embeddable in R3 Euclidean space.
Subclassed by cosm::repr::base_graph_los< graph3D_view_entity< rdgraph::hgrid3D< TSpecType >, rdgraph::hgrid3D_view< TSpecType > > >
Public Types
-
using edge_descriptor = typename TGraphViewType::edge_descriptor
-
using edge_property_type = typename TGraphViewType::edge_property_type
-
using graph_view_entity_type = base_graph_view_entity<TGraphType, TGraphViewType>
-
using graph_view_type = TGraphViewType
-
using vertex_coord_type = typename TGraphViewType::vertex_coord_type
-
using vertex_descriptor = typename TGraphViewType::vertex_descriptor
-
using vertex_property_type = typename TGraphViewType::vertex_property_type
Public Functions
-
inline graph3D_view_entity(const rtypes::type_uuid &c_id, graph_view_type &&the_view, const rspatial::euclidean_dist &c_unit)
-
~graph3D_view_entity(void) override = default
-
const edge_property_type *access(const edge_descriptor vd) const = 0
-
inline virtual const vertex_property_type *access(const vertex_coord_type &c) const override
-
const vertex_property_type *access(const vertex_coord_type &c) const = 0
-
const vertex_property_type *access(const vertex_descriptor vd) const = 0
Get the vertex associated with a particular set of coordinates within the view. Asserts that coordinates are within the bounds of the graph underlying the view.
- Parameters:
c – The coordinates.
- Returns:
A reference to the vertex.
-
inline virtual const edge_property_type *access(edge_descriptor vd) const override
-
inline virtual const vertex_property_type *access(vertex_descriptor vd) const override
Get the vertex associated with a particular set of coordinates within the view. Asserts that coordinates are within the bounds of the graph underlying the view.
- Parameters:
c – The coordinates.
- Returns:
A reference to the vertex.
-
inline virtual bool contains(const vertex_coord_type &c) const override
Determine if the specified coordinates lie within the view entity.
-
inline const rspatial::euclidean_dist &unit(void) const
Protected Functions
-
inline graph_view_type &view(void)
-
inline const graph_view_type &view(void) const
-
using edge_descriptor = typename TGraphViewType::edge_descriptor