![]() |
Tesseract 0.28.4
|
Bullet collision shape that queries a Tesseract SignedDistanceField directly. More...
#include <tesseract/common/macros.h>#include <BulletCollision/BroadphaseCollision/btBroadphaseProxy.h>#include <cmath>#include <stdexcept>#include <tesseract/collision/bullet/bullet_utils.h>#include <tesseract/collision/bullet/tesseract_sdf_collision_shape.h>Functions | |
| ImplicitSDFShape | tesseract::collision::bullet_internal::makeImplicitSdfShape (const btCollisionShape &shape, const btTransform &world_transform) |
The implicit solver's view of a Bullet SDF shape (SDF_SHAPE_PROXYTYPE) placed at world_transform, which must be a TesseractSdfCollisionShape. | |
| bool | tesseract::collision::bullet_internal::querySdfShapeContact (const btCollisionShape &shape, const btVector3 &local_point, btScalar max_distance, btScalar &distance, btVector3 &normal) |
Distance and normal at a point in an SDF shape's frame, but only if the distance is within max_distance (a contact threshold): the distance is read first and the normal only for points that pass. shape must be a TesseractSdfCollisionShape. | |
| bool | tesseract::collision::bullet_internal::querySdfShapePoint (const btCollisionShape &shape, const btVector3 &local_point, btScalar &distance, btVector3 &normal) |
Distance and normal at a point in an SDF shape's frame. shape must be a TesseractSdfCollisionShape. | |
Bullet collision shape that queries a Tesseract SignedDistanceField directly.
| ImplicitSDFShape tesseract::collision::bullet_internal::makeImplicitSdfShape | ( | const btCollisionShape & | shape, |
| const btTransform & | world_transform ) |
The implicit solver's view of a Bullet SDF shape (SDF_SHAPE_PROXYTYPE) placed at world_transform, which must be a TesseractSdfCollisionShape.
The shape must outlive the result.
| bool tesseract::collision::bullet_internal::querySdfShapeContact | ( | const btCollisionShape & | shape, |
| const btVector3 & | local_point, | ||
| btScalar | max_distance, | ||
| btScalar & | distance, | ||
| btVector3 & | normal ) |
Distance and normal at a point in an SDF shape's frame, but only if the distance is within max_distance (a contact threshold): the distance is read first and the normal only for points that pass. shape must be a TesseractSdfCollisionShape.
max_distance | bool tesseract::collision::bullet_internal::querySdfShapePoint | ( | const btCollisionShape & | shape, |
| const btVector3 & | local_point, | ||
| btScalar & | distance, | ||
| btVector3 & | normal ) |
Distance and normal at a point in an SDF shape's frame. shape must be a TesseractSdfCollisionShape.