|
CARLA
|
Each lane within a road cross section can be provided with several road markentries. More...
#include <RoadInfoMarkRecord.h>
Inheritance diagram for carla::road::element::RoadInfoMarkRecord:Public Types | |
| enum class | LaneChange : uint8_t { None = 0x00 , Increase = 0x01 , Decrease = 0x02 , Both = 0x03 } |
| Can be used as flags. More... | |
Public Member Functions | |
| void | AcceptVisitor (RoadInfoVisitor &v) final |
| const std::string & | GetColor () const |
| Color of the road mark. | |
| double | GetHeight () const |
| Physical distance of top edge of road mark from reference plane of the lane. | |
| LaneChange | GetLaneChange () const |
| Allow a lane change in the indicated direction taking into account that lanes are numbered in ascending order from right to left. | |
| std::vector< std::unique_ptr< RoadInfoMarkTypeLine > > & | GetLines () |
| const std::string & | GetMaterial () const |
| Material of the road mark (identifiers to be defined, use "standard" for the moment. | |
| int | GetRoadMarkId () const |
| Unique identifer for the road mark. | |
| const std::string & | GetType () const |
| Type of the road mark. | |
| const std::string & | GetTypeName () const |
| Name of the road mark type if it has one. | |
| double | GetTypeWidth () const |
| Width of the road mark type if it has one. | |
| const std::string & | GetWeight () const |
| Weight of the road mark. | |
| double | GetWidth () const |
| Width of the road mark –optional. | |
| bool | isRHT () const |
| RoadInfoMarkRecord (double s, int road_mark_id) | |
| RoadInfoMarkRecord (double s, int road_mark_id, std::string type, std::string weight, std::string color, std::string material, double width, LaneChange lane_change, double height, std::string type_name, double type_width, bool is_rht) | |
Public Member Functions inherited from carla::road::element::RoadInfo | |
| double | GetDistance () const |
| Distance from road's start location. | |
| virtual | ~RoadInfo ()=default |
Private Attributes | |
| const std::string | _color |
| const double | _height |
| bool | _is_rht |
| const LaneChange | _lane_change |
| std::vector< std::unique_ptr< RoadInfoMarkTypeLine > > | _lines |
| const std::string | _material |
| const int | _road_mark_id |
| const std::string | _type |
| const std::string | _type_name |
| const double | _type_width |
| const std::string | _weight |
| const double | _width |
Additional Inherited Members | |
Protected Member Functions inherited from carla::road::element::RoadInfo | |
| RoadInfo (double distance=0.0) | |
Each lane within a road cross section can be provided with several road markentries.
The road mark information defines the style of the line at the lane’s outer border. For left lanes, this is the left border, for right lanes the right one. The style of the line separating left and right lanes is determined by the road mark entry for lane zero (i.e. the center lane)
Definition at line 25 of file RoadInfoMarkRecord.h.
|
strong |
Can be used as flags.
| Enumerator | |
|---|---|
| None | |
| Increase | |
| Decrease | |
| Both | |
Definition at line 29 of file RoadInfoMarkRecord.h.
|
inline |
Definition at line 36 of file RoadInfoMarkRecord.h.
|
inline |
Definition at line 52 of file RoadInfoMarkRecord.h.
|
inlinefinalvirtual |
Implements carla::road::element::RoadInfo.
Definition at line 78 of file RoadInfoMarkRecord.h.
|
inline |
|
inline |
Physical distance of top edge of road mark from reference plane of the lane.
Definition at line 122 of file RoadInfoMarkRecord.h.
References _height.
|
inline |
Allow a lane change in the indicated direction taking into account that lanes are numbered in ascending order from right to left.
If the attribute is missing, “both” is assumed to be valid.
Definition at line 116 of file RoadInfoMarkRecord.h.
References _lane_change.
|
inline |
Definition at line 140 of file RoadInfoMarkRecord.h.
References _lines.
|
inline |
Material of the road mark (identifiers to be defined, use "standard" for the moment.
Definition at line 104 of file RoadInfoMarkRecord.h.
References _material.
|
inline |
Unique identifer for the road mark.
Definition at line 83 of file RoadInfoMarkRecord.h.
References _road_mark_id.
|
inline |
|
inline |
Name of the road mark type if it has one.
Definition at line 127 of file RoadInfoMarkRecord.h.
References _type_name.
|
inline |
Width of the road mark type if it has one.
Definition at line 132 of file RoadInfoMarkRecord.h.
References _type_width.
|
inline |
|
inline |
Width of the road mark –optional.
Definition at line 109 of file RoadInfoMarkRecord.h.
References _width.
|
inline |
Definition at line 136 of file RoadInfoMarkRecord.h.
References _is_rht.
|
private |
Definition at line 152 of file RoadInfoMarkRecord.h.
Referenced by GetColor().
|
private |
Definition at line 160 of file RoadInfoMarkRecord.h.
Referenced by GetHeight().
|
private |
Definition at line 166 of file RoadInfoMarkRecord.h.
Referenced by isRHT().
|
private |
Definition at line 158 of file RoadInfoMarkRecord.h.
Referenced by GetLaneChange().
|
private |
Definition at line 168 of file RoadInfoMarkRecord.h.
Referenced by GetLines().
|
private |
Definition at line 154 of file RoadInfoMarkRecord.h.
Referenced by GetMaterial().
|
private |
Definition at line 146 of file RoadInfoMarkRecord.h.
Referenced by GetRoadMarkId().
|
private |
Definition at line 148 of file RoadInfoMarkRecord.h.
Referenced by GetType().
|
private |
Definition at line 162 of file RoadInfoMarkRecord.h.
Referenced by GetTypeName().
|
private |
Definition at line 164 of file RoadInfoMarkRecord.h.
Referenced by GetTypeWidth().
|
private |
Definition at line 150 of file RoadInfoMarkRecord.h.
Referenced by GetWeight().
|
private |
Definition at line 156 of file RoadInfoMarkRecord.h.
Referenced by GetWidth().