Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tesseract_collision::tesseract_collision_bullet::CastHullShape Struct Reference

This is a casted collision shape used for checking if an object is collision free between two transforms. More...

#include <bullet_utils.h>

Inheritance diagram for tesseract_collision::tesseract_collision_bullet::CastHullShape:
Inheritance graph
[legend]
Collaboration diagram for tesseract_collision::tesseract_collision_bullet::CastHullShape:
Collaboration graph
[legend]

Public Member Functions

 CastHullShape (btConvexShape *shape, const btTransform &t01)
 
void updateCastTransform (const btTransform &t01)
 
btVector3 localGetSupportingVertex (const btVector3 &vec) const override
 
void getAabb (const btTransform &t_w0, btVector3 &aabbMin, btVector3 &aabbMax) const override
 getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version More...
 
const char * getName () const override
 
btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &v) const override
 
void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const override
 
void getAabbSlow (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const override
 
void setLocalScaling (const btVector3 &scaling) override
 
const btVector3 & getLocalScaling () const override
 
void setMargin (btScalar margin) override
 
btScalar getMargin () const override
 
int getNumPreferredPenetrationDirections () const override
 
void getPreferredPenetrationDirection (int index, btVector3 &penetrationVector) const override
 
void calculateLocalInertia (btScalar, btVector3 &) const override
 

Public Attributes

btConvexShape * m_shape
 
btTransform m_t01
 

Detailed Description

This is a casted collision shape used for checking if an object is collision free between two transforms.

Constructor & Destructor Documentation

◆ CastHullShape()

tesseract_collision::tesseract_collision_bullet::CastHullShape::CastHullShape ( btConvexShape *  shape,
const btTransform &  t01 
)

Member Function Documentation

◆ batchedUnitVectorGetSupportingVertexWithoutMargin()

void tesseract_collision::tesseract_collision_bullet::CastHullShape::batchedUnitVectorGetSupportingVertexWithoutMargin ( const btVector3 *  vectors,
btVector3 *  supportVerticesOut,
int  numVectors 
) const
override

◆ calculateLocalInertia()

void tesseract_collision::tesseract_collision_bullet::CastHullShape::calculateLocalInertia ( btScalar  ,
btVector3 &   
) const
override

◆ getAabb()

void tesseract_collision::tesseract_collision_bullet::CastHullShape::getAabb ( const btTransform &  t_w0,
btVector3 &  aabbMin,
btVector3 &  aabbMax 
) const
override

getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version

◆ getAabbSlow()

void tesseract_collision::tesseract_collision_bullet::CastHullShape::getAabbSlow ( const btTransform &  t,
btVector3 &  aabbMin,
btVector3 &  aabbMax 
) const
override

◆ getLocalScaling()

const btVector3 & tesseract_collision::tesseract_collision_bullet::CastHullShape::getLocalScaling ( ) const
override

◆ getMargin()

btScalar tesseract_collision::tesseract_collision_bullet::CastHullShape::getMargin ( ) const
override

◆ getName()

const char * tesseract_collision::tesseract_collision_bullet::CastHullShape::getName ( ) const
override

◆ getNumPreferredPenetrationDirections()

int tesseract_collision::tesseract_collision_bullet::CastHullShape::getNumPreferredPenetrationDirections ( ) const
override

◆ getPreferredPenetrationDirection()

void tesseract_collision::tesseract_collision_bullet::CastHullShape::getPreferredPenetrationDirection ( int  index,
btVector3 &  penetrationVector 
) const
override

◆ localGetSupportingVertex()

btVector3 tesseract_collision::tesseract_collision_bullet::CastHullShape::localGetSupportingVertex ( const btVector3 &  vec) const
override

◆ localGetSupportingVertexWithoutMargin()

btVector3 tesseract_collision::tesseract_collision_bullet::CastHullShape::localGetSupportingVertexWithoutMargin ( const btVector3 &  v) const
override

◆ setLocalScaling()

void tesseract_collision::tesseract_collision_bullet::CastHullShape::setLocalScaling ( const btVector3 &  scaling)
override

◆ setMargin()

void tesseract_collision::tesseract_collision_bullet::CastHullShape::setMargin ( btScalar  margin)
override

◆ updateCastTransform()

void tesseract_collision::tesseract_collision_bullet::CastHullShape::updateCastTransform ( const btTransform &  t01)

Member Data Documentation

◆ m_shape

btConvexShape* tesseract_collision::tesseract_collision_bullet::CastHullShape::m_shape

◆ m_t01

btTransform tesseract_collision::tesseract_collision_bullet::CastHullShape::m_t01

The documentation for this struct was generated from the following files: