Blender  V3.3
Functions | Variables
btEmptyShape.h File Reference
#include "btConcaveShape.h"
#include "LinearMath/btVector3.h"
#include "LinearMath/btTransform.h"
#include "LinearMath/btMatrix3x3.h"
#include "btCollisionMargin.h"

Go to the source code of this file.

Functions

 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 More...
 
virtual void setLocalScaling (const btVector3 &scaling)
 in case we receive negative scaling More...
 
virtual const btVector3getLocalScaling () const
 
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
 CollisionShape Interface. More...
 
virtual const char * getName () const
 
virtual void processAllTriangles (btTriangleCallback *, const btVector3 &, const btVector3 &) const
 

Variables

btEmptyShape __pad0__
 
btVector3 m_localScaling
 

Function Documentation

◆ btEmptyShape()

btEmptyShape::btEmptyShape ( )

Definition at line 20 of file btEmptyShape.cpp.

References EMPTY_SHAPE_PROXYTYPE.

◆ calculateLocalInertia()

virtual void calculateLocalInertia ( btScalar  mass,
btVector3 inertia 
) const
virtual

CollisionShape Interface.

Definition at line 54 of file btConeShape.h.

◆ getAabb()

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

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

getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.

Definition at line 54 of file btCapsuleShape.h.

◆ getLocalScaling()

virtual const btVector3& getLocalScaling ( ) const
virtual

Definition at line 45 of file btEmptyShape.h.

References m_localScaling.

Referenced by setOptimizedBvh().

◆ getName()

virtual const char* getName ( ) const
virtual

Definition at line 52 of file btEmptyShape.h.

◆ processAllTriangles()

virtual void processAllTriangles ( btTriangleCallback callback,
const btVector3 aabbMin,
const btVector3 aabbMax 
) const
virtual

Definition at line 57 of file btEmptyShape.h.

◆ setLocalScaling()

virtual void setLocalScaling ( const btVector3 scaling)
virtual

in case we receive negative scaling

Definition at line 41 of file btEmptyShape.h.

References m_localScaling.

◆ ~btEmptyShape()

btEmptyShape::~btEmptyShape ( )
virtual

Definition at line 25 of file btEmptyShape.cpp.

Variable Documentation

◆ __pad0__

btEmptyShape __pad0__

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 29 of file btEmptyShape.h.

◆ m_localScaling

btVector3 m_localScaling
protected

Definition at line 62 of file btEmptyShape.h.

Referenced by getLocalScaling(), and setLocalScaling().