Each lane within a road cross section can be provided with several road markentries. 更多...
#include <RoadInfoMarkRecord.h>
Public 类型 | |
enum class | LaneChange : uint8_t { None = 0x00 , Increase = 0x01 , Decrease = 0x02 , Both = 0x03 } |
Can be used as flags 更多... | |
Public 成员函数 | |
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. | |
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) | |
Public 成员函数 继承自 carla::road::element::RoadInfo | |
double | GetDistance () const |
Distance from road's start location. | |
virtual | ~RoadInfo ()=default |
Private 属性 | |
const std::string | _color |
const double | _height |
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 |
额外继承的成员函数 | |
Protected 成员函数 继承自 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)
在文件 RoadInfoMarkRecord.h 第 25 行定义.
|
strong |
|
inline |
在文件 RoadInfoMarkRecord.h 第 36 行定义.
|
inline |
在文件 RoadInfoMarkRecord.h 第 51 行定义.
|
inlinefinalvirtual |
实现了 carla::road::element::RoadInfo.
在文件 RoadInfoMarkRecord.h 第 75 行定义.
|
inline |
|
inline |
Physical distance of top edge of road mark from reference plane of the lane.
在文件 RoadInfoMarkRecord.h 第 119 行定义.
引用了 _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.
在文件 RoadInfoMarkRecord.h 第 113 行定义.
引用了 _lane_change.
|
inline |
在文件 RoadInfoMarkRecord.h 第 133 行定义.
引用了 _lines.
|
inline |
Material of the road mark (identifiers to be defined, use "standard" for the moment.
在文件 RoadInfoMarkRecord.h 第 101 行定义.
引用了 _material.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
在文件 RoadInfoMarkRecord.h 第 145 行定义.
被这些函数引用 GetColor().
|
private |
在文件 RoadInfoMarkRecord.h 第 153 行定义.
被这些函数引用 GetHeight().
|
private |
在文件 RoadInfoMarkRecord.h 第 151 行定义.
被这些函数引用 GetLaneChange().
|
private |
在文件 RoadInfoMarkRecord.h 第 159 行定义.
被这些函数引用 GetLines().
|
private |
在文件 RoadInfoMarkRecord.h 第 147 行定义.
被这些函数引用 GetMaterial().
|
private |
在文件 RoadInfoMarkRecord.h 第 139 行定义.
被这些函数引用 GetRoadMarkId().
|
private |
在文件 RoadInfoMarkRecord.h 第 141 行定义.
被这些函数引用 GetType().
|
private |
在文件 RoadInfoMarkRecord.h 第 155 行定义.
被这些函数引用 GetTypeName().
|
private |
在文件 RoadInfoMarkRecord.h 第 157 行定义.
被这些函数引用 GetTypeWidth().
|
private |
在文件 RoadInfoMarkRecord.h 第 143 行定义.
被这些函数引用 GetWeight().
|
private |
在文件 RoadInfoMarkRecord.h 第 149 行定义.
被这些函数引用 GetWidth().