Line |
Branch |
Exec |
Source |
1 |
|
|
// |
2 |
|
|
// Copyright (c) CNRS |
3 |
|
|
// Authors: Joseph Mirabel and Heidy Dallard |
4 |
|
|
// |
5 |
|
|
|
6 |
|
|
#ifndef HPP_GUI_MANIPULATION_ROADMAP_HH |
7 |
|
|
#define HPP_GUI_MANIPULATION_ROADMAP_HH |
8 |
|
|
|
9 |
|
|
#include <gepetto/gui/color-map.hh> |
10 |
|
|
#include <hppmanipulationwidgetsplugin/hppmanipulationwidgetsplugin.hh> |
11 |
|
|
#include <hppwidgetsplugin/roadmap.hh> |
12 |
|
|
|
13 |
|
|
namespace hpp { |
14 |
|
|
namespace gui { |
15 |
|
|
class ManipulationRoadmap : public Roadmap { |
16 |
|
|
public: |
17 |
|
|
typedef Roadmap::NodeID NodeID; |
18 |
|
|
typedef Roadmap::Color Color; |
19 |
|
|
|
20 |
|
|
ManipulationRoadmap(HppManipulationWidgetsPlugin* plugin_); |
21 |
|
|
|
22 |
|
✗ |
virtual ~ManipulationRoadmap() {} |
23 |
|
|
|
24 |
|
|
virtual void initRoadmapFromJoint(const std::string& jointName); |
25 |
|
|
|
26 |
|
|
virtual void initRoadmapFromBody(const std::string& bodyName); |
27 |
|
|
|
28 |
|
|
virtual void nodeColor(NodeID nodeId, Color& color); |
29 |
|
|
|
30 |
|
|
private: |
31 |
|
|
HppManipulationWidgetsPlugin* plugin_; |
32 |
|
|
}; |
33 |
|
|
} // namespace gui |
34 |
|
|
} // namespace hpp |
35 |
|
|
|
36 |
|
|
#endif // HPP_GUI_MANIPULATION_ROADMAP_HH |
37 |
|
|
|