6 #ifndef HPP_GUI_HPPWIDGETSPLUGIN_HH 7 #define HPP_GUI_HPPWIDGETSPLUGIN_HH 9 #include <gepetto/gui/plugin-interface.hh> 10 #include <gepetto/gui/windows-manager.hh> 11 #include <hpp/corbaserver/client.hh> 19 class JointTreeWidget;
20 class ConfigurationListWidget;
23 class ConstraintWidget;
25 inline CORBA::String_var
to_corba(
const QString& s)
26 {
return (
const char*)s.toLocal8Bit().data(); }
30 public gepetto::gui::ModelInterface,
public gepetto::gui::ConnectionInterface
33 Q_INTERFACES (gepetto::gui::PluginInterface
34 gepetto::gui::ModelInterface
35 gepetto::gui::ConnectionInterface)
37 #if (QT_VERSION >= QT_VERSION_CHECK(5,0,0)) 38 Q_PLUGIN_METADATA (IID
"hpp-gui.hppwidgetsplugin")
43 std::string
name, prefix;
45 std::vector<std::string> bodyNames;
47 std::vector<bool> updateViewer;
50 :
name (), bodyNames (), item (NULL), updateViewer (0,
false) {}
51 JointElement (
const std::string& n,
52 const std::string& prefix,
53 const std::vector<std::string>& bns,
56 :
name (n), prefix (prefix), bodyNames (bns), item (i),
57 updateViewer (bns.size(), updateV) {}
58 JointElement (
const std::string& n,
const std::string& prefix,
59 const hpp::Names_t& bns,
JointTreeItem* i,
bool updateV =
true);
61 typedef QMap <std::string, JointElement> JointMap;
62 typedef hpp::corbaServer::Client HppClient;
80 void loadRobotModel (gepetto::gui::DialogLoadRobot::RobotDefinition rd);
166 HppClient*
client ()
const;
202 void prepareApplyConfiguration ();
246 #endif // HPP_GUI_HPPWIDGETSPLUGIN_HH Definition: roadmap.hh:16
Definition: pathplayer.hh:28
namespace that encapsulate all the softwares of humanoid-path-planner
Definition: __init__.py:1
Definition: joint-tree-item.hh:25
CORBA::String_var to_corba(const QString &s)
Definition: hppwidgetsplugin.hh:25