CARLA
 
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | Private 属性 | 所有成员列表
carla::client::DebugHelper类 参考

#include <DebugHelper.h>

+ carla::client::DebugHelper 的协作图:

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.h18 行定义.

成员类型定义说明

◆ Color

在文件 DebugHelper.h21 行定义.

构造及析构函数说明

◆ DebugHelper()

carla::client::DebugHelper::DebugHelper ( detail::EpisodeProxy episode)
inlineexplicit

在文件 DebugHelper.h23 行定义.

成员函数说明

◆ DrawArrow()

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 )

在文件 DebugHelper.cpp70 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

◆ DrawBox()

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 )

在文件 DebugHelper.cpp96 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

◆ DrawHUDArrow()

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 )

在文件 DebugHelper.cpp83 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

◆ DrawHUDBox()

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 )

在文件 DebugHelper.cpp107 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

◆ DrawHUDLine()

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 )

在文件 DebugHelper.cpp59 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

◆ DrawHUDPoint()

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 )

在文件 DebugHelper.cpp38 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

◆ DrawLine()

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 )

在文件 DebugHelper.cpp48 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

◆ DrawPoint()

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 )

在文件 DebugHelper.cpp28 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

◆ DrawString()

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 )

在文件 DebugHelper.cpp118 行定义.

引用了 _episode , 以及 carla::client::DrawShape().

+ 函数调用图:

类成员变量说明

◆ _episode

detail::EpisodeProxy carla::client::DebugHelper::_episode
private

该类的文档由以下文件生成: