![]() |
Tesseract 0.28.4
|
This is a wrapper around FCL Collision Object Class which allows you to expand the AABB by the contact dist. More...
#include <fcl_collision_object_wrapper.h>

Public Member Functions | |
| void | setContactDistanceThreshold (double contact_distance) |
| Set the collision objects contact distance threshold. | |
| double | getContactDistanceThreshold () const |
| Get the collision objects contact distance threshold. | |
| void | updateAABB () |
| Update the internal AABB. This must be called instead of the base class computeAABB(). | |
| void | setShapeIndex (int index) |
| Set the shape index. This is the geometries index in the urdf. | |
| int | getShapeIndex () const |
| Get the shape index. This is the geometries index in the urdf. | |
Protected Attributes | |
| double | contact_distance_ { 0 } |
| The contact distance threshold. | |
| int | shape_index_ { -1 } |
| The shape index, which is the geometries index in the urdf. | |
This is a wrapper around FCL Collision Object Class which allows you to expand the AABB by the contact dist.
This significantly improves performance when making distance requests if performing a contact tests type FIRST.
| void tesseract::collision::fcl_internal::FCLCollisionObjectWrapper::setContactDistanceThreshold | ( | double | contact_distance | ) |
Set the collision objects contact distance threshold.
This automatically calls updateAABB() which increases the AABB by the contact distance.
| contact_distance | The contact distance threshold. |
| double tesseract::collision::fcl_internal::FCLCollisionObjectWrapper::getContactDistanceThreshold | ( | ) | const |
Get the collision objects contact distance threshold.
| void tesseract::collision::fcl_internal::FCLCollisionObjectWrapper::updateAABB | ( | ) |
Update the internal AABB. This must be called instead of the base class computeAABB().
After setting the collision objects transform this must be called.
| void tesseract::collision::fcl_internal::FCLCollisionObjectWrapper::setShapeIndex | ( | int | index | ) |
Set the shape index. This is the geometries index in the urdf.
| index | The index |
| int tesseract::collision::fcl_internal::FCLCollisionObjectWrapper::getShapeIndex | ( | ) | const |
Get the shape index. This is the geometries index in the urdf.