The btEmptyShape is a collision shape without actual collision detection shape, so most users should ignore this class. More...
#include <btEmptyShape.h>
Public Member Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btEmptyShape () | |
virtual | ~btEmptyShape () |
void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version | |
virtual void | setLocalScaling (const btVector3 &scaling) |
virtual const btVector3 & | getLocalScaling () const |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
virtual const char * | getName () const |
virtual void | processAllTriangles (btTriangleCallback *, const btVector3 &, const btVector3 &) const |
Protected Attributes | |
btVector3 | m_localScaling |
The btEmptyShape is a collision shape without actual collision detection shape, so most users should ignore this class.
It can be replaced by another shape during runtime, but the inertia tensor should be recomputed.
Definition at line 31 of file btEmptyShape.h.
btEmptyShape::btEmptyShape | ( | ) |
Definition at line 22 of file btEmptyShape.cpp.
btEmptyShape::~btEmptyShape | ( | ) | [virtual] |
Definition at line 28 of file btEmptyShape.cpp.
btEmptyShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
Reimplemented from btConcaveShape.
Implements btCollisionShape.
Definition at line 44 of file btEmptyShape.cpp.
void btEmptyShape::getAabb | ( | const btTransform & | t, | |
btVector3 & | aabbMin, | |||
btVector3 & | aabbMax | |||
) | const [virtual] |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
Implements btCollisionShape.
Definition at line 34 of file btEmptyShape.cpp.
virtual const btVector3& btEmptyShape::getLocalScaling | ( | ) | const [inline, virtual] |
Implements btCollisionShape.
Definition at line 49 of file btEmptyShape.h.
virtual const char* btEmptyShape::getName | ( | ) | const [inline, virtual] |
Implements btCollisionShape.
Definition at line 56 of file btEmptyShape.h.
virtual void btEmptyShape::processAllTriangles | ( | btTriangleCallback * | , | |
const btVector3 & | , | |||
const btVector3 & | ||||
) | const [inline, virtual] |
Implements btConcaveShape.
Definition at line 61 of file btEmptyShape.h.
virtual void btEmptyShape::setLocalScaling | ( | const btVector3 & | scaling | ) | [inline, virtual] |
Implements btCollisionShape.
Definition at line 45 of file btEmptyShape.h.
btVector3 btEmptyShape::m_localScaling [protected] |
Definition at line 66 of file btEmptyShape.h.