Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
fcl_collision_object_wrapper.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_COLLISION_FCL_COLLISION_OBJECT_WRAPPER_H
27#define TESSERACT_COLLISION_FCL_COLLISION_OBJECT_WRAPPER_H
28
31#include <fcl/narrowphase/collision_object-inl.h>
32#include <memory>
34
36{
42class FCLCollisionObjectWrapper : public fcl::CollisionObject<double>
43{
44public:
45 using fcl::CollisionObject<double>::CollisionObject;
46
53 void setContactDistanceThreshold(double contact_distance);
54
59 double getContactDistanceThreshold() const;
60
66 void updateAABB();
67
68protected:
69 double contact_distance_{ 0 };
70};
71
72} // namespace tesseract_collision::tesseract_collision_fcl
73
74#endif // TESSERACT_COLLISION_FCL_COLLISION_OBJECT_WRAPPER_H
This is a wrapper around FCL Collision Object Class which allows you to expand the AABB by the contac...
Definition: fcl_collision_object_wrapper.h:43
void setContactDistanceThreshold(double contact_distance)
Set the collision objects contact distance threshold.
Definition: fcl_collision_object_wrapper.cpp:31
double contact_distance_
The contact distance threshold.
Definition: fcl_collision_object_wrapper.h:69
void updateAABB()
Update the internal AABB. This must be called instead of the base class computeAABB().
Definition: fcl_collision_object_wrapper.cpp:39
double getContactDistanceThreshold() const
Get the collision objects contact distance threshold.
Definition: fcl_collision_object_wrapper.cpp:37
Common Tesseract Macros.
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: fcl_collision_object_wrapper.h:36