|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_SG_FCL_SCENE_H
28 #define RL_SG_FCL_SCENE_H
30 #include <unordered_map>
31 #include <fcl/collision.h>
32 #include <fcl/broadphase/broadphase.h>
34 #include "../DepthScene.h"
35 #include "../DistanceScene.h"
36 #include "../SimpleScene.h"
84 ::fcl::DynamicAABBTreeCollisionManager
manager;
99 const ::std::unordered_map< ::fcl::CollisionObject*, Body*>&
bodyForObj;
118 const ::std::unordered_map< ::fcl::CollisionObject*, Body*>&
bodyForObj;
129 static bool defaultDistanceFunction(::fcl::CollisionObject* o1, ::fcl::CollisionObject* o2,
void* data, ::fcl::FCL_REAL& dist);
131 ::std::unordered_map< ::fcl::CollisionObject*, Body*>
bodyForObj;
137 #endif // RL_SG_FCL_SCENE_H
Definition: DistanceScene.h:44
Scene()
Definition: Scene.cpp:46
bool isColliding()
Definition: Scene.cpp:313
bool areColliding(::rl::sg::Body *first, ::rl::sg::Body *second)
Definition: Scene.cpp:85
static bool defaultDistanceFunction(::fcl::CollisionObject *o1, ::fcl::CollisionObject *o2, void *data, ::fcl::FCL_REAL &dist)
Definition: Scene.cpp:159
CollisionData(const ::std::unordered_map< ::fcl::CollisionObject *, Body * > &bodyForObj)
Definition: Scene.h:91
::fcl::DynamicAABBTreeCollisionManager manager
Definition: Scene.h:84
static bool defaultCollisionFunction(::fcl::CollisionObject *o1, ::fcl::CollisionObject *o2, void *data)
Definition: Scene.cpp:132
bool done
Definition: Scene.h:120
::fcl::DistanceResult result
Definition: Scene.h:124
::Eigen::Matrix< Real, 3, 1 > Vector3
Definition: Vector.h:46
::rl::sg::Model * create()
Definition: Scene.cpp:126
const ::std::unordered_map< ::fcl::CollisionObject *, Body * > & bodyForObj
Definition: Scene.h:99
virtual ~Scene()
Definition: Scene.cpp:55
void add(::rl::sg::Model *model)
Definition: Scene.cpp:64
::fcl::CollisionRequest request
Definition: Scene.h:103
::fcl::DistanceRequest request
Definition: Scene.h:122
::rl::math::Real distance(::rl::sg::Body *first, ::rl::sg::Body *second, ::rl::math::Vector3 &point1, ::rl::math::Vector3 &point2)
Definition: Scene.cpp:220
::std::unordered_map< ::fcl::CollisionObject *, Body * > bodyForObj
Definition: Scene.h:131
void removeCollisionObject(::fcl::CollisionObject *collisionObject)
Definition: Scene.cpp:340
void addCollisionObject(::fcl::CollisionObject *collisionObject, Body *body)
Definition: Scene.cpp:78
::rl::math::Real depth(::rl::sg::Shape *first, ::rl::sg::Shape *second, ::rl::math::Vector3 &point1, ::rl::math::Vector3 &point2)
Definition: Scene.cpp:191
bool done
Definition: Scene.h:101
DistanceData(const ::std::unordered_map< ::fcl::CollisionObject *, Body * > &bodyForObj)
Definition: Scene.h:110
const ::std::unordered_map< ::fcl::CollisionObject *, Body * > & bodyForObj
Definition: Scene.h:118
::fcl::CollisionResult result
Definition: Scene.h:105
Definition: DepthScene.h:42
double Real
Definition: Real.h:42
Definition: SimpleScene.h:41
void remove(::rl::sg::Model *model)
Definition: Scene.cpp:322
Robotics Library.
Definition: AnalogInput.cpp:30