Public Member Functions | Protected Attributes
btEmptyShape Class Reference

#include <btEmptyShape.h>

Inheritance diagram for btEmptyShape:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 btEmptyShape ()
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
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 const btVector3 & getLocalScaling () const
virtual const char * getName () const
virtual void processAllTriangles (btTriangleCallback *, const btVector3 &, const btVector3 &) const
virtual void setLocalScaling (const btVector3 &scaling)
virtual ~btEmptyShape ()

Protected Attributes

btVector3 m_localScaling

Detailed Description

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.


Constructor & Destructor Documentation

virtual btEmptyShape::~btEmptyShape ( ) [virtual]

Member Function Documentation

virtual void btEmptyShape::calculateLocalInertia ( btScalar  mass,
btVector3 &  inertia 
) const [virtual]

Implements btCollisionShape.

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.

virtual const btVector3& btEmptyShape::getLocalScaling ( ) const [inline, virtual]

Implements btCollisionShape.

Definition at line 47 of file btEmptyShape.h.

virtual const char* btEmptyShape::getName ( ) const [inline, virtual]

Implements btCollisionShape.

Definition at line 54 of file btEmptyShape.h.

virtual void btEmptyShape::processAllTriangles ( btTriangleCallback ,
const btVector3 &  ,
const btVector3 &   
) const [inline, virtual]

Implements btConcaveShape.

Definition at line 59 of file btEmptyShape.h.

virtual void btEmptyShape::setLocalScaling ( const btVector3 &  scaling) [inline, virtual]

Implements btCollisionShape.

Definition at line 43 of file btEmptyShape.h.


Member Data Documentation

btVector3 btEmptyShape::m_localScaling [protected]

Definition at line 64 of file btEmptyShape.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32