NTRT Simulator
v1.1
|
#include <tgBulletGround.h>
Inherits tgGround.
Inherited by tgBoxGround, tgCraterGround, tgEmptyGround, tgHillyGround, and tgPlaneGround.
Public Member Functions | |
tgBulletGround () | |
virtual | ~tgBulletGround () |
virtual btRigidBody * | getGroundRigidBody () const =0 |
btCollisionShape *const | getCollisionShape () const |
Protected Attributes | |
btCollisionShape * | pGroundShape |
Abstract base class that defines the parameters required for ground used by Bullet Physics Implementations
Definition at line 39 of file tgBulletGround.h.
tgBulletGround::tgBulletGround | ( | ) |
The only constructor. The base class initializes nothing.
[in] | config | configuration POD |
Definition at line 35 of file tgBulletGround.cpp.
|
virtual |
Clean up the implementation. Deletes the collision object
Definition at line 43 of file tgBulletGround.cpp.
btCollisionShape *const tgBulletGround::getCollisionShape | ( | ) | const |
Returns a pointer to the collision shape for the list of collision objects in tgWorldBulletPhysicsImpl Collision shape must not be null
Definition at line 48 of file tgBulletGround.cpp.
|
pure virtual |
Returns the rigid body to the bullet physics implementation
Implemented in tgHillyGround, tgBoxGround, tgCraterGround, tgPlaneGround, and tgEmptyGround.