38 #include "btBulletDynamicsCommon.h"
111 const btVector3&
getNode()
const {
return m_node; }
133 virtual double getMass()
const;
154 const btVector3& destinationPoint)
const;
167 const btVector3& destinationPoint,
168 const double rotation)
const;
199 return (
getNode() == nodeVector);
234 os <<
"tgSphereInfo(" << sphere.
getNode() <<
")";
Definition of abstract class tgRigidInfo.
virtual btTransform getTransform() const
const btVector3 & getNode() const
virtual bool containsNode(const btVector3 &nodeVector) const
Contains the definition of class tgSphere.
tgSphereInfo(const tgSphere::Config &config)
virtual void initRigidBody(tgWorld &world)
virtual btVector3 getCenterOfMass() const
tgRigidInfo * createRigidInfo(const tgNode &node)
virtual btCollisionShape * getCollisionShape(tgWorld &world) const
const tgSphere::Config & getConfig() const
virtual double getMass() const
std::ostream & operator<<(std::ostream &os, const tgSphereInfo &sphere)
Definition of class tgNode.
static btTransform getTransform(const btVector3 &startOrientation, const btVector3 &start, const btVector3 &end)
virtual std::set< tgRigidInfo * > getLeafRigids()
virtual btVector3 getConnectionPoint(const btVector3 &referencePoint, const btVector3 &destinationPoint) const
virtual tgCompoundRigidInfo * getCompound()
Contains the definition of class tgUtil and overloaded operator<<() free functions.
virtual std::set< btVector3 > getContainedNodes() const
virtual const tgCompoundRigidInfo * getCompound() const