#include <LaneMarking.h>
Public Types | |
enum | Color : uint8_t { Color::Standard = 0u, Color::Blue = 1u, Color::Green = 2u, Color::Red = 3u, Color::White = Standard, Color::Yellow = 4u, Color::Other = 5u } |
enum | LaneChange : uint8_t { LaneChange::None = 0x00, LaneChange::Right = 0x01, LaneChange::Left = 0x02, LaneChange::Both = 0x03 } |
Can be used as flags. More... | |
enum | Type { Type::Other, Type::Broken, Type::Solid, Type::SolidSolid, Type::SolidBroken, Type::BrokenSolid, Type::BrokenBroken, Type::BottsDots, Type::Grass, Type::Curb, Type::None } |
Public Member Functions | |
std::string | GetColorInfoAsString () |
LaneMarking (const RoadInfoMarkRecord &info) | |
Public Attributes | |
Color | color = Color::Standard |
LaneChange | lane_change = LaneChange::None |
Type | type = Type::None |
double | width = 0.0 |
Definition at line 18 of file LaneMarking.h.
|
strong |
Enumerator | |
---|---|
Standard | |
Blue | |
Green | |
Red | |
White | |
Yellow | |
Other |
Definition at line 39 of file LaneMarking.h.
|
strong |
|
strong |
Enumerator | |
---|---|
Other | |
Broken | |
Solid | |
SolidSolid | |
SolidBroken | |
BrokenSolid | |
BrokenBroken | |
BottsDots | |
Grass | |
Curb | |
None |
Definition at line 20 of file LaneMarking.h.
|
explicit |
Definition at line 76 of file LaneMarking.cpp.
|
inline |
Definition at line 67 of file LaneMarking.h.
Color carla::road::element::LaneMarking::color = Color::Standard |
Definition at line 61 of file LaneMarking.h.
LaneChange carla::road::element::LaneMarking::lane_change = LaneChange::None |
Definition at line 63 of file LaneMarking.h.
Type carla::road::element::LaneMarking::type = Type::None |
Definition at line 59 of file LaneMarking.h.
Referenced by carla::geom::MeshFactory::GenerateLaneMarksForCenterLine(), and carla::geom::MeshFactory::GenerateLaneMarksForNotCenterLine().
double carla::road::element::LaneMarking::width = 0.0 |
Definition at line 65 of file LaneMarking.h.
Referenced by carla::geom::MeshFactory::GenerateLaneMarksForCenterLine(), and carla::geom::MeshFactory::GenerateLaneMarksForNotCenterLine().