Skip to content
Snippets Groups Projects
Commit 45520991 authored by jcarpent's avatar jcarpent
Browse files

[C++] Add GeomIndexList typedef

parent 09e07431
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,8 @@ namespace se3
typedef Model::Index Index;
typedef Model::JointIndex JointIndex;
typedef Model::GeomIndex GeomIndex;
typedef std::list<GeomIndex> GeomIndexList;
Index ngeom;
std::vector<fcl::CollisionObject> collision_objects;
......@@ -170,8 +172,8 @@ namespace se3
std::vector<JointIndex> geom_parents; // Joint parent of body <i>, denoted <li> (li==parents[i])
std::vector<SE3> geometryPlacement; // Position of geometry object in parent joint's frame
std::map < JointIndex, std::list<GeomIndex> > innerObjects; // Associate a list of CollisionObjects to a given joint Id
std::map < JointIndex, std::list<GeomIndex> > outerObjects; // Associate a list of CollisionObjects to a given joint Id
std::map < JointIndex, GeomIndexList > innerObjects; // Associate a list of CollisionObjects to a given joint Id
std::map < JointIndex, GeomIndexList > outerObjects; // Associate a list of CollisionObjects to a given joint Id
GeometryModel()
: ngeom(0)
......
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