CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
twinmodel::TwinModelData Struct Reference

Everything the OpenDRIVE writer reads. More...

#include <Model.h>

Public Member Functions

const Road * FindRoad (const std::string &id) const
 

Public Attributes

std::vector< Controller > controllers
 
std::vector< Junction > junctions
 
std::string name
 
double origin_lat = 0.0
 
double origin_lon = 0.0
 
std::vector< Road > roads
 
std::vector< Signal > signals
 
Tags tags
 

Detailed Description

Everything the OpenDRIVE writer reads.

build_lanegraph fills it from the parsed OSM; the mesh exporter adds surfaces on top of the same roads.

Definition at line 158 of file Model.h.

Member Function Documentation

◆ FindRoad()

const Road * twinmodel::TwinModelData::FindRoad ( const std::string &  id) const
inline

Definition at line 168 of file Model.h.

References road, and roads.

Referenced by twinmodel::BuildLaneGraph(), and twinmodel::BuildSignals().

Member Data Documentation

◆ controllers

std::vector<Controller> twinmodel::TwinModelData::controllers

Definition at line 165 of file Model.h.

Referenced by twinmodel::BuildSignals(), and twinmodel::ExportXodr().

◆ junctions

std::vector<Junction> twinmodel::TwinModelData::junctions

◆ name

std::string twinmodel::TwinModelData::name

Definition at line 159 of file Model.h.

Referenced by twinmodel::BuildLaneGraph(), and twinmodel::ExportXodr().

◆ origin_lat

double twinmodel::TwinModelData::origin_lat = 0.0

Definition at line 160 of file Model.h.

Referenced by twinmodel::BuildLaneGraph().

◆ origin_lon

double twinmodel::TwinModelData::origin_lon = 0.0

Definition at line 161 of file Model.h.

Referenced by twinmodel::BuildLaneGraph().

◆ roads

std::vector<Road> twinmodel::TwinModelData::roads

◆ signals

std::vector<Signal> twinmodel::TwinModelData::signals

Definition at line 164 of file Model.h.

Referenced by twinmodel::BuildSignals(), and twinmodel::ExportXodr().

◆ tags

Tags twinmodel::TwinModelData::tags

Definition at line 166 of file Model.h.


The documentation for this struct was generated from the following file: