6 #ifndef HPP_GUI_CONVERSIONS_HH 7 #define HPP_GUI_CONVERSIONS_HH 9 #include <gepetto/gui/windows-manager.hh> 13 inline void fromHPP(
const hpp::floatSeq_var& in, osgVector3& v)
15 typedef gepetto::viewer::WindowsManager::value_type type;
16 const hpp::floatSeq& t (in.in());
17 v.set((type)t[0], (type)t[1], (type)t[2]);
20 inline void fromHPP(
const hpp::Transform__slice* t, osgVector3& v)
22 typedef gepetto::viewer::WindowsManager::value_type type;
23 v.set((type)t[0], (type)t[1], (type)t[2]);
26 inline void fromHPP(
const hpp::Transform__var& in, osgVector3& v)
31 inline void fromHPP(
const hpp::Transform__slice* t, osgQuat& q)
33 typedef gepetto::viewer::WindowsManager::value_type type;
34 q.set((type)t[3], (type)t[4], (type)t[5], (type)t[6]);
37 inline void fromHPP(
const hpp::Transform__var& in, osgQuat& q)
42 inline void fromHPP(
const hpp::Transform__slice* in, gepetto::viewer::Configuration& c)
48 inline void fromHPP(
const hpp::Transform__var& in, gepetto::viewer::Configuration& c)
53 inline void fromHPP(
const hpp::TransformSeq& in, std::vector<gepetto::viewer::Configuration>& c)
55 c.resize (in.length());
56 for (std::size_t i = 0; i < in.length(); ++i)
57 fromHPP (in[(CORBA::ULong)i], c[i]);
63 #endif // HPP_GUI_CONVERSIONS_HH namespace that encapsulate all the softwares of humanoid-path-planner
Definition: __init__.py:1
void fromHPP(const hpp::floatSeq_var &in, osgVector3 &v)
Definition: conversions.hh:13