DebugDrawerToArViz.h
Go to the documentation of this file.
1/*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package RobotAPI::ArmarXObjects::DebugDrawerToArViz
17 * @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
18 * @date 2020
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22
23#pragma once
24
25#include <map>
26#include <mutex>
27
29#include <RobotAPI/interface/visualization/DebugDrawerToArViz.h>
30
31#include "BlackWhitelist.h"
32
33namespace armarx
34{
35
36 /**
37 * @brief Passes updates from DebugDrawerInterface to ArViz.
38 */
39 class DebugDrawerToArViz : virtual public armarx::DebugDrawerToArvizInterface
40 {
41 public:
42 void setArViz(viz::Client arviz);
43
44
45 // BlackWhitelistTopic interface
46 public:
47 void updateBlackWhitelist(const BlackWhitelistUpdate& update,
48 const Ice::Current& = Ice::emptyCurrent) override;
49
50
51 // DebugDrawerInterface interface
52 public:
53 void exportScene(const std::string& filename,
54 const Ice::Current& = Ice::emptyCurrent) override;
55 void exportLayer(const std::string& filename,
56 const std::string& layerName,
57 const Ice::Current& = Ice::emptyCurrent) override;
58
59 void setPoseVisu(const std::string& layer,
60 const std::string& name,
61 const PoseBasePtr& globalPose,
62 const Ice::Current& = Ice::emptyCurrent) override;
63 void setScaledPoseVisu(const std::string& layer,
64 const std::string& name,
65 const PoseBasePtr& globalPose,
66 Ice::Float scale,
67 const Ice::Current& = Ice::emptyCurrent) override;
68 void setLineVisu(const std::string& layer,
69 const std::string& name,
70 const Vector3BasePtr& globalPosition1,
71 const Vector3BasePtr& globalPosition2,
72 Ice::Float lineWidth,
73 const DrawColor& color,
74 const Ice::Current& = Ice::emptyCurrent) override;
75 void setLineSetVisu(const std::string& layer,
76 const std::string& name,
77 const DebugDrawerLineSet& lineSet,
78 const Ice::Current& = Ice::emptyCurrent) override;
79 void setBoxVisu(const std::string& layer,
80 const std::string& name,
81 const PoseBasePtr& globalPose,
82 const Vector3BasePtr& dimensions,
83 const DrawColor& color,
84 const Ice::Current& = Ice::emptyCurrent) override;
85 void setTextVisu(const std::string& layer,
86 const std::string& name,
87 const std::string& text,
88 const Vector3BasePtr& globalPosition,
89 const DrawColor& color,
90 Ice::Int size,
91 const Ice::Current& = Ice::emptyCurrent) override;
92 void setSphereVisu(const std::string& layer,
93 const std::string& name,
94 const Vector3BasePtr& globalPosition,
95 const DrawColor& color,
96 Ice::Float radius,
97 const Ice::Current& = Ice::emptyCurrent) override;
98 void setPointCloudVisu(const std::string& layer,
99 const std::string& name,
100 const DebugDrawerPointCloud& pointCloud,
101 const Ice::Current& = Ice::emptyCurrent) override;
102 void setColoredPointCloudVisu(const std::string& layer,
103 const std::string& name,
104 const DebugDrawerColoredPointCloud& pointCloud,
105 const Ice::Current& = Ice::emptyCurrent) override;
106 void set24BitColoredPointCloudVisu(const std::string& layer,
107 const std::string& name,
108 const DebugDrawer24BitColoredPointCloud& pointCloud,
109 const Ice::Current& = Ice::emptyCurrent) override;
110 void setPolygonVisu(const std::string& layer,
111 const std::string& name,
112 const PolygonPointList& polygonPoints,
113 const DrawColor& colorInner,
114 const DrawColor& colorBorder,
115 Ice::Float lineWidth,
116 const Ice::Current& = Ice::emptyCurrent) override;
117 void setTriMeshVisu(const std::string& layer,
118 const std::string& name,
119 const DebugDrawerTriMesh& triMesh,
120 const Ice::Current& = Ice::emptyCurrent) override;
121 void setArrowVisu(const std::string& layer,
122 const std::string& name,
123 const Vector3BasePtr& position,
124 const Vector3BasePtr& direction,
125 const DrawColor& color,
126 Ice::Float length,
127 Ice::Float width,
128 const Ice::Current& = Ice::emptyCurrent) override;
129 void setCylinderVisu(const std::string& layer,
130 const std::string& name,
131 const Vector3BasePtr& globalPosition,
132 const Vector3BasePtr& direction,
133 Ice::Float length,
134 Ice::Float radius,
135 const DrawColor& color,
136 const Ice::Current& = Ice::emptyCurrent) override;
137 void setCircleArrowVisu(const std::string& layer,
138 const std::string& name,
139 const Vector3BasePtr& globalPosition,
140 const Vector3BasePtr& directionVec,
141 Ice::Float radius,
142 Ice::Float circleCompletion,
143 Ice::Float width,
144 const DrawColor& color,
145 const Ice::Current& = Ice::emptyCurrent) override;
146
147 void setRobotVisu(const std::string& layer,
148 const std::string& name,
149 const std::string& robotFile,
150 const std::string& armarxProject,
151 DrawStyle drawStyleType,
152 const Ice::Current& = Ice::emptyCurrent) override;
153 void updateRobotPose(const std::string& layer,
154 const std::string& name,
155 const PoseBasePtr& globalPose,
156 const Ice::Current& = Ice::emptyCurrent) override;
157 void updateRobotConfig(const std::string& layer,
158 const std::string& name,
159 const NameValueMap& configuration,
160 const Ice::Current& = Ice::emptyCurrent) override;
161 void updateRobotColor(const std::string& layer,
162 const std::string& name,
163 const DrawColor& color,
164 const Ice::Current& = Ice::emptyCurrent) override;
165 void updateRobotNodeColor(const std::string& layer,
166 const std::string& name,
167 const std::string& robotNodeName,
168 const DrawColor& color,
169 const Ice::Current& = Ice::emptyCurrent) override;
170 void removeRobotVisu(const std::string& layer,
171 const std::string& name,
172 const Ice::Current& = Ice::emptyCurrent) override;
173
174 void setPoseDebugLayerVisu(const std::string& name,
175 const PoseBasePtr& globalPose,
176 const Ice::Current& = Ice::emptyCurrent) override;
177 void setScaledPoseDebugLayerVisu(const std::string& name,
178 const PoseBasePtr& globalPose,
179 Ice::Float scale,
180 const Ice::Current& = Ice::emptyCurrent) override;
181 void setLineDebugLayerVisu(const std::string& name,
182 const Vector3BasePtr& globalPosition1,
183 const Vector3BasePtr& globalPosition2,
184 Ice::Float lineWidth,
185 const DrawColor& color,
186 const Ice::Current& = Ice::emptyCurrent) override;
187 void setLineSetDebugLayerVisu(const std::string& name,
188 const DebugDrawerLineSet& lineSet,
189 const Ice::Current& = Ice::emptyCurrent) override;
190 void setBoxDebugLayerVisu(const std::string& name,
191 const PoseBasePtr& globalPose,
192 const Vector3BasePtr& dimensions,
193 const DrawColor& color,
194 const Ice::Current& = Ice::emptyCurrent) override;
195 void setTextDebugLayerVisu(const std::string& name,
196 const std::string& text,
197 const Vector3BasePtr& globalPosition,
198 const DrawColor& color,
199 Ice::Int size,
200 const Ice::Current& = Ice::emptyCurrent) override;
201 void setSphereDebugLayerVisu(const std::string& name,
202 const Vector3BasePtr& globalPosition,
203 const DrawColor& color,
204 Ice::Float radius,
205 const Ice::Current& = Ice::emptyCurrent) override;
206 void setPointCloudDebugLayerVisu(const std::string& name,
207 const DebugDrawerPointCloud& pointCloud,
208 const Ice::Current& = Ice::emptyCurrent) override;
209 void
210 set24BitColoredPointCloudDebugLayerVisu(const std::string& name,
211 const DebugDrawer24BitColoredPointCloud& pointCloud,
212 const Ice::Current& = Ice::emptyCurrent) override;
213 void setPolygonDebugLayerVisu(const std::string& name,
214 const PolygonPointList& polygonPoints,
215 const DrawColor& colorInner,
216 const DrawColor& colorBorder,
217 Ice::Float lineWidth,
218 const Ice::Current& = Ice::emptyCurrent) override;
219 void setTriMeshDebugLayerVisu(const std::string& name,
220 const DebugDrawerTriMesh& triMesh,
221 const Ice::Current& = Ice::emptyCurrent) override;
222 void setArrowDebugLayerVisu(const std::string& name,
223 const Vector3BasePtr& position,
224 const Vector3BasePtr& direction,
225 const DrawColor& color,
226 Ice::Float length,
227 Ice::Float width,
228 const Ice::Current& = Ice::emptyCurrent) override;
229 void setCylinderDebugLayerVisu(const std::string& name,
230 const Vector3BasePtr& globalPosition,
231 const Vector3BasePtr& direction,
232 Ice::Float length,
233 Ice::Float radius,
234 const DrawColor& color,
235 const Ice::Current& = Ice::emptyCurrent) override;
236 void setCircleDebugLayerVisu(const std::string& name,
237 const Vector3BasePtr& globalPosition,
238 const Vector3BasePtr& directionVec,
239 Ice::Float radius,
240 Ice::Float circleCompletion,
241 Ice::Float width,
242 const DrawColor& color,
243 const Ice::Current& = Ice::emptyCurrent) override;
244
245 void removePoseVisu(const std::string& layer,
246 const std::string& name,
247 const Ice::Current& = Ice::emptyCurrent) override;
248 void removeLineVisu(const std::string& layer,
249 const std::string& name,
250 const Ice::Current& = Ice::emptyCurrent) override;
251 void removeLineSetVisu(const std::string& layer,
252 const std::string& name,
253 const Ice::Current& = Ice::emptyCurrent) override;
254 void removeBoxVisu(const std::string& layer,
255 const std::string& name,
256 const Ice::Current& = Ice::emptyCurrent) override;
257 void removeTextVisu(const std::string& layer,
258 const std::string& name,
259 const Ice::Current& = Ice::emptyCurrent) override;
260 void removeSphereVisu(const std::string& layer,
261 const std::string& name,
262 const Ice::Current& = Ice::emptyCurrent) override;
263 void removePointCloudVisu(const std::string& layer,
264 const std::string& name,
265 const Ice::Current& = Ice::emptyCurrent) override;
266 void removeColoredPointCloudVisu(const std::string& layer,
267 const std::string& name,
268 const Ice::Current& = Ice::emptyCurrent) override;
269 void remove24BitColoredPointCloudVisu(const std::string& layer,
270 const std::string& name,
271 const Ice::Current& = Ice::emptyCurrent) override;
272 void removePolygonVisu(const std::string& layer,
273 const std::string& name,
274 const Ice::Current& = Ice::emptyCurrent) override;
275 void removeTriMeshVisu(const std::string& layer,
276 const std::string& name,
277 const Ice::Current& = Ice::emptyCurrent) override;
278 void removeArrowVisu(const std::string& layer,
279 const std::string& name,
280 const Ice::Current& = Ice::emptyCurrent) override;
281 void removeCylinderVisu(const std::string& layer,
282 const std::string& name,
283 const Ice::Current& = Ice::emptyCurrent) override;
284 void removeCircleVisu(const std::string& layer,
285 const std::string& name,
286 const Ice::Current& = Ice::emptyCurrent) override;
287
288 void removePoseDebugLayerVisu(const std::string& name,
289 const Ice::Current& = Ice::emptyCurrent) override;
290 void removeLineDebugLayerVisu(const std::string& name,
291 const Ice::Current& = Ice::emptyCurrent) override;
292 void removeLineSetDebugLayerVisu(const std::string& name,
293 const Ice::Current& = Ice::emptyCurrent) override;
294 void removeBoxDebugLayerVisu(const std::string& name,
295 const Ice::Current& = Ice::emptyCurrent) override;
296 void removeTextDebugLayerVisu(const std::string& name,
297 const Ice::Current& = Ice::emptyCurrent) override;
298 void removeSphereDebugLayerVisu(const std::string& name,
299 const Ice::Current& = Ice::emptyCurrent) override;
300 void removePointCloudDebugLayerVisu(const std::string& name,
301 const Ice::Current& = Ice::emptyCurrent) override;
302 void
303 removeColoredPointCloudDebugLayerVisu(const std::string& name,
304 const Ice::Current& = Ice::emptyCurrent) override;
306 const std::string& name,
307 const Ice::Current& = Ice::emptyCurrent) override;
308 void removePolygonDebugLayerVisu(const std::string& name,
309 const Ice::Current& = Ice::emptyCurrent) override;
310 void removeTriMeshDebugLayerVisu(const std::string& name,
311 const Ice::Current& = Ice::emptyCurrent) override;
312 void removeArrowDebugLayerVisu(const std::string& name,
313 const Ice::Current& = Ice::emptyCurrent) override;
314 void removeCylinderDebugLayerVisu(const std::string& name,
315 const Ice::Current& = Ice::emptyCurrent) override;
316 void removeCircleDebugLayerVisu(const std::string& name,
317 const Ice::Current& = Ice::emptyCurrent) override;
318
319 void clearAll(const Ice::Current& = Ice::emptyCurrent) override;
320 void clearLayer(const std::string& layer, const Ice::Current& = Ice::emptyCurrent) override;
321 void clearDebugLayer(const Ice::Current& = Ice::emptyCurrent) override;
322
323 void enableLayerVisu(const std::string& layer,
324 bool visible,
325 const Ice::Current& = Ice::emptyCurrent) override;
326 void enableDebugLayerVisu(bool visible, const Ice::Current& = Ice::emptyCurrent) override;
327
328 Ice::StringSeq layerNames(const Ice::Current& = Ice::emptyCurrent) override;
329 LayerInformationSequence layerInformation(const Ice::Current& = Ice::emptyCurrent) override;
330
331 bool hasLayer(const std::string&, const Ice::Current& = Ice::emptyCurrent) override;
332 void removeLayer(const std::string&, const Ice::Current& = Ice::emptyCurrent) override;
333
334 void disableAllLayers(const Ice::Current& = Ice::emptyCurrent) override;
335 void enableAllLayers(const Ice::Current& = Ice::emptyCurrent) override;
336
337 void enableSelections(const std::string&, const Ice::Current& = Ice::emptyCurrent) override;
338 void disableSelections(const std::string&,
339 const Ice::Current& = Ice::emptyCurrent) override;
340 void clearSelections(const std::string&, const Ice::Current& = Ice::emptyCurrent) override;
341
342 void select(const std::string& layer,
343 const std::string& elementName,
344 const Ice::Current& = Ice::emptyCurrent) override;
345 void deselect(const std::string& layer,
346 const std::string& elementName,
347 const Ice::Current& = Ice::emptyCurrent) override;
348
349 DebugDrawerSelectionList getSelections(const Ice::Current& = Ice::emptyCurrent) override;
350
351
352 private:
353 viz::Layer& getLayer(const std::string& layerName);
354 viz::data::ElementSeq::iterator findLayerElement(viz::Layer& layer,
355 const std::string& elementName);
356
357 template <class Element>
358 void
359 setLayerElement(viz::Layer& layer, Element element)
360 {
361 bool found = false;
362 for (size_t i = 0; i < layer.data_.elements.size(); ++i)
363 {
364 if (layer.data_.elements[i]->id == element.data_->id)
365 {
366 // Replace existing element with given element.
367 layer.data_.elements[i] = element.data_;
368 found = true;
369 break;
370 }
371 }
372 if (!found)
373 {
374 // Add given element.
375 layer.add(element);
376 }
377 }
378
379 template <class Element>
380 void
381 setLayerElement(const std::string& layerName, Element element)
382 {
383 setLayerElement(getLayer(layerName), element);
384 }
385
386 template <class Element>
387 void
388 setAndCommit(const std::string& layerName, Element element)
389 {
390 viz::Layer& layer = getLayer(layerName);
391 setLayerElement(layer, element);
392 arviz.commit({layer});
393 }
394
395 void removeLayerElement(viz::Layer& layer, const std::string& name);
396 void removeAndCommit(const std::string& layerName, const std::string& name);
397
398
399 public:
401
402
403 private:
404 const std::string DEBUG_LAYER_NAME = "debug";
405
406 std::mutex mutex;
407
408 viz::Client arviz;
409
410 std::map<std::string, viz::Layer> layers;
411
412 std::map<std::pair<std::string, std::string>, viz::Robot> robots;
413 };
414} // namespace armarx
Passes updates from DebugDrawerInterface to ArViz.
void removeRobotVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removeLayer(const std::string &, const Ice::Current &=Ice::emptyCurrent) override
void setCircleArrowVisu(const std::string &layer, const std::string &name, const Vector3BasePtr &globalPosition, const Vector3BasePtr &directionVec, Ice::Float radius, Ice::Float circleCompletion, Ice::Float width, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
void setSphereVisu(const std::string &layer, const std::string &name, const Vector3BasePtr &globalPosition, const DrawColor &color, Ice::Float radius, const Ice::Current &=Ice::emptyCurrent) override
void setCircleDebugLayerVisu(const std::string &name, const Vector3BasePtr &globalPosition, const Vector3BasePtr &directionVec, Ice::Float radius, Ice::Float circleCompletion, Ice::Float width, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
void removeColoredPointCloudDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void enableLayerVisu(const std::string &layer, bool visible, const Ice::Current &=Ice::emptyCurrent) override
void clearDebugLayer(const Ice::Current &=Ice::emptyCurrent) override
void removeCircleDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removeCircleVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removeSphereDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removePointCloudDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removeArrowDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setArViz(viz::Client arviz)
void setTriMeshDebugLayerVisu(const std::string &name, const DebugDrawerTriMesh &triMesh, const Ice::Current &=Ice::emptyCurrent) override
void setBoxVisu(const std::string &layer, const std::string &name, const PoseBasePtr &globalPose, const Vector3BasePtr &dimensions, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
void removePolygonDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setPointCloudDebugLayerVisu(const std::string &name, const DebugDrawerPointCloud &pointCloud, const Ice::Current &=Ice::emptyCurrent) override
void remove24BitColoredPointCloudDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setCylinderVisu(const std::string &layer, const std::string &name, const Vector3BasePtr &globalPosition, const Vector3BasePtr &direction, Ice::Float length, Ice::Float radius, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
LayerInformationSequence layerInformation(const Ice::Current &=Ice::emptyCurrent) override
void set24BitColoredPointCloudDebugLayerVisu(const std::string &name, const DebugDrawer24BitColoredPointCloud &pointCloud, const Ice::Current &=Ice::emptyCurrent) override
void set24BitColoredPointCloudVisu(const std::string &layer, const std::string &name, const DebugDrawer24BitColoredPointCloud &pointCloud, const Ice::Current &=Ice::emptyCurrent) override
void removeSphereVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setColoredPointCloudVisu(const std::string &layer, const std::string &name, const DebugDrawerColoredPointCloud &pointCloud, const Ice::Current &=Ice::emptyCurrent) override
void setLineDebugLayerVisu(const std::string &name, const Vector3BasePtr &globalPosition1, const Vector3BasePtr &globalPosition2, Ice::Float lineWidth, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
void removeTextVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void updateRobotConfig(const std::string &layer, const std::string &name, const NameValueMap &configuration, const Ice::Current &=Ice::emptyCurrent) override
void enableAllLayers(const Ice::Current &=Ice::emptyCurrent) override
void removeCylinderDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setScaledPoseVisu(const std::string &layer, const std::string &name, const PoseBasePtr &globalPose, Ice::Float scale, const Ice::Current &=Ice::emptyCurrent) override
void setLineVisu(const std::string &layer, const std::string &name, const Vector3BasePtr &globalPosition1, const Vector3BasePtr &globalPosition2, Ice::Float lineWidth, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
void removeTriMeshVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setArrowVisu(const std::string &layer, const std::string &name, const Vector3BasePtr &position, const Vector3BasePtr &direction, const DrawColor &color, Ice::Float length, Ice::Float width, const Ice::Current &=Ice::emptyCurrent) override
void removeLineDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removeLineSetVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void enableDebugLayerVisu(bool visible, const Ice::Current &=Ice::emptyCurrent) override
void updateRobotNodeColor(const std::string &layer, const std::string &name, const std::string &robotNodeName, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
void removePoseDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void clearSelections(const std::string &, const Ice::Current &=Ice::emptyCurrent) override
void setLineSetDebugLayerVisu(const std::string &name, const DebugDrawerLineSet &lineSet, const Ice::Current &=Ice::emptyCurrent) override
void exportScene(const std::string &filename, const Ice::Current &=Ice::emptyCurrent) override
void removePointCloudVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removeLineVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void disableAllLayers(const Ice::Current &=Ice::emptyCurrent) override
void setTextVisu(const std::string &layer, const std::string &name, const std::string &text, const Vector3BasePtr &globalPosition, const DrawColor &color, Ice::Int size, const Ice::Current &=Ice::emptyCurrent) override
void removeTextDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setPolygonVisu(const std::string &layer, const std::string &name, const PolygonPointList &polygonPoints, const DrawColor &colorInner, const DrawColor &colorBorder, Ice::Float lineWidth, const Ice::Current &=Ice::emptyCurrent) override
void removePolygonVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
bool hasLayer(const std::string &, const Ice::Current &=Ice::emptyCurrent) override
void setBoxDebugLayerVisu(const std::string &name, const PoseBasePtr &globalPose, const Vector3BasePtr &dimensions, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
armarx::StringBlackWhitelist layerBlackWhitelist
DebugDrawerSelectionList getSelections(const Ice::Current &=Ice::emptyCurrent) override
void setCylinderDebugLayerVisu(const std::string &name, const Vector3BasePtr &globalPosition, const Vector3BasePtr &direction, Ice::Float length, Ice::Float radius, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
void setSphereDebugLayerVisu(const std::string &name, const Vector3BasePtr &globalPosition, const DrawColor &color, Ice::Float radius, const Ice::Current &=Ice::emptyCurrent) override
void setPoseDebugLayerVisu(const std::string &name, const PoseBasePtr &globalPose, const Ice::Current &=Ice::emptyCurrent) override
void updateRobotPose(const std::string &layer, const std::string &name, const PoseBasePtr &globalPose, const Ice::Current &=Ice::emptyCurrent) override
void select(const std::string &layer, const std::string &elementName, const Ice::Current &=Ice::emptyCurrent) override
void setTriMeshVisu(const std::string &layer, const std::string &name, const DebugDrawerTriMesh &triMesh, const Ice::Current &=Ice::emptyCurrent) override
void removeColoredPointCloudVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
Ice::StringSeq layerNames(const Ice::Current &=Ice::emptyCurrent) override
void removeCylinderVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setScaledPoseDebugLayerVisu(const std::string &name, const PoseBasePtr &globalPose, Ice::Float scale, const Ice::Current &=Ice::emptyCurrent) override
void updateRobotColor(const std::string &layer, const std::string &name, const DrawColor &color, const Ice::Current &=Ice::emptyCurrent) override
void setPoseVisu(const std::string &layer, const std::string &name, const PoseBasePtr &globalPose, const Ice::Current &=Ice::emptyCurrent) override
void enableSelections(const std::string &, const Ice::Current &=Ice::emptyCurrent) override
void removePoseVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removeLineSetDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void removeBoxVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void clearAll(const Ice::Current &=Ice::emptyCurrent) override
void setRobotVisu(const std::string &layer, const std::string &name, const std::string &robotFile, const std::string &armarxProject, DrawStyle drawStyleType, const Ice::Current &=Ice::emptyCurrent) override
void exportLayer(const std::string &filename, const std::string &layerName, const Ice::Current &=Ice::emptyCurrent) override
void setPolygonDebugLayerVisu(const std::string &name, const PolygonPointList &polygonPoints, const DrawColor &colorInner, const DrawColor &colorBorder, Ice::Float lineWidth, const Ice::Current &=Ice::emptyCurrent) override
void clearLayer(const std::string &layer, const Ice::Current &=Ice::emptyCurrent) override
void removeTriMeshDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setPointCloudVisu(const std::string &layer, const std::string &name, const DebugDrawerPointCloud &pointCloud, const Ice::Current &=Ice::emptyCurrent) override
void updateBlackWhitelist(const BlackWhitelistUpdate &update, const Ice::Current &=Ice::emptyCurrent) override
void removeBoxDebugLayerVisu(const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void disableSelections(const std::string &, const Ice::Current &=Ice::emptyCurrent) override
void remove24BitColoredPointCloudVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void deselect(const std::string &layer, const std::string &elementName, const Ice::Current &=Ice::emptyCurrent) override
void setArrowDebugLayerVisu(const std::string &name, const Vector3BasePtr &position, const Vector3BasePtr &direction, const DrawColor &color, Ice::Float length, Ice::Float width, const Ice::Current &=Ice::emptyCurrent) override
void setTextDebugLayerVisu(const std::string &name, const std::string &text, const Vector3BasePtr &globalPosition, const DrawColor &color, Ice::Int size, const Ice::Current &=Ice::emptyCurrent) override
void removeArrowVisu(const std::string &layer, const std::string &name, const Ice::Current &=Ice::emptyCurrent) override
void setLineSetVisu(const std::string &layer, const std::string &name, const DebugDrawerLineSet &lineSet, const Ice::Current &=Ice::emptyCurrent) override
This file offers overloads of toIce() and fromIce() functions for STL container types.
BlackWhitelist< std::string > StringBlackWhitelist