1#ifndef AUBO_CAPS_INTERFACE_RENDER_INTERFACE_H
2#define AUBO_CAPS_INTERFACE_RENDER_INTERFACE_H
103 const std::vector<std::vector<double>> &points,
104 const std::vector<double> &color);
175 const std::vector<double> &color = { 0.0, 1.0, 0.0, 1.0 },
176 bool axis_visible =
false);
238 void setMoveTrack(
void *wp,
const std::vector<std::vector<double>> &track);
253 void setBlendTrack(
void *wp,
const std::vector<std::vector<double>> &track);
270 void setMoveTrack(
void *wp,
const std::vector<std::vector<double>> &track,
271 const std::vector<double> &color);
289 const std::vector<double> &color);
307 const std::vector<double> &pose);
365 const std::vector<std::vector<double>> &points,
366 const std::vector<double> &color);
387 void addLine(
const std::string &name,
int link_num,
388 const std::vector<double> &pose,
389 const std::vector<std::vector<double>> &points,
390 const std::vector<double> &color);
439 void addPlane(
const std::string &name,
const std::vector<double> &pose,
440 const std::vector<double> &size,
441 const std::vector<double> &color);
462 void addPlane(
const std::string &name,
int link_num,
463 const std::vector<double> &pose,
464 const std::vector<double> &size,
465 const std::vector<double> &color);
516 void addCube(
const std::string &name,
const std::vector<double> &pose,
517 const std::vector<double> &size,
518 const std::vector<double> &color,
int type = 0);
540 void addCube(
const std::string &name,
int link_num,
541 const std::vector<double> &pose,
542 const std::vector<double> &size,
543 const std::vector<double> &color,
int type = 0);
576 void addCube(
const std::string &name,
const std::vector<double> &pose,
577 float length_min,
float length_max,
float width_min,
578 float width_max,
float height_min,
float height_max,
579 const std::vector<double> &color,
int type = 0);
612 void addCube(
const std::string &name,
int link_num,
613 const std::vector<double> &pose,
float length_min,
614 float length_max,
float width_min,
float width_max,
615 float height_min,
float height_max,
616 const std::vector<double> &color,
int type = 0);
654 int addMesh(
const std::string &name,
int link_num,
655 const std::string &model_path,
const std::vector<double> &pose);
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
\chinese 渲染接口 提供 3D 渲染相关的显示选项控制,包括地面、机器人模型、坐标系、轨迹和点等元素的 显示/隐藏。 \endchinese \english RenderInterface P...
int clearMeshes(int link_num)
clearMeshes
void addPlane(const std::string &name, const std::vector< double > &pose, const std::vector< double > &size, const std::vector< double > &color)
\chinese 添加/修改平面
void addCoordinate(const std::string &name, const std::vector< double > &pose)
\chinese 添加/修改坐标轴
void addCube(const std::string &name, const std::vector< double > &pose, const std::vector< double > &size, const std::vector< double > &color, int type=0)
\chinese 添加/修改立方体
void setMoveTrack(void *wp, const std::vector< std::vector< double > > &track, const std::vector< double > &color)
\chinese
bool hasPointCloud(const std::string &name)
\chinese 查找指定名称的点云是否存在
int removeMesh(const std::string &name)
removeMesh
void addCube(const std::string &name, int link_num, const std::vector< double > &pose, const std::vector< double > &size, const std::vector< double > &color, int type=0)
\chinese
void clearLines()
\chinese 移除所有的线 \endchinese \english Remove all lines.
void removePlane(const std::string &name)
\chinese 移除指定平面
RenderInterface(RenderInterface &&f)
bool hasWaypoint(void *wp)
\chinese 查找指定路点是否存在
void setBlendTrack(void *wp, const std::vector< std::vector< double > > &track, const std::vector< double > &color)
\chinese
void removeCoordinate(const std::string &name)
\chinese 移除指定坐标轴
void setMoveTrack(void *wp, const std::vector< std::vector< double > > &track)
\chinese 添加/修改指定路点的交融轨迹
void setRenderEmbeded(bool is_embeded, QGridLayout *gly)
\chinese 设置 Render 窗口嵌入/移除(isEmbeded) 布局 gly 中
RenderInterface(RenderInterface &f)
void removePointCloud(const std::string &name)
\chinese 移除指定名称的点云
void removeCube(const std::string &name)
\chinese 移除指定立方体
void addPointCloud(const std::string &name, const std::vector< std::vector< double > > &points, const std::vector< double > &color)
\chinese 添加/修改点云
void addLine(const std::string &name, const std::vector< std::vector< double > > &points, const std::vector< double > &color)
\chinese 添加/修改线
bool hasCoordinate(const std::string &name)
\chinese 查找指定坐标轴是否存在
void clearWaypoints()
\chinese 移除所有的路点 \endchinese \english Remove all waypoints.
virtual ~RenderInterface()
void clearPointCloud()
\chinese 移除所有的点云 \endchinese \english Remove all point clouds.
void addPlane(const std::string &name, int link_num, const std::vector< double > &pose, const std::vector< double > &size, const std::vector< double > &color)
\chinese
void addCube(const std::string &name, int link_num, const std::vector< double > &pose, float length_min, float length_max, float width_min, float width_max, float height_min, float height_max, const std::vector< double > &color, int type=0)
\chinese
void removeLine(const std::string &name)
\chinese 移除指定线
void setShowOptions(uint16_t options)
\chinese 设置显示模式,控制各种元素的显隐
std::vector< std::string > getMeshes(int link_num)
getMeshes 获取关节 link_num 的外设模型名字
int addMesh(const std::string &name, int link_num, const std::string &model_path, const std::vector< double > &pose)
addMesh 添加任意模型文件
void removeWaypoint(void *wp)
\chinese 移除指定路点
void clearPlanes()
\chinese 移除所有的平面 \endchinese \english Remove all planes.
void clearCubes()
\chinese 移除所有的立方体 \endchinese \english Remove all cubes.
bool addWaypoint(void *wp, const std::vector< double > &pose, const std::vector< double > &color={ 0.0, 1.0, 0.0, 1.0 }, bool axis_visible=false)
\chinese 添加/修改路点
void addCube(const std::string &name, const std::vector< double > &pose, float length_min, float length_max, float width_min, float width_max, float height_min, float height_max, const std::vector< double > &color, int type=0)
\chinese 添加/修改立方体(带尺寸范围)
void addLine(const std::string &name, int link_num, const std::vector< double > &pose, const std::vector< std::vector< double > > &points, const std::vector< double > &color)
\chinese
void setBlendTrack(void *wp, const std::vector< std::vector< double > > &track)
\chinese