19 #ifndef TG_COMPOUND_RIGID_INFO_H
20 #define TG_COMPOUND_RIGID_INFO_H
33 #include "btBulletDynamicsCommon.h"
107 virtual double getMass()
const;
125 virtual void setRigidBody(btRigidBody*
const rigidBody);
158 const btVector3& )
const
161 return referencePoint;
190 virtual bool containsNode(
const btVector3& nodeVector)
const;
Definition of abstract class tgRigidInfo.
std::vector< tgRigidInfo * > m_rigids
virtual bool containsNode(const btVector3 &nodeVector) const
virtual btRigidBody * getRigidBody()
virtual bool sharesNodesWith(const tgRigidInfo &other) const
Contains the definition of class tgWorldBulletPhysicsImpl.
virtual ~tgCompoundRigidInfo()
virtual btVector3 getConnectionPoint(const btVector3 &referencePoint, const btVector3 &) const
virtual const tgCompoundRigidInfo * getCompound() const
virtual double getMass() const
std::set< btVector3 > getContainedNodes() const
virtual btCollisionObject * getCollisionObject()
virtual btVector3 getCenterOfMass() const
virtual void setCollisionObject(btCollisionObject *collisionObject)
virtual btTransform getTransform() const
btCollisionObject * m_collisionObject
virtual void setRigidBody(btRigidBody *const rigidBody)
virtual std::set< tgRigidInfo * > getLeafRigids()
void addRigid(tgRigidInfo &rigid)
virtual const btCollisionObject * getCollisionObject() const
virtual tgCompoundRigidInfo * getCompound()
btCompoundShape * m_compoundShape
virtual btCollisionShape * getCollisionShape(tgWorld &world) const
btCompoundShape * createCompoundShape(tgWorld &world) const