CARLA
Public Member Functions | Private Attributes | List of all members
carla::road::element::RoadInfoCrosswalk Class Referencefinal

#include <RoadInfoCrosswalk.h>

+ Inheritance diagram for carla::road::element::RoadInfoCrosswalk:
+ Collaboration diagram for carla::road::element::RoadInfoCrosswalk:

Public Member Functions

void AcceptVisitor (RoadInfoVisitor &v) final
 
double GetHeading () const
 
double GetLength () const
 
std::string GetOrientation () const
 
double GetPitch () const
 
const std::vector< CrosswalkPoint > & GetPoints () const
 
double GetRoll () const
 
double GetS () const
 
double GetT () const
 
double GetWidth () const
 
double GetZOffset () const
 
 RoadInfoCrosswalk (const double s, const std::string name, const double t, const double zOffset, const double hdg, const double pitch, const double roll, const std::string orientation, const double width, const double length, const std::vector< CrosswalkPoint > points)
 
- Public Member Functions inherited from carla::road::element::RoadInfo
double GetDistance () const
 Distance from road's start location. More...
 
virtual ~RoadInfo ()=default
 

Private Attributes

double _hdg
 
double _length
 
std::string _name
 
std::string _orientation
 
double _pitch
 
std::vector< CrosswalkPoint_points
 
double _roll
 
double _t
 
double _width
 
double _zOffset
 

Additional Inherited Members

- Protected Member Functions inherited from carla::road::element::RoadInfo
 RoadInfo (double distance=0.0)
 

Detailed Description

Definition at line 22 of file RoadInfoCrosswalk.h.

Constructor & Destructor Documentation

◆ RoadInfoCrosswalk()

carla::road::element::RoadInfoCrosswalk::RoadInfoCrosswalk ( const double  s,
const std::string  name,
const double  t,
const double  zOffset,
const double  hdg,
const double  pitch,
const double  roll,
const std::string  orientation,
const double  width,
const double  length,
const std::vector< CrosswalkPoint points 
)
inline

Definition at line 25 of file RoadInfoCrosswalk.h.

Member Function Documentation

◆ AcceptVisitor()

void carla::road::element::RoadInfoCrosswalk::AcceptVisitor ( RoadInfoVisitor v)
inlinefinalvirtual

◆ GetHeading()

double carla::road::element::RoadInfoCrosswalk::GetHeading ( ) const
inline

Definition at line 57 of file RoadInfoCrosswalk.h.

◆ GetLength()

double carla::road::element::RoadInfoCrosswalk::GetLength ( ) const
inline

Definition at line 56 of file RoadInfoCrosswalk.h.

◆ GetOrientation()

std::string carla::road::element::RoadInfoCrosswalk::GetOrientation ( ) const
inline

Definition at line 61 of file RoadInfoCrosswalk.h.

◆ GetPitch()

double carla::road::element::RoadInfoCrosswalk::GetPitch ( ) const
inline

Definition at line 58 of file RoadInfoCrosswalk.h.

◆ GetPoints()

const std::vector<CrosswalkPoint>& carla::road::element::RoadInfoCrosswalk::GetPoints ( ) const
inline

Definition at line 62 of file RoadInfoCrosswalk.h.

◆ GetRoll()

double carla::road::element::RoadInfoCrosswalk::GetRoll ( ) const
inline

Definition at line 59 of file RoadInfoCrosswalk.h.

◆ GetS()

double carla::road::element::RoadInfoCrosswalk::GetS ( ) const
inline

Definition at line 53 of file RoadInfoCrosswalk.h.

◆ GetT()

double carla::road::element::RoadInfoCrosswalk::GetT ( ) const
inline

Definition at line 54 of file RoadInfoCrosswalk.h.

◆ GetWidth()

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

Definition at line 55 of file RoadInfoCrosswalk.h.

◆ GetZOffset()

double carla::road::element::RoadInfoCrosswalk::GetZOffset ( ) const
inline

Definition at line 60 of file RoadInfoCrosswalk.h.

Member Data Documentation

◆ _hdg

double carla::road::element::RoadInfoCrosswalk::_hdg
private

Definition at line 68 of file RoadInfoCrosswalk.h.

◆ _length

double carla::road::element::RoadInfoCrosswalk::_length
private

Definition at line 73 of file RoadInfoCrosswalk.h.

◆ _name

std::string carla::road::element::RoadInfoCrosswalk::_name
private

Definition at line 62 of file RoadInfoCrosswalk.h.

◆ _orientation

std::string carla::road::element::RoadInfoCrosswalk::_orientation
private

Definition at line 71 of file RoadInfoCrosswalk.h.

◆ _pitch

double carla::road::element::RoadInfoCrosswalk::_pitch
private

Definition at line 69 of file RoadInfoCrosswalk.h.

◆ _points

std::vector<CrosswalkPoint> carla::road::element::RoadInfoCrosswalk::_points
private

Definition at line 74 of file RoadInfoCrosswalk.h.

◆ _roll

double carla::road::element::RoadInfoCrosswalk::_roll
private

Definition at line 70 of file RoadInfoCrosswalk.h.

◆ _t

double carla::road::element::RoadInfoCrosswalk::_t
private

Definition at line 66 of file RoadInfoCrosswalk.h.

◆ _width

double carla::road::element::RoadInfoCrosswalk::_width
private

Definition at line 72 of file RoadInfoCrosswalk.h.

◆ _zOffset

double carla::road::element::RoadInfoCrosswalk::_zOffset
private

Definition at line 67 of file RoadInfoCrosswalk.h.


The documentation for this class was generated from the following file: