![]() |
Tesseract 0.28.4
|
This is a tesseract bullet collsion object. More...
#include <bullet_utils.h>

Public Types | |
| using | Ptr = std::shared_ptr<CollisionObjectWrapper> |
| using | ConstPtr = std::shared_ptr<const CollisionObjectWrapper> |
Public Member Functions | |
| CollisionObjectWrapper (tesseract::common::LinkId id, const int &type_id, CollisionShapesConst shapes, tesseract::common::VectorIsometry3d shape_poses) | |
| const tesseract::common::LinkId & | getLinkId () const |
| Get the collision object id. | |
| const int & | getTypeID () const |
| Get a user defined type. | |
| bool | sameObject (const CollisionObjectWrapper &other) const |
| Check if two CollisionObjectWrapper objects point to the same source object. | |
| const CollisionShapesConst & | getCollisionGeometries () const |
| const tesseract::common::VectorIsometry3d & | getCollisionGeometriesTransforms () const |
| void | getAABB (btVector3 &aabb_min, btVector3 &aabb_max) const |
| Get the collision object's axis aligned bounding box This AABB is extended by half of the contact processing threshold, so the broadphase takes the full contact processing threshold into account when testing for the overlap of two AABBs. | |
| std::shared_ptr< CollisionObjectWrapper > | clone () |
| This clones the collision objects but not the collision shape wich is const. | |
| void | manage (const std::shared_ptr< BulletCollisionShape > &t) |
| void | manageReserve (std::size_t s) |
Protected Attributes | |
| tesseract::common::LinkId | m_link_id |
| The id of the collision object. | |
| int | m_type_id { -1 } |
| A user defined type id. | |
| CollisionShapesConst | m_shapes |
| The shapes poses information. | |
| tesseract::common::VectorIsometry3d | m_shape_poses |
| std::vector< std::shared_ptr< BulletCollisionShape > > | m_data |
| This manages the collision shape pointer so they get destroyed. | |
This is a tesseract bullet collsion object.
It is a wrapper around bullet's collision object which contains specific information related to tesseract
| void tesseract::collision::bullet_internal::CollisionObjectWrapper::getAABB | ( | btVector3 & | aabb_min, |
| btVector3 & | aabb_max ) const |
Get the collision object's axis aligned bounding box This AABB is extended by half of the contact processing threshold, so the broadphase takes the full contact processing threshold into account when testing for the overlap of two AABBs.
| aabb_min | The minimum point |
| aabb_max | The maximum point |
| std::shared_ptr< CollisionObjectWrapper > tesseract::collision::bullet_internal::CollisionObjectWrapper::clone | ( | ) |
This clones the collision objects but not the collision shape wich is const.