NTRT Simulator  Version: Master
 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 tgCompressionSpringActuator &compressionSpringActuator) 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 ( const tgWorld world)

The only constructor.

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

Definition at line 51 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 63 of file tgBulletRenderer.cpp.

void tgBulletRenderer::render ( const tgCompressionSpringActuator mCSA) const
virtual

Render a tgCompressionSpringActuator.

Parameters
[in]compressionSpringActuatora const reference to a tgCompressionSpringActuator to render

Render a tgCompressionSpringActuator Just like a spring-cable actuator.

Reimplemented from tgModelVisitor.

Definition at line 104 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 55 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 179 of file tgBulletRenderer.cpp.

Here is the call graph for this function:


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