Skip to content
Snippets Groups Projects
Commit 8c1d0f5d authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Change TriangleList in JointAndTriangles_t

parent adc6da88
No related branches found
No related tags found
No related merge requests found
...@@ -33,10 +33,10 @@ namespace hpp { ...@@ -33,10 +33,10 @@ namespace hpp {
/// As a deriving class of hpp::model::HumanoidRobot, /// As a deriving class of hpp::model::HumanoidRobot,
/// it is compatible with hpp::model::urdf::loadHumanoidRobot /// it is compatible with hpp::model::urdf::loadHumanoidRobot
/// ///
/// This class also contains model::Gripper, Handle and \ref TriangleList /// This class also contains model::Gripper, Handle and \ref JointAndTriangles_t
class HPP_MANIPULATION_DLLAPI Device : public model::HumanoidRobot, class HPP_MANIPULATION_DLLAPI Device : public model::HumanoidRobot,
public Container <HandlePtr_t>, public Container <model::GripperPtr_t>, public Container <HandlePtr_t>, public Container <model::GripperPtr_t>,
public Container <TriangleList> public Container <JointAndTriangles_t>
{ {
public: public:
typedef model::HumanoidRobot Parent_t; typedef model::HumanoidRobot Parent_t;
...@@ -56,7 +56,7 @@ namespace hpp { ...@@ -56,7 +56,7 @@ namespace hpp {
/// \name Accessors to container elements /// \name Accessors to container elements
/// Contained elements are of type model::Gripper, Handle and /// Contained elements are of type model::Gripper, Handle and
/// \ref TriangleList /// \ref JointAndTriangles_t
/// \{ /// \{
/// Get an element of a container /// Get an element of a container
......
...@@ -100,7 +100,8 @@ namespace hpp { ...@@ -100,7 +100,8 @@ namespace hpp {
typedef std::map <DifferentiableFunctionPtr_t, GraspPtr_t> GraspsMap_t; typedef std::map <DifferentiableFunctionPtr_t, GraspPtr_t> GraspsMap_t;
typedef fcl::TriangleP Triangle; typedef fcl::TriangleP Triangle;
typedef std::list <Triangle> TriangleList; typedef std::pair <JointPtr_t, Triangle> JointAndTriangle_t;
typedef std::list <JointAndTriangle_t> JointAndTriangles_t;
} // namespace manipulation } // namespace manipulation
} // namespace hpp } // namespace hpp
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
namespace hpp { namespace hpp {
namespace manipulation { namespace manipulation {
class HPP_MANIPULATION_DLLAPI ProblemSolver : public core::ProblemSolver, class HPP_MANIPULATION_DLLAPI ProblemSolver : public core::ProblemSolver,
public Container <LockedJointPtr_t>, public Container <TriangleList> public Container <LockedJointPtr_t>, public Container <JointAndTriangles_t>
{ {
public: public:
typedef core::ProblemSolver parent_t; typedef core::ProblemSolver parent_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment