#include <Rotation.h>
Public Member Functions | |
Vector3D | GetForwardVector () const |
Vector3D | GetRightVector () const |
Vector3D | GetUpVector () const |
void | InverseRotateVector (Vector3D &in_point) const |
MSGPACK_DEFINE_ARRAY (pitch, yaw, roll) | |
bool | operator!= (const Rotation &rhs) const |
bool | operator== (const Rotation &rhs) const |
void | RotateVector (Vector3D &in_point) const |
Vector3D | RotateVector (const Vector3D &in_point) const |
Rotation ()=default | |
Rotation (float p, float y, float r) | |
Public Attributes | |
float | pitch = 0.0f |
float | roll = 0.0f |
float | yaw = 0.0f |
Definition at line 22 of file Rotation.h.
|
default |
|
inline |
Definition at line 43 of file Rotation.h.
|
inline |
Definition at line 52 of file Rotation.h.
References carla::geom::Math::GetForwardVector().
Referenced by carla::geom::Transform::GetForwardVector(), and TEST().
|
inline |
Definition at line 56 of file Rotation.h.
References carla::geom::Math::GetRightVector().
Referenced by carla::geom::Transform::GetRightVector().
|
inline |
Definition at line 60 of file Rotation.h.
References carla::geom::Math::GetUpVector().
Referenced by ACarlaGameModeBase::DebugShowSignals(), and carla::geom::Transform::GetUpVector().
|
inline |
Definition at line 98 of file Rotation.h.
References carla::geom::Math::ToRadians(), carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
Referenced by carla::rss::RssCheck::GetSpeed(), and carla::geom::Transform::InverseTransformPoint().
|
inline |
Definition at line 135 of file Rotation.h.
References pitch, Rotation(), and yaw.
|
inline |
Definition at line 131 of file Rotation.h.
|
inline |
Definition at line 64 of file Rotation.h.
References carla::geom::Math::ToRadians(), carla::geom::Vector3D::x, carla::geom::Vector3D::y, and carla::geom::Vector3D::z.
Referenced by carla::geom::BoundingBox::GetLocalVertices(), RotateVector(), carla::geom::Transform::TransformPoint(), and carla::geom::Transform::TransformVector().
Definition at line 92 of file Rotation.h.
References RotateVector().
float carla::geom::Rotation::pitch = 0.0f |
Definition at line 29 of file Rotation.h.
Referenced by carla::road::Lane::ComputeTransform(), carla::geom::Math::GetForwardVector(), carla::geom::Transform::GetInverseMatrix(), carla::geom::Transform::GetMatrix(), carla::geom::Math::GetRightVector(), carla::geom::Math::GetUpVector(), operator!=(), and operator==().
float carla::geom::Rotation::roll = 0.0f |
Definition at line 33 of file Rotation.h.
Referenced by carla::geom::Transform::GetInverseMatrix(), carla::geom::Transform::GetMatrix(), carla::geom::Math::GetRightVector(), carla::geom::Math::GetUpVector(), and operator==().
float carla::geom::Rotation::yaw = 0.0f |
Definition at line 31 of file Rotation.h.
Referenced by carla::nav::Navigation::AddOrUpdateVehicle(), carla::road::Lane::ComputeTransform(), carla::road::Map::GetAllCrosswalkZones(), carla::geom::Math::GetForwardVector(), carla::geom::Transform::GetInverseMatrix(), carla::geom::Transform::GetMatrix(), carla::geom::Math::GetRightVector(), carla::geom::Math::GetUpVector(), carla::nav::Navigation::GetWalkerTransform(), carla::client::LaneInvasionCallback::MakeBounds(), operator!=(), and operator==().