SUMO - Simulation of Urban MObility
NWWriter_OpenDrive Class Reference

Exporter writing networks using the openDRIVE format. More...

#include <NWWriter_OpenDrive.h>

Collaboration diagram for NWWriter_OpenDrive:
Collaboration graph

Static Public Member Functions

static void writeNetwork (const OptionsCont &oc, NBNetBuilder &nb)
 Writes the network into a openDRIVE-file. More...
 

Static Protected Member Functions

static int getID (const std::string &origID, StringBijection< int > &map, int &lastID)
 
static std::string getLaneType (SVCPermissions permissions)
 
static PositionVector getLeftBorder (const NBEdge *edge)
 get the left border of the leftmost lane More...
 
static void writeEmptyCenterLane (OutputDevice &device, const std::string &mark, SUMOReal markWidth)
 
static void writePlanView (const PositionVector &shape, OutputDevice &device)
 

Detailed Description

Exporter writing networks using the openDRIVE format.

Definition at line 55 of file NWWriter_OpenDrive.h.

Member Function Documentation

int NWWriter_OpenDrive::getID ( const std::string &  origID,
StringBijection< int > &  map,
int &  lastID 
)
staticprotected
std::string NWWriter_OpenDrive::getLaneType ( SVCPermissions  permissions)
staticprotected

Definition at line 296 of file NWWriter_OpenDrive.cpp.

References SVC_BICYCLE, SVC_PEDESTRIAN, and SVC_TRAM.

Referenced by writeNetwork().

PositionVector NWWriter_OpenDrive::getLeftBorder ( const NBEdge edge)
staticprotected

get the left border of the leftmost lane

Definition at line 317 of file NWWriter_OpenDrive.cpp.

References NBEdge::getLaneShape(), NBEdge::getLaneWidth(), NBEdge::getNumLanes(), and PositionVector::move2side().

Referenced by writeNetwork().

void NWWriter_OpenDrive::writeEmptyCenterLane ( OutputDevice device,
const std::string &  mark,
SUMOReal  markWidth 
)
staticprotected

Definition at line 274 of file NWWriter_OpenDrive.cpp.

Referenced by writeNetwork().

void NWWriter_OpenDrive::writePlanView ( const PositionVector shape,
OutputDevice device 
)
staticprotected

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