#include <BoundingBox.h>
Public 成员函数 | |
BoundingBox ()=default | |
BoundingBox (const FBoundingBox &Box) | |
从UE4的边界框类型(FBoundingBox)构造一个carla::geom::BoundingBox对象。 | |
BoundingBox (const Location &in_location, const Vector3D &in_extent) | |
BoundingBox (const Location &in_location, const Vector3D &in_extent, const Rotation &in_rotation) | |
BoundingBox (const Vector3D &in_extent) | |
bool | Contains (const Location &in_world_point, const Transform &in_bbox_to_world_transform) const |
检查给定的世界空间中的点是否在边界框内。 | |
std::array< Location, 8 > | GetLocalVertices () const |
返回边界框在本地空间中的8个顶点的位置。 | |
std::array< Location, 8 > | GetLocalVerticesNoRotation () const |
返回边界框在本地空间中的8个顶点的位置,但不考虑旋转。 | |
std::array< Location, 8 > | GetWorldVertices (const Transform &in_bbox_to_world_tr) const |
返回边界框在世界空间中的8个顶点的位置。 | |
MSGPACK_DEFINE_ARRAY (location, extent, rotation) | |
bool | operator!= (const BoundingBox &rhs) const |
比较两个边界框是否不相等。 | |
bool | operator== (const BoundingBox &rhs) const |
比较两个边界框是否相等。 | |
Public 属性 | |
Vector3D | extent |
边界框的半尺寸(本地坐标系下,表示在每个轴方向上的半宽、半高和半深) | |
Location | location |
边界框的中心位置(本地坐标系下) | |
Rotation | rotation |
边界框的旋转(本地坐标系下) | |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 35 行定义.
|
default |
|
inlineexplicit |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 44 行定义.
|
inlineexplicit |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 49 行定义.
|
inlineexplicit |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 54 行定义.
|
inline |
从UE4的边界框类型(FBoundingBox)构造一个carla::geom::BoundingBox对象。
Box | UE4中的边界框对象。 |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 167 行定义.
|
inline |
检查给定的世界空间中的点是否在边界框内。
in_world_point | 要检查的世界空间中的点。 |
in_bbox_to_world_transform | 从边界框空间到世界空间的变换矩阵。 |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 74 行定义.
引用了 extent, carla::geom::Transform::InverseTransformPoint(), location, carla::geom::Vector3D::x, carla::geom::Vector3D::y , 以及 carla::geom::Vector3D::z.
|
inline |
返回边界框在本地空间中的8个顶点的位置。
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 89 行定义.
引用了 location, carla::geom::Rotation::RotateVector() , 以及 rotation.
被这些函数引用 GetWorldVertices() , 以及 TEST().
|
inline |
返回边界框在本地空间中的8个顶点的位置,但不考虑旋转。
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 107 行定义.
引用了 extent, location, carla::geom::Vector3D::x, carla::geom::Vector3D::y , 以及 carla::geom::Vector3D::z.
|
inline |
返回边界框在世界空间中的8个顶点的位置。
in_bbox_to_world_tr | 从边界框空间到世界空间的变换矩阵。 |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 126 行定义.
引用了 GetLocalVertices().
被这些函数引用 TEST().
|
inline |
比较两个边界框是否不相等。
rhs | 另一个要比较的边界框。 |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 153 行定义.
|
inline |
比较两个边界框是否相等。
rhs | 另一个要比较的边界框。 |
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 144 行定义.
Vector3D carla::geom::BoundingBox::extent |
边界框的半尺寸(本地坐标系下,表示在每个轴方向上的半宽、半高和半深)
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 61 行定义.
被这些函数引用 carla::nav::Navigation::AddOrUpdateVehicle(), Contains(), GetLocalVerticesNoRotation(), carla::client::TrafficLight::GetStopWaypoints() , 以及 operator==().
Location carla::geom::BoundingBox::location |
边界框的中心位置(本地坐标系下)
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 60 行定义.
被这些函数引用 Contains(), GetLocalVertices(), GetLocalVerticesNoRotation(), carla::client::TrafficLight::GetStopWaypoints() , 以及 operator==().
Rotation carla::geom::BoundingBox::rotation |
边界框的旋转(本地坐标系下)
在文件 LibCarla/source/carla/geom/BoundingBox.h 第 62 行定义.
被这些函数引用 GetLocalVertices() , 以及 operator==().