NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgEmptyGround Class Reference

#include <tgEmptyGround.h>

Inheritance diagram for tgEmptyGround:
Collaboration diagram for tgEmptyGround:

Public Member Functions

 tgEmptyGround ()
 
virtual ~tgEmptyGround ()
 
virtual btRigidBody * getGroundRigidBody () const
 
btCollisionShape *const getCollisionShape () const
 

Protected Attributes

btCollisionShape * pGroundShape
 

Detailed Description

An empty ground implementation. tgWorldBulletPhysicsImpl checks if this class is present with a tgCast call, and skips calling getGroundRigidBody if it is.

Definition at line 39 of file tgEmptyGround.h.

Constructor & Destructor Documentation

tgEmptyGround::tgEmptyGround ( )

Default construction that uses the default values of config Does nothing

Definition at line 35 of file tgEmptyGround.cpp.

virtual tgEmptyGround::~tgEmptyGround ( )
inlinevirtual

Clean up the implementation. The base class holds nothing.

Definition at line 50 of file tgEmptyGround.h.

Member Function Documentation

btCollisionShape *const tgBulletGround::getCollisionShape ( ) const
inherited

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.

btRigidBody * tgEmptyGround::getGroundRigidBody ( ) const
virtual

This should never be called. Will fail an assertation

Todo:
consider making it an exception instead.

Implements tgBulletGround.

Definition at line 41 of file tgEmptyGround.cpp.


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