#include <DebugHelper.h>
Public 类型 | |
using | Color = sensor::data::Color |
Public 成员函数 | |
DebugHelper (detail::EpisodeProxy episode) | |
void | DrawArrow (const geom::Location &begin, const geom::Location &end, float thickness=0.1f, float arrow_size=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true) |
void | DrawBox (const geom::BoundingBox &box, const geom::Rotation &rotation, float thickness=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true) |
void | DrawHUDArrow (const geom::Location &begin, const geom::Location &end, float thickness=0.1f, float arrow_size=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true) |
void | DrawHUDBox (const geom::BoundingBox &box, const geom::Rotation &rotation, float thickness=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true) |
void | DrawHUDLine (const geom::Location &begin, const geom::Location &end, float thickness=1.0f, Color color=Color{225u, 0u, 0u}, float life_time=-1.0f, bool presistent_lines=true) |
void | DrawHUDPoint (const geom::Location &location, float size=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true) |
void | DrawLine (const geom::Location &begin, const geom::Location &end, float thickness=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true) |
void | DrawPoint (const geom::Location &location, float size=0.1f, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true) |
void | DrawString (const geom::Location &location, const std::string &text, bool draw_shadow=false, Color color=Color{255u, 0u, 0u}, float life_time=-1.0f, bool persistent_lines=true) |
Private 属性 | |
detail::EpisodeProxy | _episode |
在文件 DebugHelper.h 第 18 行定义.
在文件 DebugHelper.h 第 21 行定义.
|
inlineexplicit |
在文件 DebugHelper.h 第 23 行定义.
void carla::client::DebugHelper::DrawArrow | ( | const geom::Location & | begin, |
const geom::Location & | end, | ||
float | thickness = 0.1f, | ||
float | arrow_size = 0.1f, | ||
Color | color = Color{255u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | persistent_lines = true ) |
void carla::client::DebugHelper::DrawBox | ( | const geom::BoundingBox & | box, |
const geom::Rotation & | rotation, | ||
float | thickness = 0.1f, | ||
Color | color = Color{255u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | persistent_lines = true ) |
void carla::client::DebugHelper::DrawHUDArrow | ( | const geom::Location & | begin, |
const geom::Location & | end, | ||
float | thickness = 0.1f, | ||
float | arrow_size = 0.1f, | ||
Color | color = Color{255u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | persistent_lines = true ) |
void carla::client::DebugHelper::DrawHUDBox | ( | const geom::BoundingBox & | box, |
const geom::Rotation & | rotation, | ||
float | thickness = 0.1f, | ||
Color | color = Color{255u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | persistent_lines = true ) |
void carla::client::DebugHelper::DrawHUDLine | ( | const geom::Location & | begin, |
const geom::Location & | end, | ||
float | thickness = 1.0f, | ||
Color | color = Color{225u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | presistent_lines = true ) |
void carla::client::DebugHelper::DrawHUDPoint | ( | const geom::Location & | location, |
float | size = 0.1f, | ||
Color | color = Color{255u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | persistent_lines = true ) |
void carla::client::DebugHelper::DrawLine | ( | const geom::Location & | begin, |
const geom::Location & | end, | ||
float | thickness = 0.1f, | ||
Color | color = Color{255u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | persistent_lines = true ) |
void carla::client::DebugHelper::DrawPoint | ( | const geom::Location & | location, |
float | size = 0.1f, | ||
Color | color = Color{255u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | persistent_lines = true ) |
void carla::client::DebugHelper::DrawString | ( | const geom::Location & | location, |
const std::string & | text, | ||
bool | draw_shadow = false, | ||
Color | color = Color{255u, 0u, 0u}, | ||
float | life_time = -1.0f, | ||
bool | persistent_lines = true ) |
|
private |
在文件 DebugHelper.h 第 100 行定义.
被这些函数引用 DrawArrow(), DrawBox(), DrawHUDArrow(), DrawHUDBox(), DrawHUDLine(), DrawHUDPoint(), DrawLine(), DrawPoint() , 以及 DrawString().