CARLA
Loading...
Searching...
No Matches
Namespaces | Functions
LaneGraph.cpp File Reference
#include "LaneGraph.h"
#include <algorithm>
#include <limits>
#include <map>
#include <set>
#include <sstream>
#include <tuple>
#include "Profiles.h"

Go to the source code of this file.

Namespaces

namespace  twinmodel
 

Functions

TwinModelData twinmodel::BuildLaneGraph (const OsmData &osm, const LocalFrame &frame, const std::string &name, const LaneGraphOptions &options=LaneGraphOptions())
 OSM ways -> roads, lanes and junctions in model space.
 

Variable Documentation

◆ _parent

std::map<long long, long long> _parent
private

Definition at line 78 of file LaneGraph.cpp.

◆ contact

ContactPoint contact = ContactPoint::Start

Definition at line 40 of file LaneGraph.cpp.

Referenced by twinmodel::BuildLaneGraph().

◆ first

long long first = 0

◆ heading

double heading = 0.0

◆ highway

std::string highway

◆ last

long long last = 0

◆ node

long long node = 0

Definition at line 43 of file LaneGraph.cpp.

Referenced by pugi::xml_text::_data(), moodycamel::ConcurrentQueue< T, Traits >::FreeList< N >::add(), moodycamel::ConcurrentQueue< T, Traits >::FreeList< N >::add_knowing_refcount_is_zero(), carla::agents::navigation::GlobalRoutePlanner::AddEdge(), append_attribute(), append_new_attribute(), append_new_node(), append_node(), twinmodel::BuildLaneGraph(), twinmodel::BuildSignals(), document_buffer_order(), twinmodel::ExportXodr(), pugi::xml_node::find_child(), MapGen::fixGraphData(), ACityMapGenerator::GenerateRoads(), MapGen::DoublyConnectedEdgeList::GetLeavingHalfEdge(), MapGen::DoublyConnectedEdgeList::GetLeavingHalfEdge(), carla::agents::navigation::GlobalRoutePlanner::GetOrCreateNode(), has_declaration(), xml_parser::has_element_node_siblings(), insert_attribute_after(), insert_attribute_before(), pugi::xml_node::insert_child_after(), pugi::xml_node::insert_child_after(), pugi::xml_node::insert_child_before(), pugi::xml_node::insert_child_before(), pugi::xml_node::insert_copy_after(), pugi::xml_node::insert_copy_before(), pugi::xml_node::insert_move_after(), pugi::xml_node::insert_move_before(), insert_node_after(), insert_node_before(), is_attribute_of(), is_text_node(), local_name(), namespace_uri(), namespace_uri(), node_is_ancestor(), node_output(), node_output_attributes(), node_output_end(), node_output_simple(), node_output_start(), carla::opendrive::parser::GeometryParser::Parse(), carla::opendrive::parser::ProfilesParser::Parse(), twinmodel::ParseOsmXml(), twinmodel::geom::Polygonize(), prepend_attribute(), prepend_node(), xpath_node_set_raw::push_back(), xpath_node_set_raw::push_back_grow(), qualified_name(), remove_attribute(), and remove_node().

◆ nodes

std::vector<long long> nodes

Definition at line 26 of file LaneGraph.cpp.

Referenced by twinmodel::geom::Polygonize().

◆ point

geom::Point point

◆ road_id

std::string road_id

Definition at line 39 of file LaneGraph.cpp.

Referenced by carla::road::MapBuilder::AddRoad(), carla::road::MapBuilder::AddSignalPositionRoad(), carla::agents::navigation::GlobalRoutePlanner::BuildGraph(), twinmodel::BuildLaneGraph(), twinmodel::BuildSignals(), carla::agents::navigation::GlobalRoutePlanner::FindLooseEnds(), carla::road::ForEachDrivableLaneImpl(), carla::road::ForEachLaneImpl(), carla::road::Map::GenerateWaypointsInRoad(), carla::client::Junction::GetAdjacentRoads(), carla::road::Junction::GetConflictsOfRoad(), carla::client::Junction::GetConnectingRoads(), carla::road::MapBuilder::GetEdgeLanePointer(), carla::road::Map::GetJunctionId(), carla::road::MapBuilder::GetJunctionLanes(), carla::road::MapBuilder::GetLane(), carla::client::Map::GetLane(), carla::road::MapData::GetLaneInfo(), carla::road::MapBuilder::GetLaneNext(), carla::client::Map::GetLaneSection(), carla::road::MapBuilder::GetRoad(), carla::client::Map::GetRoad(), carla::client::GetRoadData(), carla::road::Map::GetWaypoint(), carla::client::Map::GetWaypointXODR(), carla::road::Map::IsJunction(), carla::opendrive::parser::LaneParser::Parse(), carla::opendrive::parser::ObjectParser::Parse(), carla::opendrive::parser::ProfilesParser::Parse(), carla::opendrive::parser::SignalParser::Parse(), carla::opendrive::parser::ParseLanes(), carla::road::MapBuilder::RemoveZeroLaneValiditySignalReferences(), carla::road::Junction::RoadHasConflicts(), carla::traffic_manager::InMemoryMap::SetUp(), test_geometry(), test_road_elevation(), and test_roads().

◆ tags

Tags tags

Definition at line 25 of file LaneGraph.cpp.

Referenced by twinmodel::FindTag(), twinmodel::HasTag(), and twinmodel::ResolveProfile().

◆ way_id

long long way_id = 0

Definition at line 23 of file LaneGraph.cpp.