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]

Public Member Functions

void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const override
 
void calculateLocalInertia (btScalar, btVector3 &) const override
 
 CastHullShape (btConvexShape *shape, const btTransform &t01)
 
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...
 
void getAabbSlow (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const override
 
const btVector3 & getLocalScaling () const override
 
btScalar getMargin () const override
 
const char * getName () const override
 
int getNumPreferredPenetrationDirections () const override
 
void getPreferredPenetrationDirection (int index, btVector3 &penetrationVector) const override
 
btVector3 localGetSupportingVertex (const btVector3 &vec) const override
 
btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &v) const override
 
void setLocalScaling (const btVector3 &scaling) override
 
void setMargin (btScalar margin) override
 
void updateCastTransform (const btTransform &t01)
 

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.

Definition at line 155 of file bullet_utils.h.

Constructor & Destructor Documentation

◆ CastHullShape()

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

Definition at line 560 of file bullet_utils.cpp.

Member Function Documentation

◆ batchedUnitVectorGetSupportingVertexWithoutMargin()

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

Definition at line 591 of file bullet_utils.cpp.

◆ calculateLocalInertia()

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

Definition at line 633 of file bullet_utils.cpp.

◆ 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

Definition at line 574 of file bullet_utils.cpp.

◆ getAabbSlow()

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

Definition at line 600 of file bullet_utils.cpp.

◆ getLocalScaling()

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

Definition at line 614 of file bullet_utils.cpp.

◆ getMargin()

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

Definition at line 622 of file bullet_utils.cpp.

◆ getName()

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

Definition at line 583 of file bullet_utils.cpp.

◆ getNumPreferredPenetrationDirections()

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

Definition at line 624 of file bullet_utils.cpp.

◆ getPreferredPenetrationDirection()

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

Definition at line 626 of file bullet_utils.cpp.

◆ localGetSupportingVertex()

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

Definition at line 566 of file bullet_utils.cpp.

◆ localGetSupportingVertexWithoutMargin()

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

Definition at line 584 of file bullet_utils.cpp.

◆ setLocalScaling()

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

Definition at line 607 of file bullet_utils.cpp.

◆ setMargin()

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

Definition at line 620 of file bullet_utils.cpp.

◆ updateCastTransform()

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

Definition at line 565 of file bullet_utils.cpp.

Member Data Documentation

◆ m_shape

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

Definition at line 158 of file bullet_utils.h.

◆ m_t01

btTransform tesseract_collision::tesseract_collision_bullet::CastHullShape::m_t01

Definition at line 159 of file bullet_utils.h.


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


tesseract_collision
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:53