Collision Checker
fcl_entity_factory.cc
Go to the documentation of this file.
7 
8 namespace collision {
9 namespace solvers {
10 namespace solverFCL {
12  ISolverEntity_FCL *entity) {
13  switch (entity->getFclEntityType()) {
15  return new FCLCollisionObjectGroup(
16  (static_cast<CollisionObjectEx *>(obj))->getContainerInterface(), obj,
17  static_cast<IFCLCollisionObjectGroup *>(entity));
18  break;
20  return new FCLCollisionObject(obj,
21  static_cast<IFCLCollisionObject *>(entity));
22  break;
23  default:
24  return nullptr;
25  break;
26  }
27 }
28 } // namespace solverFCL
29 } // namespace solvers
30 } // namespace collision
virtual FCL_COLLISION_ENTITY_TYPE getFclEntityType(void) const
SolverEntity_FCL * createFCLSolverEntity(const CollisionObjectEx *obj)
Base class for CollisionObjects and some of their groups.