#include <Waypoint.h>
Public 成员函数 | |
std::vector< SharedPtr< Landmark > > | GetAllLandmarksInDistance (double distance, bool stop_at_junction=false) const |
Returns a list of landmarks from the current position to a certain distance | |
auto | GetDistance () const |
uint64_t | GetId () const |
Returns an unique Id identifying this waypoint. | |
SharedPtr< Junction > | GetJunction () const |
road::JuncId | GetJunctionId () const |
std::vector< SharedPtr< Landmark > > | GetLandmarksOfTypeInDistance (double distance, std::string filter_type, bool stop_at_junction=false) const |
Returns a list of landmarks from the current position to a certain distance Filters by specified type | |
road::element::LaneMarking::LaneChange | GetLaneChange () const |
auto | GetLaneId () const |
double | GetLaneWidth () const |
SharedPtr< Waypoint > | GetLeft () const |
boost::optional< road::element::LaneMarking > | GetLeftLaneMarking () const |
std::vector< SharedPtr< Waypoint > > | GetNext (double distance) const |
std::vector< SharedPtr< Waypoint > > | GetNextUntilLaneEnd (double distance) const |
Returns a list of waypoints separated by distance from the current waypoint to the end of the lane | |
std::vector< SharedPtr< Waypoint > > | GetPrevious (double distance) const |
std::vector< SharedPtr< Waypoint > > | GetPreviousUntilLaneStart (double distance) const |
Returns a list of waypoints separated by distance from the current waypoint to the start of the lane | |
SharedPtr< Waypoint > | GetRight () const |
boost::optional< road::element::LaneMarking > | GetRightLaneMarking () const |
auto | GetRoadId () const |
auto | GetSectionId () const |
const geom::Transform & | GetTransform () const |
road::Lane::LaneType | GetType () const |
bool | IsJunction () const |
~Waypoint () | |
Private 成员函数 | |
Waypoint (SharedPtr< const Map > parent, road::element::Waypoint waypoint) | |
Private 成员函数 继承自 carla::NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable (NonCopyable &&)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable & | operator= (NonCopyable &&)=delete |
Private 属性 | |
std::pair< const road::element::RoadInfoMarkRecord *, const road::element::RoadInfoMarkRecord * > | _mark_record |
SharedPtr< const Map > | _parent |
geom::Transform | _transform |
road::element::Waypoint | _waypoint |
友元 | |
class | Map |
在文件 client/Waypoint.h 第 27 行定义.
|
default |
|
private |
在文件 client/Waypoint.cpp 第 18 行定义.
被这些函数引用 GetAllLandmarksInDistance(), GetLandmarksOfTypeInDistance(), GetLeft(), GetNext(), GetPrevious() , 以及 GetRight().
std::vector< SharedPtr< Landmark > > carla::client::Waypoint::GetAllLandmarksInDistance | ( | double | distance, |
bool | stop_at_junction = false ) const |
Returns a list of landmarks from the current position to a certain distance
在文件 client/Waypoint.cpp 第 218 行定义.
引用了 _parent, _waypoint , 以及 Waypoint().
被这些函数引用 carla::client::World::GetTrafficLightsFromWaypoint().
|
inline |
在文件 client/Waypoint.h 第 54 行定义.
引用了 _waypoint , 以及 carla::road::element::Waypoint::s.
被这些函数引用 GetNextUntilLaneEnd() , 以及 GetPreviousUntilLaneStart().
|
inline |
Returns an unique Id identifying this waypoint.
The Id takes into account OpenDrive's road Id, lane Id, and s distance on its road segment up to half-centimetre precision.
在文件 client/Waypoint.h 第 38 行定义.
引用了 _waypoint.
road::JuncId carla::client::Waypoint::GetJunctionId | ( | ) | const |
在文件 client/Waypoint.cpp 第 26 行定义.
引用了 _parent, _waypoint , 以及 carla::road::element::Waypoint::road_id.
被这些函数引用 carla::client::Map::GetJunction().
std::vector< SharedPtr< Landmark > > carla::client::Waypoint::GetLandmarksOfTypeInDistance | ( | double | distance, |
std::string | filter_type, | ||
bool | stop_at_junction = false ) const |
Returns a list of landmarks from the current position to a certain distance Filters by specified type
在文件 client/Waypoint.cpp 第 236 行定义.
引用了 _parent, _waypoint , 以及 Waypoint().
road::element::LaneMarking::LaneChange carla::client::Waypoint::GetLaneChange | ( | ) | const |
在文件 client/Waypoint.cpp 第 176 行定义.
引用了 _mark_record, _waypoint , 以及 carla::road::element::Waypoint::lane_id.
|
inline |
在文件 client/Waypoint.h 第 50 行定义.
double carla::client::Waypoint::GetLaneWidth | ( | ) | const |
在文件 client/Waypoint.cpp 第 41 行定义.
boost::optional< road::element::LaneMarking > carla::client::Waypoint::GetLeftLaneMarking | ( | ) | const |
在文件 client/Waypoint.cpp 第 155 行定义.
引用了 _mark_record.
在文件 client/Waypoint.cpp 第 50 行定义.
引用了 _parent, _waypoint , 以及 Waypoint().
被这些函数引用 GetNextUntilLaneEnd().
std::vector< SharedPtr< Waypoint > > carla::client::Waypoint::GetNextUntilLaneEnd | ( | double | distance | ) | const |
Returns a list of waypoints separated by distance from the current waypoint to the end of the lane
在文件 client/Waypoint.cpp 第 70 行定义.
引用了 _parent, _waypoint, GetDistance(), GetNext(), GetRoadId() , 以及 carla::road::element::Waypoint::lane_id.
在文件 client/Waypoint.cpp 第 60 行定义.
引用了 _parent, _waypoint , 以及 Waypoint().
被这些函数引用 GetPreviousUntilLaneStart().
std::vector< SharedPtr< Waypoint > > carla::client::Waypoint::GetPreviousUntilLaneStart | ( | double | distance | ) | const |
Returns a list of waypoints separated by distance from the current waypoint to the start of the lane
在文件 client/Waypoint.cpp 第 99 行定义.
引用了 _parent, _waypoint, GetDistance(), GetPrevious(), GetRoadId() , 以及 carla::road::element::Waypoint::lane_id.
boost::optional< road::element::LaneMarking > carla::client::Waypoint::GetRightLaneMarking | ( | ) | const |
在文件 client/Waypoint.cpp 第 148 行定义.
引用了 _mark_record.
|
inline |
在文件 client/Waypoint.h 第 42 行定义.
引用了 _waypoint , 以及 carla::road::element::Waypoint::road_id.
被这些函数引用 GetNextUntilLaneEnd() , 以及 GetPreviousUntilLaneStart().
|
inline |
在文件 client/Waypoint.h 第 46 行定义.
引用了 _waypoint , 以及 carla::road::element::Waypoint::section_id.
|
inline |
在文件 client/Waypoint.h 第 58 行定义.
引用了 _transform.
road::Lane::LaneType carla::client::Waypoint::GetType | ( | ) | const |
在文件 client/Waypoint.cpp 第 46 行定义.
bool carla::client::Waypoint::IsJunction | ( | ) | const |
在文件 client/Waypoint.cpp 第 30 行定义.
引用了 _parent, _waypoint , 以及 carla::road::element::Waypoint::road_id.
被这些函数引用 GetJunction().
|
friend |
在文件 client/Waypoint.h 第 105 行定义.
|
private |
在文件 client/Waypoint.h 第 118 行定义.
被这些函数引用 GetLaneChange(), GetLeftLaneMarking() , 以及 GetRightLaneMarking().
|
private |
在文件 client/Waypoint.h 第 113 行定义.
被这些函数引用 GetTransform().
|
private |
在文件 client/Waypoint.h 第 111 行定义.
被这些函数引用 GetAllLandmarksInDistance(), GetDistance(), GetId(), GetJunctionId(), GetLandmarksOfTypeInDistance(), GetLaneChange(), GetLaneId(), GetLaneWidth(), GetLeft(), GetNext(), GetNextUntilLaneEnd(), GetPrevious(), GetPreviousUntilLaneStart(), GetRight(), GetRoadId(), GetSectionId(), GetType() , 以及 IsJunction().