NTRT Simulator  v1.1
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgBulletRenderer Class Reference

#include <tgBulletRenderer.h>

Inheritance diagram for tgBulletRenderer:
Collaboration diagram for tgBulletRenderer:

Public Member Functions

 tgBulletRenderer (const tgWorld &world)
 
virtual void render (const tgSpringCableActuator &mSCA) 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 41 of file tgBulletRenderer.h.

Constructor & Destructor Documentation

tgBulletRenderer::tgBulletRenderer ( const tgWorld world)

The only constructor.

Parameters
[in,out]worlda reference to the tgWorld being rendered

Definition at line 49 of file tgBulletRenderer.cpp.

Member Function Documentation

void tgBulletRenderer::render ( const tgSpringCableActuator mSCA) const
virtual

Render a tgSpringCableActuator.

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

Reimplemented from tgModelVisitor.

Definition at line 61 of file tgBulletRenderer.cpp.

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 53 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.

Render the markers of the model using spheres.

Reimplemented from tgModelVisitor.

Definition at line 98 of file tgBulletRenderer.cpp.

Here is the call graph for this function:


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