1 #ifndef AUBO_CAPS_INTERFACE_RENDER_INTERFACE_H 2 #define AUBO_CAPS_INTERFACE_RENDER_INTERFACE_H 10 namespace aubo_scope {
29 ToolPosition = 0x0200,
46 void setRenderEmbeded(
bool is_embeded, QGridLayout *gly);
54 void setShowOptions(uint16_t options);
64 void addPointCloud(
const std::string &name,
65 const std::vector<std::vector<double>> &points,
66 const std::vector<double> &color);
74 void removePointCloud(
const std::string &name);
83 bool hasPointCloud(
const std::string &name);
91 void clearPointCloud();
103 bool addWaypoint(
void *wp,
const std::vector<double> &pose,
104 const std::vector<double> &color = { 0.0, 1.0, 0.0, 1.0 },
105 bool axis_visible =
false);
113 void removeWaypoint(
void *wp);
122 bool hasWaypoint(
void *wp);
130 void clearWaypoints();
139 void setMoveTrack(
void *wp,
const std::vector<std::vector<double>> &track);
140 void setBlendTrack(
void *wp,
const std::vector<std::vector<double>> &track);
141 void setMoveTrack(
void *wp,
const std::vector<std::vector<double>> &track,
142 const std::vector<double> &color);
143 void setBlendTrack(
void *wp,
const std::vector<std::vector<double>> &track,
144 const std::vector<double> &color);
153 void addCoordinate(
const std::string &name,
154 const std::vector<double> &pose);
162 void removeCoordinate(
const std::string &name);
171 bool hasCoordinate(
const std::string &name);
183 void addLine(
const std::string &name,
184 const std::vector<std::vector<double>> &points,
185 const std::vector<double> &color);
186 void addLine(
const std::string &name,
int link_num,
187 const std::vector<double> &pose,
188 const std::vector<std::vector<double>> &points,
189 const std::vector<double> &color);
197 void removeLine(
const std::string &name);
217 void addPlane(
const std::string &name,
const std::vector<double> &pose,
218 const std::vector<double> &size,
219 const std::vector<double> &color);
220 void addPlane(
const std::string &name,
int link_num,
221 const std::vector<double> &pose,
222 const std::vector<double> &size,
223 const std::vector<double> &color);
231 void removePlane(
const std::string &name);
252 void addCube(
const std::string &name,
const std::vector<double> &pose,
253 const std::vector<double> &size,
254 const std::vector<double> &color,
int type = 0);
255 void addCube(
const std::string &name,
int link_num,
256 const std::vector<double> &pose,
257 const std::vector<double> &size,
258 const std::vector<double> &color,
int type = 0);
275 void addCube(
const std::string &name,
const std::vector<double> &pose,
276 float length_min,
float length_max,
float width_min,
277 float width_max,
float height_min,
float height_max,
278 const std::vector<double> &color,
int type = 0);
279 void addCube(
const std::string &name,
int link_num,
280 const std::vector<double> &pose,
float length_min,
281 float length_max,
float width_min,
float width_max,
282 float height_min,
float height_max,
283 const std::vector<double> &color,
int type = 0);
291 void removeCube(
const std::string &name);
310 int addMesh(
const std::string &name,
int link_num,
311 const std::string &model_path,
const std::vector<double> &pose);
318 std::vector<std::string> getMeshes(
int link_num);
319 int removeMesh(
const std::string &name);
320 int clearMeshes(
int link_num);
323 friend class DataSwitch;
331 #endif // AUBO_CAPS_INTERFACE_RENDER_INTERFACE_H ARCS_CLASS_FORWARD(GripForceCapability)