NTRT Simulator
v1.1
|
#include <tgBulletRenderer.h>
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 |
A concrete tgRenderer for Bullet Physics.
Definition at line 41 of file tgBulletRenderer.h.
tgBulletRenderer::tgBulletRenderer | ( | const tgWorld & | world | ) |
The only constructor.
[in,out] | world | a reference to the tgWorld being rendered |
Definition at line 49 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgSpringCableActuator.
[in] | linearString | a const reference to a tgSpringCableActuator to render |
Reimplemented from tgModelVisitor.
Definition at line 61 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgRod.
[in] | rod | a const reference to a tgRod to render |
Reimplemented from tgModelVisitor.
Definition at line 53 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgModel.
[in] | model | a 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.