NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgBulletGround Class Referenceabstract

#include <tgBulletGround.h>

Inherits tgGround.

Inherited by tgBoxGround, tgCraterGround, tgEmptyGround, tgHillyGround, and tgPlaneGround.

Collaboration diagram for tgBulletGround:

Public Member Functions

 tgBulletGround ()
virtual ~tgBulletGround ()
virtual btRigidBody * getGroundRigidBody () const =0
btCollisionShape *const getCollisionShape () const

Protected Attributes

btCollisionShape * pGroundShape

Detailed Description

Abstract base class that defines the parameters required for ground used by Bullet Physics Implementations

Definition at line 39 of file tgBulletGround.h.

Constructor & Destructor Documentation

tgBulletGround::tgBulletGround ( )

The only constructor. The base class initializes nothing.

[in]configconfiguration POD

Definition at line 35 of file tgBulletGround.cpp.

tgBulletGround::~tgBulletGround ( )

Clean up the implementation. Deletes the collision object

Definition at line 43 of file tgBulletGround.cpp.

Member Function Documentation

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.

virtual btRigidBody* tgBulletGround::getGroundRigidBody ( ) const
pure virtual

Returns the rigid body to the bullet physics implementation

Implemented in tgHillyGround, tgBoxGround, tgCraterGround, tgPlaneGround, and tgEmptyGround.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: