CARLA
 
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | Private 属性 | 所有成员列表
carla::road::element::RoadInfoMarkRecord类 参考final

Each lane within a road cross section can be provided with several road markentries. 更多...

#include <RoadInfoMarkRecord.h>

+ 类 carla::road::element::RoadInfoMarkRecord 继承关系图:
+ carla::road::element::RoadInfoMarkRecord 的协作图:

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.h25 行定义.

成员枚举类型说明

◆ LaneChange

Can be used as flags

枚举值
None 
Increase 
Decrease 
Both 

在文件 RoadInfoMarkRecord.h29 行定义.

构造及析构函数说明

◆ RoadInfoMarkRecord() [1/2]

carla::road::element::RoadInfoMarkRecord::RoadInfoMarkRecord ( double s,
int road_mark_id )
inline

在文件 RoadInfoMarkRecord.h36 行定义.

◆ RoadInfoMarkRecord() [2/2]

carla::road::element::RoadInfoMarkRecord::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 )
inline

在文件 RoadInfoMarkRecord.h51 行定义.

成员函数说明

◆ AcceptVisitor()

void carla::road::element::RoadInfoMarkRecord::AcceptVisitor ( RoadInfoVisitor & v)
inlinefinalvirtual

实现了 carla::road::element::RoadInfo.

在文件 RoadInfoMarkRecord.h75 行定义.

◆ GetColor()

const std::string & carla::road::element::RoadInfoMarkRecord::GetColor ( ) const
inline

Color of the road mark.

在文件 RoadInfoMarkRecord.h95 行定义.

引用了 _color.

◆ GetHeight()

double carla::road::element::RoadInfoMarkRecord::GetHeight ( ) const
inline

Physical distance of top edge of road mark from reference plane of the lane.

在文件 RoadInfoMarkRecord.h119 行定义.

引用了 _height.

◆ GetLaneChange()

LaneChange carla::road::element::RoadInfoMarkRecord::GetLaneChange ( ) const
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.h113 行定义.

引用了 _lane_change.

◆ GetLines()

std::vector< std::unique_ptr< RoadInfoMarkTypeLine > > & carla::road::element::RoadInfoMarkRecord::GetLines ( )
inline

在文件 RoadInfoMarkRecord.h133 行定义.

引用了 _lines.

◆ GetMaterial()

const std::string & carla::road::element::RoadInfoMarkRecord::GetMaterial ( ) const
inline

Material of the road mark (identifiers to be defined, use "standard" for the moment.

在文件 RoadInfoMarkRecord.h101 行定义.

引用了 _material.

◆ GetRoadMarkId()

int carla::road::element::RoadInfoMarkRecord::GetRoadMarkId ( ) const
inline

Unique identifer for the road mark.

在文件 RoadInfoMarkRecord.h80 行定义.

引用了 _road_mark_id.

◆ GetType()

const std::string & carla::road::element::RoadInfoMarkRecord::GetType ( ) const
inline

Type of the road mark.

在文件 RoadInfoMarkRecord.h85 行定义.

引用了 _type.

◆ GetTypeName()

const std::string & carla::road::element::RoadInfoMarkRecord::GetTypeName ( ) const
inline

Name of the road mark type if it has one.

在文件 RoadInfoMarkRecord.h124 行定义.

引用了 _type_name.

◆ GetTypeWidth()

double carla::road::element::RoadInfoMarkRecord::GetTypeWidth ( ) const
inline

Width of the road mark type if it has one.

在文件 RoadInfoMarkRecord.h129 行定义.

引用了 _type_width.

◆ GetWeight()

const std::string & carla::road::element::RoadInfoMarkRecord::GetWeight ( ) const
inline

Weight of the road mark.

在文件 RoadInfoMarkRecord.h90 行定义.

引用了 _weight.

◆ GetWidth()

double carla::road::element::RoadInfoMarkRecord::GetWidth ( ) const
inline

Width of the road mark –optional.

在文件 RoadInfoMarkRecord.h106 行定义.

引用了 _width.

类成员变量说明

◆ _color

const std::string carla::road::element::RoadInfoMarkRecord::_color
private

在文件 RoadInfoMarkRecord.h145 行定义.

被这些函数引用 GetColor().

◆ _height

const double carla::road::element::RoadInfoMarkRecord::_height
private

在文件 RoadInfoMarkRecord.h153 行定义.

被这些函数引用 GetHeight().

◆ _lane_change

const LaneChange carla::road::element::RoadInfoMarkRecord::_lane_change
private

在文件 RoadInfoMarkRecord.h151 行定义.

被这些函数引用 GetLaneChange().

◆ _lines

std::vector<std::unique_ptr<RoadInfoMarkTypeLine> > carla::road::element::RoadInfoMarkRecord::_lines
private

在文件 RoadInfoMarkRecord.h159 行定义.

被这些函数引用 GetLines().

◆ _material

const std::string carla::road::element::RoadInfoMarkRecord::_material
private

在文件 RoadInfoMarkRecord.h147 行定义.

被这些函数引用 GetMaterial().

◆ _road_mark_id

const int carla::road::element::RoadInfoMarkRecord::_road_mark_id
private

在文件 RoadInfoMarkRecord.h139 行定义.

被这些函数引用 GetRoadMarkId().

◆ _type

const std::string carla::road::element::RoadInfoMarkRecord::_type
private

在文件 RoadInfoMarkRecord.h141 行定义.

被这些函数引用 GetType().

◆ _type_name

const std::string carla::road::element::RoadInfoMarkRecord::_type_name
private

在文件 RoadInfoMarkRecord.h155 行定义.

被这些函数引用 GetTypeName().

◆ _type_width

const double carla::road::element::RoadInfoMarkRecord::_type_width
private

在文件 RoadInfoMarkRecord.h157 行定义.

被这些函数引用 GetTypeWidth().

◆ _weight

const std::string carla::road::element::RoadInfoMarkRecord::_weight
private

在文件 RoadInfoMarkRecord.h143 行定义.

被这些函数引用 GetWeight().

◆ _width

const double carla::road::element::RoadInfoMarkRecord::_width
private

在文件 RoadInfoMarkRecord.h149 行定义.

被这些函数引用 GetWidth().


该类的文档由以下文件生成: