NTRT Simulator
 All Classes Files Functions Variables Typedefs Friends Pages
tgBulletRenderer Class Reference

#include <tgBulletRenderer.h>

Inheritance diagram for tgBulletRenderer:
Collaboration diagram for tgBulletRenderer:

Public Member Functions

 tgBulletRenderer (tgWorld &world)
 
virtual void render (const tgLinearString &linString) const
 
virtual void render (const tgRod &rod) const
 
virtual void render (const tgModel &model) const
 

Detailed Description

A concrete tgRenderer for Bullet Physics.

Definition at line 42 of file tgBulletRenderer.h.

Constructor & Destructor Documentation

tgBulletRenderer::tgBulletRenderer ( tgWorld world)

The only constructor.

Parameters
[in,out]worlda reference to the tgWorld being rendered
Todo:
Make the world const.

Definition at line 42 of file tgBulletRenderer.cpp.

Member Function Documentation

void tgBulletRenderer::render ( const tgLinearString linString) const
virtual

Render a tgLinearString.

Parameters
[in]linearStringa const reference to a tgLinearString to render

Reimplemented from tgModelVisitor.

Definition at line 51 of file tgBulletRenderer.cpp.

Here is the call graph for this function:

void tgBulletRenderer::render ( const tgRod rod) const
virtual

Render a tgRod.

Parameters
[in]roda const reference to a tgRod to render

Reimplemented from tgModelVisitor.

Definition at line 46 of file tgBulletRenderer.cpp.

void tgBulletRenderer::render ( const tgModel model) const
virtual

Render a tgModel.

Parameters
[in]modela const reference to a tgModel to render.

Reimplemented from tgModelVisitor.

Definition at line 80 of file tgBulletRenderer.cpp.


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